:root {
  --ink: #0E1B1A;
  --ink-soft: #4B6462;
  --paper: #F8FCFB;
  --white: #FFFFFF;

  --teal-950: #04524F;
  --teal-900: #058F8A;
  --teal-700: #07BEB8;
  --teal-500: #3DCCC7;
  --teal-100: #C4FFF9;
  --mint-bg: #EAF8F6;
  --line: #DCF2EE;
  --line-soft: #EDFAF8;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Typographie & Titres Framer ---------- */

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); }
h3 { font-size: 1.6rem; }

p { margin: 0; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 16px auto 0;
}
.lede-light { color: #D5F7F3; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #054844;
  background: #C4FFF9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 20px;
}
.kicker-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* ---------- Boutons Pill Style Framer ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn-pill {
  background: #C4FFF9;
  color: var(--teal-950);
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.btn-pill:hover { background: #07BEB8; 
  transform: translateY(-2px);
}

.btn-pill-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-900);
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.btn-pill--cta {
  background: #07BEB8;
  color: #FFFFFF;
  border: none;
  padding: 8px 8px 8px 24px;
}
.btn-pill--cta:hover { background: #034E4A; }
.btn-pill--cta .btn-pill-arrow { background: #FFFFFF; color: #023B38; }

.btn-pill--card {
  background: var(--teal-900);
  color: #FFFFFF;
  border: none;
  padding: 6px 6px 6px 20px;
  width: fit-content;
}
.btn-pill--card:hover { background: var(--teal-950); }
.btn-pill--card .btn-pill-arrow { background: #FFFFFF; color: var(--teal-900); }

.btn-pill--white {
  background: #FFFFFF;
  color: var(--teal-950);
  border: none;
  padding: 6px 6px 6px 22px;
}
.btn-pill--white:hover { background: #F0FAF9; }
.btn-pill--white .btn-pill-arrow { background: var(--teal-950); color: #FFFFFF; }

/* ---------- Header Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 252, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.is-open { max-height: 300px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; border-top: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: flex; }
}

/* ---------- Section Hero (Framer Exact Match Panoramique) ---------- */

.hero {
  width: 100%;
  padding: 24px 0 48px;
  background: #EAF8F6;
  box-sizing: border-box;
}

.hero-wrap,
.hero .wrap {
  width: 100%;
  max-width: 1440px; /* Élargit le cadre sur les côtés */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: block !important;
}

.hero-frame {
  position: relative;
  width: 100%;
  min-height: 720px; /* Plus d'impact vertical */
  height: clamp(680px, 82vh, 880px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}

.hero-top-badge {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
  object-fit: cover;
}
.avatar-img:first-child {
  margin-left: 0;
}

.badge-text-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-text-group .stars {
  color: #E85D3B;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.badge-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0E1B1A;
}

.hero-bottom-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 48px 56px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-left-col {
  flex: 1;
  max-width: 680px;
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-right-col {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.10rem;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.btn-pill--hero {
  background: #07BEB8;
  border: none;
  color: #FFFFFF;
  padding: 12px 16px 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-pill--hero:hover {
  background: #068F8A;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .hero-frame {
    height: auto;
    min-height: 560px;
  }
  .hero-bottom-grid {
    position: relative;
    padding: 140px 24px 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-right-col {
    flex: none;
    width: 100%;
  }
}

/* ---------- Section À Propos (Structure 100% Verticale) ---------- */

.section-about-vertical {
  padding: 90px 0;
  background: #FFFFFF;
}

.about-vertical-stack {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-v-heading {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0E1B1A;
  margin: 0 0 28px 0;
  max-width: 26ch;
}

.about-v-cta {
  text-align: center;
  margin-top: 48px; 
}

.btn-pill--teal {
  background: #B6FFF2;
  color: #054844;
  border: none;
  padding: 6px 6px 6px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-pill--teal:hover {
  background: #A0FCEB;
}
.btn-pill--teal .btn-pill-arrow {
  background: #04524F;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about-cards-stack {
  width: 100%;
  max-width: 860px; 
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px;
  text-align: left;
}

.about-card {
  border-radius: 24px;
  padding: 34px;
  display: flex;
  flex-direction: column;        
  justify-content: space-between;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;  
}

.about-card-badge {
  background: #FFFFFF;
  color: #04524F;             
  padding: 14px 28px;         
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  
  /* Verrouille l'alignement et empêche l'étirement */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: center;          
  width: fit-content;          
  white-space: nowrap;        
}

.about-card:first-child {
  background: #B6FFF2;
  border: none;
}
.about-card:first-child p {
  color: #054844;
}

.about-card:last-child {
  background: #068F8A;
  border: none;
  align-items: flex-end;
}
.about-card:last-child p,
.about-card:last-child strong {
  color: #FFFFFF;
}

.about-card-sparkle {
  display: none; 
}

.about-card p {
font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  line-height: 1.45;                 
  font-weight: 400;
  margin: 0;
}

/* Sur mobile : repasse l'un en dessous de l'autre */
@media (max-width: 640px) {
  .about-cards-stack {
    grid-template-columns: 1fr;
  }
  .about-card {
    aspect-ratio: auto;
    padding: 24px;
  }
  .about-v-heading { 
    font-size: 1.9rem; 
  }
}

/* ---------- Section Solutions (Framer Exact Match) ---------- */

#solutions {
  scroll-margin-top: 0px; 
  }

.section-solutions {
  padding: 100px 0;
  background: #EAF8F6;
}

.solutions-header {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.solutions-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0E1B1A;
  margin-top: 14px;
}

.solutions-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.framer-plan-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1px solid #DCF2EE;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(5, 143, 138, 0.04);
}

.plan-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.plan-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: #0E1B1A;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.plan-description {
  font-size: 1.05rem;
  color: #4B6462;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 48ch;
}

.plan-checklist {
  list-style: none;
  margin: 0 0 34px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.plan-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: #0E1B1A;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #B6FFF2;
  color: #04524F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.plan-action { margin-top: auto; }

.plan-visual {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: 380px;
  background: #DCF2EE;
}

.plan-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .framer-plan-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .plan-visual { height: 260px; }
}

/* ---------- Section Chiffres Clés ---------- */

.section-deep {
  background: #023B38;
  color: #FFFFFF;
  padding: 90px 0;
}
.section-deep h2 { color: #FFFFFF; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
}
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
}
.stat-card b {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-card span { font-size: 1rem; color: #D5F7F3; }

.section-deep .section-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.section-deep .lede {
  margin: 16px auto 0;
  text-align: center;
}

/* ---------- Carrousel Avis Clients Framer ---------- */

#avis .carousel-heading {
  scroll-margin-top: 160px;
}

.section-avis-carousel {
  padding: 90px 0 80px;
  background: #EAF8F6;
  overflow: hidden;
  text-align: center;
}

.carousel-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0E1B1A;
}

.carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 30px 20px; /* Supprime l'espace vide forcé à gauche et à droite */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 580px;
  max-width: 82vw;
  scroll-snap-align: center;
  background: #068F8A;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(4, 82, 79, 0.12);
  box-sizing: border-box;
}

.card-quote-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}

.card-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: #E6FAF7;
}

.card-author { margin-top: 20px; }
.card-author strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
}
.card-author span {
  display: block;
  font-size: 0.82rem;
  color: #9DEAE4;
  margin-top: 2px;
}

.card-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  height: 100%;
  min-height: 140px;
  overflow: hidden; 
  padding: 0;       
  border: none;     
}

.client-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.client-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-align: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid #DCF2EE;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: #0E1B1A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, background 0.15s ease;
}
.carousel-btn:hover { background: #F0FAF9; transform: translateY(-2px); }
.carousel-btn:active { transform: scale(0.95); }

@media (max-width: 768px) {
  .carousel-track { padding: 24px 20px; }
  .carousel-card {
    flex: 0 0 85vw;
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
  }
}


/* ---------- FAQ Framer Style ---------- */

.section-faq { padding: 90px 0; background: var(--mint-bg); text-align: center;}
.faq-accordion { display: grid; gap: 14px; max-width: 860px; margin: 36px auto 0; }
.faq-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-box summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal-900);
  transition: transform 0.2s ease;
}
.faq-box[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 26px 24px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; text-align: left;}

/* ---------- CTA Banner Framer ---------- */

.section-cta-wrap { padding: 80px 0; }
.cta-banner {
  background: #023B38;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #FFFFFF; margin-bottom: 8px; }
.cta-banner p { color: #D5F7F3; font-size: 1.1rem; }

/* ---------- Contact page ---------- */

.section-contact {
  background-color: var(--mint-bg, #EAF8F6);
}

.contact-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding-top: 48px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 18px; align-content: start; }
.info-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.info-card span { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 4px; }
.info-card strong { font-size: 1.05rem; color: var(--teal-950); }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
}
.social-row a:hover { border-color: var(--teal-700); color: var(--teal-950); }

form.card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(5, 143, 138, 0.06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--mint-bg);
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal-700);
  outline-offset: 1px;
}

/* Conteneur général des boutons radio */
.radio-group {
  display: grid;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}

/* Le groupe du haut (Particulier / Professionnel) : 2 grandes colonnes égales */
.field:first-of-type .radio-group {
  grid-template-columns: 1fr 1fr;
}

/* Le groupe du bas (Ponctuel / Mensuel / Trimestriel) : 3 colonnes réparties sur toute la largeur */
.field:nth-of-type(4) .radio-group {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Style commun des pilules */
.radio-pill {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
  background: var(--mint-bg, #EAF8F6);
  border: 1px solid var(--line, #DCF2EE);
  border-radius: 999px;
  font-weight: 600;
  color: #0E1B1A;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

/* On grossit spécifiquement les 2 boutons du haut (plus hauts et texte plus grand) */
.field:first-of-type .radio-pill {
  padding: 14px 20px;
  font-size: 1rem;
}

/* Boutons du bas (hauteur standard, bien répartis) */
.field:nth-of-type(4) .radio-pill {
  padding: 11px 16px;
  font-size: 0.92rem;
}

/* Puce radio native stylisée */
.radio-pill input[type="radio"] {
  appearance: auto;
  -webkit-appearance: auto;
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #068F8A;
  cursor: pointer;
}

/* État coché */
.radio-pill:has(input[type="radio"]:checked) {
  background: #FFFFFF;
  border-color: #068F8A;
  box-shadow: 0 2px 8px rgba(6, 143, 138, 0.12);
}

/* Adaptation sur petits écrans de mobile */
@media (max-width: 520px) {
  .field:first-of-type .radio-group,
  .field:nth-of-type(4) .radio-group {
    grid-template-columns: 1fr;
  }
}

/* Bouton d'envoi pleine largeur */
.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  background-color: var(--teal-950, #0E1B1A);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-block:hover {
  opacity: 0.9;
}

.btn-block:active {
  transform: scale(0.99);
}

/* Centrage exact du menu sur la page contact */
@media (min-width: 901px) {
  .page-contact .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .page-contact .site-header .brand {
    justify-self: start;
  }

  .page-contact .site-header nav {
    justify-self: center;
    margin: 0;
  }

  .page-contact .nav-cta {
    display: none;
  }
}

/* ---------- Footer Framer ---------- */

.site-footer {
  background: #023B38;
  color: #CFF3EF;
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.brand-footer .brand-name { color: #FFFFFF; }
.footer-brand p { font-size: 0.92rem; color: #9FD9D2; margin-top: 14px; max-width: 32ch; }
.footer-grid h4 { color: #FFFFFF; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a { font-size: 0.92rem; color: #CFF3EF; transition: color 0.15s ease; }
.footer-grid a:hover { color: #FFFFFF; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #9FD9D2;
}

/* ---------- Animations ---------- */

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(110px) scale(0.90);
  transition: 
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Règles appliquées UNIQUEMENT à la page À Propos */

.page-about .hero .wrap,
.page-about .section-head {
  text-align: center;
}

.page-about .hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-about .section-alt {
  padding-top: 60px;
  padding-bottom: 90px;
}

/* Grille des valeurs sur la page À Propos */
.page-about .values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}

/* Carte individuelle */
.page-about .value-item {
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 20px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.page-about .value-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ink, #0f172a);
}

.page-about .value-item p {
  color: var(--ink-soft, #475569);
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Centrage du bouton d'action */
.page-about .section-alt .btn-primary {
  display: table;
  margin: 48px auto 0;
}

/* Passage sur une colonne sur mobile */
@media (max-width: 768px) {
  .page-about .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
}
