:root {
  --blue: #2B2FD4;
  --blue-dark: #1A1B8F;
  --blue-light: #4F54E8;
  --blue-pale: #EEF0FF;
  --blue-pale2: #F7F8FF;
  --green: #0D9E6B;
  --amber: #BA7517;
  --text: #0F0F1A;
  --text-muted: #5A5B72;
  --text-light: #9899B0;
  --border: #E2E3F0;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--blue-pale2); color: var(--text); line-height: 1.6; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: 780px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 28px;
  font-size: 0.95rem;
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 47, 212, 0.28);
}
.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  padding: 16px 40px;
  font-size: 1.05rem;
}
.btn--white:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.btn--sm { padding: 10px 22px; font-size: 0.88rem; }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247, 248, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(43, 47, 212, 0.07);
}
.nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 0;
  object-fit: contain;
}
.nav__name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 26px;
  margin: 0 auto;
  align-items: center;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--blue); }
.nav__cta { flex-shrink: 0; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav__mobile.nav__mobile--open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav__mobile > a:last-child { border-bottom: none; margin-top: 12px; text-align: center; }
.nav__mobile a:hover { color: var(--blue); }

/* ── NAV MOBILE ACCORDION ─────────────────────────────────── */
.nav__mobile-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
}
.nav__mobile-acc-toggle:hover { color: var(--blue); }
.nav__mobile-acc-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.nav__mobile-acc--open .nav__mobile-acc-toggle svg { transform: rotate(180deg); }
.nav__mobile-acc-items { display: none; flex-direction: column; }
.nav__mobile-acc--open .nav__mobile-acc-items { display: flex; }

/* ─── NAV DROPDOWN ──────────────────────────────────────── */
.nav__dropdown {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav__dropdown-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 6px 0;
  min-width: 240px;
  z-index: 200;
  white-space: nowrap;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav__dropdown-menu a:hover { color: var(--blue); background: var(--blue-pale2); }
.nav__mobile-sub {
  padding-left: 28px !important;
  font-size: 0.88rem !important;
  color: var(--text-light) !important;
}

/* ─── SÉLECTEUR DE LANGUE ─────────────────────────────────── */
.lang { position: relative; flex-shrink: 0; }
.lang__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.lang__toggle:hover { border-color: var(--blue); color: var(--blue); }
.lang__flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.lang__code { letter-spacing: 0.02em; }
.lang__chevron { transition: transform 0.2s; flex-shrink: 0; }
.lang--open .lang__chevron { transform: rotate(180deg); }
.lang__menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(43, 47, 212, 0.12);
  padding: 6px;
  z-index: 200;
}
.lang--open .lang__menu { display: block; }
.lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.lang__item:hover { background: var(--blue-pale2); color: var(--blue); }
.lang__item--active { background: var(--blue-pale); color: var(--blue); font-weight: 600; }
.lang__item--active::after {
  content: '';
  margin-left: auto;
  width: 5px; height: 10px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ─── CHECKBOX FIELD (marketing, shared across all forms) ── */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1 / -1;
}
.checkbox-field input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px; cursor: pointer; flex-shrink: 0;
  accent-color: var(--accent, var(--blue));
}
.checkbox-field label {
  font-size: 0.83rem; color: var(--text-muted);
  line-height: 1.55; cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  text-align: center;
}
.hero__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(43, 47, 212, 0.15);
}
.hero__h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__brand {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  color: #1A1B8F;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.hero__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 27px;
  color: #2B2FD4;
  line-height: 1.3;
}
.hero__main {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.15;
  margin-top: 4px;
}
.hero__slash { color: #9CA0C4; }

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--blue-dark);
  padding: 40px 24px;
}
.stats-bar__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stat__label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  font-weight: 500;
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 88px 0; }
.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
}

/* ─── CARDS (PRODUITS) ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 28px 80px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card--blue::before       { background: var(--blue); }
.card--green::before      { background: var(--green); }
.card--amber::before      { background: var(--amber); }
.card--terracotta::before { background: #B94020; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(43, 47, 212, 0.12);
}
.card:hover::before { transform: scaleX(1); }
.card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card__icon--blue       { background: var(--blue-pale);           color: var(--blue); }
.card__icon--green      { background: rgba(13, 158, 107, 0.1);    color: var(--green); }
.card__icon--amber      { background: rgba(186, 117, 23, 0.1);    color: var(--amber); }
.card__icon--terracotta { background: rgba(185, 64, 32, 0.1);     color: #B94020; }
.card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
.card__desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.tag--blue       { background: var(--blue-pale);           color: var(--blue); }
.tag--green      { background: rgba(13, 158, 107, 0.1);    color: var(--green); }
.tag--amber      { background: rgba(186, 117, 23, 0.1);    color: var(--amber); }
.tag--terracotta { background: rgba(185, 64, 32, 0.1);     color: #B94020; }
.card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale2);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.card--blue:hover       .card__arrow { background: var(--blue-pale);           color: var(--blue);  transform: translateX(3px); }
.card--green:hover      .card__arrow { background: rgba(13, 158, 107, 0.12);   color: var(--green); transform: translateX(3px); }
.card--amber:hover      .card__arrow { background: rgba(186, 117, 23, 0.12);   color: var(--amber); transform: translateX(3px); }
.card--terracotta:hover .card__arrow { background: rgba(185, 64, 32, 0.12);    color: #B94020;      transform: translateX(3px); }

/* ─── STEPS ──────────────────────────────────────────────── */
.steps { background: var(--white); }
.steps__card {
  background: var(--blue-pale2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 16px;
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(43, 47, 212, 0.25);
}
.step__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.step__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  align-self: start;
  margin-top: 24px;
}

/* ─── TÉMOIGNAGES ────────────────────────────────────────── */
.temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.temoignage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.temoignage__stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; }
.temoignage__quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  flex: 1;
}
.temoignage__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.temoignage__author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}
.temoignage__author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar--blue  { background: var(--blue-pale);         color: var(--blue); }
.avatar--green { background: rgba(13,158,107,0.12);    color: var(--green); }
.avatar--amber { background: rgba(186,117,23,0.12);    color: var(--amber); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--white); }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.faq__item:last-child { border-bottom: none; }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  gap: 16px;
  transition: background 0.15s;
}
.faq__item:hover .faq__question { background: var(--blue-pale2); }
.faq__item--open .faq__question { color: var(--blue); background: var(--blue-pale2); }
.faq__icon {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.25s ease;
}
.faq__item--open .faq__icon {
  transform: rotate(180deg);
  color: var(--blue);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq__answer p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 20px;
}
.faq__item--open .faq__answer {
  max-height: 300px;
  padding-top: 0;
}

/* ─── CTA FINAL ──────────────────────────────────────────── */
.cta-final {
  background: var(--blue-dark);
  padding: 88px 24px;
  text-align: center;
}
.cta-final__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-final__sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.97rem;
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #0B0C1A;
  padding: 64px 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.footer__brand span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.footer__desc {
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__contacts a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.15s;
}
.footer__contacts a:hover { color: var(--white); }
.footer__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer__col ul a:hover { color: var(--white); }
.footer__social { display: flex; align-items: center; gap: 22px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 27px;
  line-height: 1;
  transition: color 0.15s, transform 0.15s;
}
.footer__social a:hover { color: var(--white); transform: translateY(-2px); }
.footer__bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__lcc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ─── CARROSSEL SETAS ────────────────────────────────────── */
.temoignages__carousel-wrap { position: relative; }
.temoignages__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  z-index: 10;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
  font-family: inherit;
}
.temoignages__arrow:hover {
  background: var(--blue-pale);
  color: var(--blue);
  border-color: rgba(43, 47, 212, 0.2);
}
.temoignages__arrow--prev { left: -18px; }
.temoignages__arrow--next { right: -18px; }

/* ─── TESTEMUNHOS DOTS ───────────────────────────────────── */
.temoignages__dots { display: none; justify-content: center; gap: 8px; margin-top: 16px; }
.temoignages__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  padding: 0; transition: background 0.2s; flex-shrink: 0;
}
.temoignages__dot--active { background: var(--blue); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */

/* Burger open state — 3 barras animam para X */
.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); }

/* ── NAV DESKTOP — ligeiramente maior (não afeta mobile) ──── */
@media (min-width: 769px) {
  :root { --nav-h: 82px; }
  .nav__logo { width: 48px; height: 48px; }
  .nav__name { font-size: 1.15rem; }
  .nav__links a { font-size: 1rem; }
  .nav__dropdown-toggle { font-size: 1rem; }
  .nav__cta { padding: 12px 26px; font-size: 0.95rem; }
}

@media (max-width: 768px) {

  /* ── NAV ─────────────────────────────────────────────────── */
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile .btn { padding: 10px 22px; font-size: 0.9rem; }

  /* ── HERO (index.html) ───────────────────────────────────── */
  .hero { padding: calc(var(--nav-h) + 48px) 20px 56px; }
  .hero__h1 { font-size: 1.85rem; }
  .hero__sub { font-size: 1rem; }
  .hero__brand { font-size: 1.6rem; }
  .hero__tagline { font-size: 1.1rem; }
  .hero__main { font-size: 2rem; }

  /* ── STATS BAR — 2 colunas ───────────────────────────────── */
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat__num { font-size: 1.75rem; }

  /* ── SECTIONS ────────────────────────────────────────────── */
  .section { padding: 60px 0; }
  .cta-final { padding: 60px 20px; }

  /* ── CARDS DE PRODUIT — 2 colunas ───────────────────────── */
  .cards { grid-template-columns: repeat(2, 1fr) !important; max-width: none; margin: 0; }
  .card { padding: 1.25rem 1rem 3.5rem; }
  .card__title { font-size: 1rem; min-height: auto; }
  .card__desc { display: none; }

  /* ── STEPS (index) ───────────────────────────────────────── */
  .steps__card { grid-template-columns: 1fr; padding: 28px 24px; }
  .step { text-align: left; flex-direction: row; align-items: flex-start; }
  .step__body { text-align: left; }
  .step__divider { width: 100%; height: 1px; margin: 0; }

  /* ── CARDS "COMMENT ÇA MARCHE" — padding/gap réduits ──────── */
  .etape, .etape-am, .etape-p { padding: 0.875rem !important; }
  .etapes__grid, .etapes-am__grid, .etapes-p__grid { gap: 0.5rem !important; }
  .etape__title, .etape-am__title, .etape-p__title { font-size: 0.9rem !important; }
  .etape__desc, .etape-am__desc, .etape-p__desc { font-size: 0.82rem !important; }
  /* patrimoine.html — couvertures */
  .couv-card { padding: 0.875rem !important; }
  .couv-grid { gap: 0.5rem !important; }
  .couv-card__title { font-size: 0.9rem !important; }
  .couv-card__desc { font-size: 0.82rem !important; }

  /* ── SETAS CARROSSEL — ajuste mobile ─────────────────────── */
  .temoignages__arrow--prev { left: 4px; }
  .temoignages__arrow--next { right: 4px; }

  /* ── TÉMOIGNAGES — carrossel swipe ──────────────────────── */
  .temoignages__grid {
    display: flex !important;
    overflow: hidden;
    gap: 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: none !important;
    margin: 0 !important;
    border-radius: var(--radius-lg);
  }
  .temoignages__grid .temoignage {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .temoignages__grid .temoignage__quote {
    overflow: hidden;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .temoignages__dots { display: flex; }

  /* ── FAQ — padding reduzido ──────────────────────────────── */
  .faq__question { padding: 15px 18px; font-size: 0.93rem; }
  .faq__answer { padding: 0 18px; }

  /* ── FOOTER — 1 coluna ───────────────────────────────────── */
  .footer { padding: 48px 0 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }

  /* ── HERO PRODUTO — 1 coluna (override inline styles) ────── */
  .hero-credit__inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero-am__inner     { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero-pilier__inner { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Hero produto padding */
  .hero-credit { padding: calc(var(--nav-h) + 48px) 20px 56px !important; }
  .hero-am     { padding: calc(var(--nav-h) + 48px) 20px 56px !important; }
  .hero-pilier { padding: calc(var(--nav-h) + 48px) 20px 56px !important; }
  .hero-pat    { padding: calc(var(--nav-h) + 48px) 20px 56px !important; }

  /* Simulateur / calcul-card / situation-card — 100% largeur */
  .simulateur, .calcul-card, .situation-card { width: 100%; }

  /* Hero h1 produto */
  .hero-credit__h1 { font-size: 1.85rem !important; }
  .hero-am__h1     { font-size: 1.85rem !important; }
  .hero-pilier__h1 { font-size: 1.85rem !important; }
  .hero-pat__h1    { font-size: 1.85rem !important; }

  /* ── GRIDS DE SECÇÕES PRODUTO — 1 coluna ─────────────────── */
  .etapes__grid { grid-template-columns: 1fr !important; }
  .info-grid    { grid-template-columns: 1fr !important; }

  /* ── FORMULÁRIOS — 1 coluna ──────────────────────────────── */
  .fgrid    { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .step-card { padding: 28px 20px !important; }
  .form-page { padding: calc(var(--nav-h) + 32px) 16px 56px !important; }
  .progress-step__label { font-size: 0.65rem; }

  /* ── STEP COUNTER + BOTÕES STEP 5 ───────────────────────── */
  .step-counter { font-size: 0.75rem !important; white-space: nowrap; }
  .btn-later { white-space: normal !important; width: 100%; text-align: center; }
  .btn-submit { width: 100%; text-align: center; }
  .step-nav > div { width: 100%; align-items: stretch; }

  /* ── INPUTS — 16px mínimo (evita zoom automático no iOS) ─── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea { font-size: 16px !important; }
}
