:root {
  --vert: #71C099;
  --vert-fonce: #5e9a7e;
  --vert-light: #9BD1C0;
  --vert-pale: #EBF8F3;
  --vert-mid: #C8EDE0;
  --noir: #1A1A1A;
  --gris: #555555;
  --gris-light: #F5FDFB;
  --blanc: #FFFFFF;
  --border: #B8E4D0;
  --or: #ADAF16;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--noir);
  background: var(--blanc);
  overflow-x: hidden;
}

nav {
  background: linear-gradient(90deg, #71C099 0%, #9BD1C0 100%);
  padding: 0 40px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links a {
  color: var(--noir) !important;
}

.nav-links a:hover {
  color: var(--gris) !important;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: white;
}

.nav-logo:hover {
  color: var(--gris-light) !important;
  transition: color 0.3s;
}

.nav-logo span {
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.btn {
  display: inline-block;
  background: var(--vert);
  color: white;
  padding: 13px 36px;
  border-radius: 50px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(58, 125, 68, 0.3);
}

.btn:hover {
  background: var(--vert-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 125, 68, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--vert);
  border: 2px solid var(--vert);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--vert);
  color: white;
}

/* HERO */
.hero {
  padding: 70px 60px 0 60px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  background: #FAFDE8;
  color: #5f6000;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  animation: fadeUp 0.5s 0.05s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--noir);
  margin-bottom: 14px;
  animation: fadeUp 0.5s 0.12s ease both;
}

.hero-title span {
  color: var(--vert-fonce);
  font-style: italic;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 8px;
  font-style: italic;
  animation: fadeUp 0.5s 0.18s ease both;
}

.hero-tagline {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 32px;
  animation: fadeUp 0.5s 0.24s ease both;
}

.hero-photo {
  background: var(--vert-pale);
  border-radius: 14px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  animation: fadeUp 0.5s 0.30s ease both;
}

.hero-photo-inner {
  text-align: center;
  color: var(--vert);
  font-size: 13px;
  font-style: italic;
}

.hero-photo-inner .icon {
  font-size: 44px;
  margin-bottom: 10px;
  display: block;
}

/* FORMULAIRE */
.hero-form {
  background: var(--gris-light);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  animation: fadeUp 0.5s 0.2s ease both;
  position: sticky;
  top: 68px;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--noir);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--vert);
}

#COMMENTAIRE::placeholder,
#SMS::placeholder,
.input::placeholder,
.input input::placeholder,
.form-group input::placeholder,
.sib-sms-select__phone-number::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 68px;
}

.form-btn {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  font-size: 15px;
}

.form-note {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
}

.success-box {
  display: none;
  background: var(--vert-pale);
  border: 1.5px solid var(--vert);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--vert);
  line-height: 1.6;
  margin-top: 14px;
}

/* SECTIONS */
section {
  padding: 70px 40px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--noir);
  line-height: 1.1;
  margin-bottom: 32px;
}

.section-title em {
  color: var(--vert);
  font-style: italic;
}

/* CARDS CONCEPT */
.quoi-grid {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.quoi-card {
  background: var(--vert-pale);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quoi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(58, 125, 68, 0.12);
}

.quoi-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
}

.quoi-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

.quoi-sep {
  margin: 0 3px;
}

.quoi-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 0;
  display: inline;
}

.quoi-text {
  font-size: 13px;
  color: var(--gris);
  line-height: 1.6;
  display: inline;
}

.photo-banner {
  background: var(--vert-pale);
  border-radius: 14px;
  aspect-ratio: 16/6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  color: var(--vert);
  font-size: 13px;
  font-style: italic;
}

/* BANDE CTA */
.cta-band {
  background: linear-gradient(135deg, #71C099 0%, #9BD1C0 100%);
  padding: 64px 40px;
  text-align: center;
}

.cta-band .section-title {
  color: #ffffff;
}

.cta-band .section-title em {
  color: #ffffff;
  font-style: italic;
}

.cta-band .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-band .btn {
  background: white;
  color: var(--vert);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cta-band .btn:hover {
  background: #f0fff8;
}

/* POUR QUI + QUI ORGANISE */
.split-section {
  background: var(--gris-light);
}

.split-grid {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 64px;
  align-items: start;
}

#pour-qui .split-grid {
  grid-template-columns:1fr 1fr;
  max-width: 100%;
}

.split-text {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 16px;
}

.split-text a {
  color: var(--vert);
}


.pour-qui-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.pour-qui-card {
  min-width: 0;
}

/* TEAM */
.team-section {
  background: var(--gris-light);
}

.team-intro {
  font-size: 15px;
  color: var(--gris);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 44px;
}

.team-grid {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 28px;
  max-width: 100%;
}

.team-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--vert-pale);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--vert-mid);
  border: 3px solid var(--vert);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--vert);
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  padding: 6px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 2px;
}

.team-role {
  font-size: 12px;
  color: var(--vert);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-desc {
  font-size: 13px;
  color: var(--gris);
  line-height: 1.7;
}

.team-fun {
  font-size: 12px;
  color: var(--vert-light);
  font-style: italic;
  margin-top: 6px;
}

/* POURQUOI */
.pourquoi {
  background: var(--vert-pale);
}

.pourquoi-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pourquoi-text {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.9;
}

.pourquoi-text p {
  margin-bottom: 16px;
}

.pourquoi-text strong {
  color: var(--noir);
  font-weight: 600;
}

/* FAQ */
.faq {
  background: var(--blanc);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1.5px solid var(--border);
}

.faq-item:first-child {
  border-top: 1.5px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--noir);
  user-select: none;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vert-pale);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--vert);
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--vert);
  color: white;
  border-color: var(--vert);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  font-size: 14px;
  color: var(--gris);
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* PARRAINAGE */
.parrainage {
  background: var(--gris-light);
  text-align: center;
}

.parrainage .section-title {
  text-align: center;
}

.parrainage > .container > p {
  font-size: 14px;
  color: var(--gris);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.share-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 28px;
}

.share-box:hover {
  border-color: var(--vert);
}

.share-box code {
  color: var(--vert);
  font-size: 13px;
}

.share-box .copy-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--vert);
}

/* SPEAKER */
.speaker {
  background: var(--vert-pale);
}

.speaker .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.speaker-icon {
  font-size: 80px;
  flex-shrink: 0;
}

.speaker-text {
  text-align: right;
}

.speaker-text .section-title {
  text-align: right;
}

.speaker-text p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* PARTENAIRES */
.partenaires {
  background: var(--blanc);
  text-align: center;
}

.partenaires .section-title {
  text-align: center;
}

.partenaires-sub {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 36px;
  font-style: italic;
}

.partenaires-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.partenaire-slot {
  width: 140px;
  height: 70px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: #ccc;
  font-style: italic;
  background: var(--vert-pale);
  transition: border-color 0.2s;
  line-height: 1.4;
}

.partenaire-slot.filled {
  border-style: solid;
  border-color: var(--border);
  background: white;
  color: var(--gris);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

/* FOOTER */
footer {
  background: #1A1A1A;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.footer-logo span {
  color: #ADAF16;
  font-style: italic;
}

.footer-text {
  font-size: 12px;
  color: #666;
}

.footer-text a {
  color: #ADAF16;
  text-decoration: underline;
}

.footer-rgpd {
  width: 100%;
  border-top: 1px solid #333;
  padding-top: 16px;
  margin-top: 8px;
  font-size: 11px;
  color: #666;
  line-height: 1.7;
  text-align: center;
}

.footer-rgpd a {
  color: #ADAF16;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns:1fr;
    padding: 40px 24px;
    gap: 32px;
  }

  .hero-form {
    position: static;
  }

  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 50px 24px;
  }

  .split-grid, .pourquoi-grid, .team-grid {
    grid-template-columns:1fr;
    gap: 32px;
  }

  .pour-qui-section {
    padding: 50px 24px !important;
  }

  .pour-qui-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .quoi-grid {
    grid-template-columns:1fr 1fr;
  }

  .speaker .container {
    flex-direction: column;
    text-align: center;
  }

  .speaker-text {
    text-align: center;
  }

  .speaker-text .section-title {
    text-align: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}

.footer-legal-btn:hover {
  opacity: 0.8;
}

.legal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.legal-backdrop[hidden] {
  display: none;
}

.legal-panel {
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  background: #1a1f2e;
  border-radius: 1.25rem 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.legal-panel.open {
  transform: translateY(0);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.legal-title {
  color: rgba(255,255,255,0.35);
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
}

.legal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: inherit;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.legal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.legal-body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-body h3 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

.legal-body p {
  margin: 0;
}

.legal-body a {
  color: rgba(255, 255, 255, 0.7);
}

.legal-body a:hover {
  color: #fff;
}

.legal-body strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
