/* Michel Labardin 2026 - Styles principaux */

:root {
  --corail: #F2684E;
  --orange-clair: #F5A080;
  --vert: #8DC73F;
  --bleu: #5C9FC0;
  --beige: #FEEBD1;
  --vert-clair: #E5F0D4;
  --bleu-clair: #DAE5EE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

/* HEADER */

header {
  position: fixed;
  width: 100%;
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

header.is-sticky {
  padding: 10px 8%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo img {
  display: block;
  max-height: 80px;
  width: auto;
  transition: max-height 0.25s ease;
}

header.is-sticky .logo img {
  max-height: 48px;
}

.logo-text {
  font-weight: 700;
  color: var(--corail);
  font-size: 1.35rem;
  white-space: nowrap;
  transition: font-size 0.25s ease;
}

header.is-sticky .logo-text {
  font-size: 1.05rem;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

/* HERO */

.hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 104, 78, 0.2);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  margin-top: 58px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero .btn {
  padding: 18px 36px;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero .btn .btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.hero .btn .btn-icon svg,
.hero .btn .btn-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.btn {
  padding: 14px 28px;
  background: white;
  color: var(--corail);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #fff5f3;
}

/* GRANDE RÉUNION PUBLIQUE */

.reunion-section {
  background: var(--corail);
  color: white;
  padding: 60px 10%;
  text-align: center;
}

.reunion-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.75rem;
}

.reunion-inner {
  max-width: 980px;
  margin: 0 auto;
}

.reunion-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.reunion-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.reunion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.reunion-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.reunion-value {
  font-size: 1.15rem;
  font-weight: 600;
}

.reunion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.reunion-btn {
  background: white;
  color: var(--corail);
}

.reunion-btn:hover {
  background: var(--beige);
}

@media (max-width: 768px) {
  .reunion-section {
    padding: 50px 6%;
  }

  .reunion-details {
    gap: 1.5rem;
  }
}

/* SECTIONS */

section {
  padding: 100px 10%;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

/* PILIERS */

.pilier-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pilier {
  position: relative;
  padding: 40px;
  border-radius: 15px;
  color: white;
  transition: 0.3s;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pilier::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 15px;
}

.pilier.nature::before {
  background: rgba(141, 199, 63, 0.6);
}

.pilier.imagination::before {
  background: rgba(92, 159, 192, 0.6);
}

.pilier.convivialite::before {
  background: rgba(242, 104, 78, 0.6);
}

.pilier.engagement::before {
  background: rgba(245, 160, 128, 0.55);
}

.pilier > * {
  position: relative;
  z-index: 1;
}

.pilier:hover {
  transform: translateY(-8px);
}

.pilier h3,
.pilier p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.pilier h3 {
  margin-bottom: 0.75rem;
}

.nature {
  background-image: url(../../images/piliers/nature-bg.jpg);
  background-color: var(--vert);
}

.imagination {
  background-image: url(../../images/piliers/imagination-bg.jpg);
  background-color: var(--bleu);
}

.convivialite {
  background-image: url(../../images/piliers/convivialite-bg.jpg);
  background-color: var(--corail);
}

.engagement {
  background-image: url(../../images/piliers/engagement-bg.jpg);
  background-color: var(--orange-clair);
}

/* BOÎTE À IDÉE */

.boite-idee-section {
  background: var(--vert-clair);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%235C9FC0' fill-opacity='0.15'/%3E%3C/svg%3E");
}

.boite-idee-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bleu-clair);
  text-align: center;
}

.boite-idee-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--corail);
  color: white;
  margin-bottom: 1.25rem;
}

.boite-idee-icon {
  display: block;
}

.boite-idee-intro {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.boite-idee-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.boite-idee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--beige);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  border: 1px solid rgba(242, 104, 78, 0.2);
}

.boite-idee-badge-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--corail);
}

.boite-idee-badge-icon svg {
  display: block;
}

.boite-idee-questions {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.boite-idee-campagne {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.boite-idee-cta-block {
  padding: 1.25rem 1.5rem;
  background: var(--beige);
  border-left: 4px solid var(--corail);
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
  text-align: center;
}

.boite-idee-cta {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--corail);
  margin-bottom: 1rem;
}

.boite-idee-cta-block .btn-boite-idee {
  display: inline-block;
}

@media (max-width: 768px) {
  .logo img {
    max-height: 58px;
  }

  header.is-sticky .logo img {
    max-height: 40px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  header.is-sticky .logo-text {
    font-size: 0.95rem;
  }

  .boite-idee-card {
    padding: 1.5rem 1.25rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .boite-idee-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* EQUIPE */

.equipe {
  background: var(--beige);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.membre {
  text-align: center;
}

.membre img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: 0.3s;
}

.membre img:hover {
  transform: scale(1.05);
}

.membre h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--corail);
}

.membre p {
  font-size: 0.75rem;
}

.membre span {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
}

/* CONTACT */

.contact {
  background: var(--corail);
  color: white;
  text-align: center;
  padding: 80px 10%;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-col-coords {
  justify-content: flex-start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.contact-item:last-of-type {
  margin-bottom: 0;
}

.contact-col-coords .contact-item {
  margin-bottom: 1rem;
}

.contact-col-coords .contact-btn {
  margin-top: 1rem;
  order: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-btn-icon {
  display: inline-flex;
}

.contact-btn-icon svg {
  display: block;
}

.contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: white;
  opacity: 0.95;
}

.contact-icon svg {
  display: block;
}

.contact p {
  margin-bottom: 0.75rem;
}

.contact p:last-of-type {
  margin-bottom: 0;
}

.contact a:not(.btn) {
  color: white;
  text-decoration: underline;
}

.contact a:not(.btn):hover {
  opacity: 0.9;
}

.contact .btn {
  margin-top: 0.5rem;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
}

footer a {
  color: var(--corail);
  text-decoration: none;
  margin: 0 10px 10px 10px;
  display: inline-block;
}

footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 70px 6%;
  }

  .hero {
    padding: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
