/* ============================================================
   WebCollines — Feuille de style globale
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ---------- Variables ---------- */
:root {
  --green-deep:    #2D6A4F;
  --green-mid:     #40B576;
  --green-light:   #D8F3DC;
  --green-pale:    #EAF7EC;
  --off-white:     #F5F9F6;
  --text-dark:     #111D17;
  --text-muted:    #607068;
  --white:         #ffffff;

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --shadow-sm:  0 2px 12px rgba(45,106,79,.09);
  --shadow-md:  0 8px 32px rgba(45,106,79,.15);
  --shadow-lg:  0 20px 60px rgba(45,106,79,.2);
  --shadow-xl:  0 32px 80px rgba(45,106,79,.25);

  --transition: .22s cubic-bezier(.4,0,.2,1);

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; color: var(--text-dark); }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p  { font-size: 1.05rem; color: var(--text-muted); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--green-pale);
}

.section--dark {
  background: var(--green-deep);
  color: var(--white);
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-deep));
  border-radius: 100px;
  margin: 12px auto 0;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.1rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Pill / badge ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--green-light);
  color: var(--green-deep);
  margin-bottom: 16px;
  border: 1px solid rgba(45,106,79,.15);
}

.pill--accent {
  background: linear-gradient(135deg, #40B576, #2D6A4F);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(45,106,79,.3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, #2D6A4F 0%, #1e4f3a 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(45,106,79,.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #245c44 0%, #163829 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45,106,79,.45);
}
.btn--primary:active { transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn--outline:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

/* Bouton CTA pulsant — à utiliser sur le CTA principal */
.btn--pulse {
  animation: btn-pulse 2.5s ease-in-out infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(45,106,79,.35); }
  50%       { box-shadow: 0 4px 28px rgba(45,106,79,.6), 0 0 0 8px rgba(45,106,79,.08); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  border: 1px solid rgba(45,106,79,.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64,181,118,.25);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,106,79,.08);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 8px;
  overflow: visible;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-deep);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;
}


.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2D6A4F, #40B576);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45,106,79,.3);
}

.nav__logo-icon svg {
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .88rem;
  color: var(--text-dark);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--green-deep);
  background: var(--green-light);
}

.nav__cta {
  margin-left: 8px;
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--green-light);
  background: var(--off-white);
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}

.nav__mobile a:hover,
.nav__mobile a.active {
  background: var(--green-light);
  color: var(--green-deep);
}

.nav__mobile .btn {
  margin-top: 8px;
  justify-content: center;
}

/* ---------- Wave dividers ---------- */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ---------- Grid helpers ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

/* ---------- Icon box ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  flex-shrink: 0;
  margin-bottom: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover .icon-box,
.icon-box:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(45,106,79,.18);
}

.icon-box--dark {
  background: var(--green-deep);
  color: var(--white);
}

.icon-box--gradient {
  background: linear-gradient(135deg, #40B576 0%, #2D6A4F 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,106,79,.28);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer__brand-icon {
  width: 34px;
  height: 34px;
  background: var(--green-mid);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer p { font-size: .93rem; }

.footer__col h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }

.footer__col a {
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--green-mid); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--green-mid); }

/* ---------- Scroll animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Stars ---------- */
.stars {
  display: flex;
  gap: 2px;
  color: #F6A623;
  margin-bottom: 10px;
}

/* ---------- Form ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid #D0DDD8;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0bdb6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(64,181,118,.18);
  background: #fafffe;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 740px; margin: 0 auto; }

.faq-item {
  border: 1.5px solid #D0DDD8;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  gap: 16px;
  transition: background var(--transition);
  color: var(--text-dark);
}

.faq-question:hover { background: var(--green-pale); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green-deep);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 22px;
  font-size: .98rem;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* ---------- Pricing cards ---------- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--green-mid);
  border-width: 2.5px;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(155deg, #ffffff 0%, #f0fbf4 60%, #e0f7e9 100%);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 40px 90px rgba(45,106,79,.28);
}

.badge-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #40B576 0%, #2D6A4F 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(45,106,79,.4);
  letter-spacing: .04em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 4px;
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
  background: linear-gradient(135deg, #2D6A4F, #40B576);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price .period {
  font-size: .95rem;
  color: var(--text-muted);
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-card .subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-dark);
}

.pricing-feature svg {
  color: var(--green-mid);
  flex-shrink: 0;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-mid), var(--green-light));
}

.timeline-item {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--green-light);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  margin-top: 8px;
}

.timeline-content h3 { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #1a4a38 0%, var(--green-deep) 50%, #163829 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(64,181,118,.22) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(64,181,118,.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-band__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}

.cta-band__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--green-light);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 22px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green-light);
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64,181,118,.35);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.testimonial-role {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- Contact info ---------- */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  flex-shrink: 0;
}

/* ---------- Zone map placeholder ---------- */
.zone-map {
  background: var(--green-pale);
  border: 2px dashed var(--green-mid);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 200px;
  color: var(--green-deep);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablette : cacher les liens de nav, garder les boutons CTA */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { justify-content: flex-end; }
  .nav__logo { margin-right: auto; }
}

/* Mobile : cacher aussi les boutons CTA */
@media (max-width: 640px) {
  .nav__cta { display: none !important; }
}

@media (max-width: 1080px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .timeline::before { left: 22px; }
  .timeline-dot { width: 46px; height: 46px; font-size: 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 12px 22px; }
  .cta-band { padding: 52px 0; }
}

/* ============================================================
   Stat numbers (light bg only)
   ============================================================ */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #2D6A4F, #40B576);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Why grid — comparison section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.why-col {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.why-col--bad {
  background: #fff8f8;
  border: 1.5px solid #fdd;
}

.why-col--good {
  background: linear-gradient(155deg, #f0fbf4 0%, #e0f7e9 100%);
  border: 1.5px solid rgba(64,181,118,.3);
  box-shadow: var(--shadow-sm);
}

.why-col h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: .95rem;
  color: var(--text-dark);
}

.why-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive — sections index avancées
   ============================================================ */

/* Rating overview + testimonials grid */
@media (max-width: 960px) {
  /* La grille "1fr 3fr" de l'overview testimonials */
  .rating-overview-row {
    grid-template-columns: 1fr !important;
  }
}

/* Testimonials internes — 3 colonnes → 1 sur mobile */
@media (max-width: 820px) {
  .testi-inner-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Testimonials 2 colonnes du bas */
@media (max-width: 680px) {
  .testi-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   Barre de progression de scroll
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-deep), var(--green-mid));
  background-size: 200% 100%;
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(45,106,79,.4);
}

/* ============================================================
   Tooltip / popover léger
   ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ============================================================
   Smooth underline hover links
   ============================================================ */
.underline-hover {
  position: relative;
  display: inline-block;
}

.underline-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-mid);
  transition: width var(--transition);
  border-radius: 2px;
}

.underline-hover:hover::after { width: 100%; }

/* ============================================================
   Chip tags
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green-deep);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}

/* ============================================================
   Highlight text
   ============================================================ */
.highlight {
  background: linear-gradient(120deg, rgba(82,183,136,.25) 0%, rgba(82,183,136,.1) 100%);
  border-radius: 4px;
  padding: 0 4px;
  color: var(--green-deep);
  font-weight: 600;
}

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
}
.whatsapp-btn svg { color: white; }

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: white;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  font-family: var(--font-body);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-dark);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ============================================================
   Dark mode (admin)
   ============================================================ */
.dark-mode {
  --admin-bg: #0F1C14;
  --admin-surface: #1B2E24;
  --admin-border: rgba(255,255,255,.08);
  --admin-text: #E5F0EA;
  --admin-muted: #8CA99A;
}
