/* =============================================
   NIVEL — Feuille de style principale
   nivel.fr · Jocelyn Joubert
   Palette officielle : --ink / --blue / --green / --paper
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --ink:         #414A4E;
  --ink-light:   #6B7578;
  --blue:        #287BA4;
  --blue-dark:   #1a5f7a;
  --blue-light:  #EBF4F9;
  --green:       #10B981;
  --green-dark:  #0d9e6e;
  --green-light: #E8FAF4;
  --paper:       #FDFFFC;
  --sand:        #F4F6F7;
  --border:      #DDE0E1;
  --white:       #ffffff;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 48px rgba(0,0,0,.14);
  --max-w:     1100px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-family: 'Inter', system-ui, sans-serif; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: 'DM Sans', sans-serif; }

/* ---- UTILITIES ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header--tight { margin-bottom: 32px; }
.section-header p {
  color: var(--ink-light);
  font-size: 1.05rem;
  margin-top: 14px;
}
/* ---- JUSTIFICATION DU TEXTE COURANT ---- */
.hero-description,
.about-content p,
.pain-card p,
.svc-card p,
.step-card p,
.cas-body p,
.faq-answer-inner,
.footer-brand p,
.certif span,
.section-header p,
#cta-final p,
.tool-group p {
  text-align: justify;
  hyphens: auto;
}

.methode-tools {
  text-align: justify;
}
.methode-approach {
  max-width: 740px;
  margin: -16px auto 56px;
  text-align: justify;
  color: var(--ink-light);
  font-size: .98rem;
  line-height: 1.75;
}
.methode-approach strong { color: var(--ink); font-weight: 600; }

/* ---- BOUTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16,185,129,.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,.4);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ---- NAVIGATION ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 255, 252, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--blue-dark); }
.nav-brand-arrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--green);
  transform: rotate(-90deg);
  transition: transform .25s ease, color .2s ease;
}
.nav-brand:hover .nav-brand-arrow {
  color: var(--green-dark);
  transform: rotate(-90deg) translateX(4px);
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 32px;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.nav-links .nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .88rem;
  white-space: nowrap;
}
.nav-links .nav-cta:hover { background: var(--green-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--paper);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}
.nav-mobile a:hover { background: var(--blue-light); color: var(--blue); }
.nav-mobile .nav-cta {
  background: var(--green);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
}
.nav-mobile .nav-cta:hover { background: var(--green-dark); }

/* ---- HERO ---- */
#hero {
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eef6fb 0%, #daeef7 55%, #f0fafe 100%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0 0;
  position: relative;
  z-index: 2;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 24px;
  letter-spacing: .04em;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-title {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.hero-title strong {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-sub {
  color: var(--ink-light);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.35;
}
.hero-description {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}
.hero-proof{
  margin-top: 32px;
  font-size: .85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px
}
.stars{color:#f6ad55}

/* Logo hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-logo-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-logo-img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--ink);
  z-index: 3;
}
.float-card.c1 {
  bottom: 5px;
  left: -60px;
  animation-delay: .5s;
}
.float-card.c2 {
  top: 5px;
  right: -60px;
}
.float-card .fi { font-size: 1.4rem; }
.float-card small {
  font-size: .72rem;
  font-weight: 400;
  color: var(--ink-light);
  display: block;
  margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Mountains SVG */
.hero-mountains {
  position: relative;
  z-index: 1;
  line-height: 0;
  margin-top: auto;
}
.hero-mountains svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- PROBLÈME ---- */
#probleme { background: var(--ink); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.pain-icon { font-size: 2.2rem; margin-bottom: 16px; }
.pain-card h3 { margin-bottom: 10px; color: var(--ink); }
.pain-card p { color: var(--ink-light); font-size: .93rem; line-height: 1.6; }
#probleme .section-tag {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25);
}
#probleme .section-header h2 { color: var(--white); }
#probleme .section-header p { color: rgba(255,255,255,.75); }
#probleme .pain-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
}
#probleme .pain-card h3 { color: var(--white); }
#probleme .pain-card p { color: rgba(255,255,255,.7); }

/* ---- ABOUT ---- */
#about { background: var(--blue-light); }
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo-wrap { position: relative; flex-shrink: 0; }
.about-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.4;
  max-width: 120px;
  animation: float 3s ease-in-out infinite;
  animation-delay: .5s;
}
.about-badge strong { font-size: 1.3rem; display: block; }
.about-content h2 { color: var(--ink); margin-bottom: 20px; }
.about-content p {
  color: var(--ink-light);
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.7;
}
.about-content a { color: var(--green-dark); text-decoration: underline; }
.about-content a:hover { color: var(--green); }
.about-content strong { color: var(--ink); }
.certif {
  margin-top: 24px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.certif strong { color: var(--ink); }
.certif-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

/* ---- TRANSFORMATION ---- */
#transformation { background: var(--paper); }
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
.t-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.t-card.before {
  background: #fff5f5;
  border: 1px solid #fecaca;
}
.t-card.after {
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
}
.t-card h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-card.before h3 { color: #b91c1c; }
.t-card.after h3 { color: #065f46; }
.t-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .93rem;
  color: var(--ink);
  line-height: 1.5;
}
.t-card li:last-child { border-bottom: none; }
.t-card.before li::before { content: '×'; color: #dc2626; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.t-card.after li::before { content: '✓'; color: #059669; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.t-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  font-size: 2rem;
  color: var(--blue);
}

/* ---- SERVICES ---- */
#services { background: var(--sand); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 36px 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .3s;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.svc-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 100%);
}
.svc-card.featured::after { transform: scaleX(1); }
.svc-card-link { cursor: pointer; }
.svc-card-link:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 100%);
}
.svc-card-link:focus::after { transform: scaleX(1); }
.svc-card-link.featured:has(+ .svc-card-link:focus) {
  border-color: var(--border);
  background: var(--white);
}
.svc-card-link.featured:has(+ .svc-card-link:focus)::after { transform: scaleX(0); }
.svc-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .88rem;
  white-space: nowrap;
}
.svc-cta:hover { background: var(--green-dark); }
.svc-card-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}
.svc-card-soon:hover::after { transform: scaleX(0); }
.badge-feat {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--green);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.svc-icon { font-size: 2.4rem; margin-bottom: 18px; }
.svc-card h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.1rem; }
.svc-card p { color: var(--ink-light); font-size: .92rem; margin-bottom: 20px; line-height: 1.6; }
.svc-price { font-size: 1.5rem; font-weight: 800; color: var(--blue); font-family: 'Fraunces', serif; }
.svc-price span { font-size: .8rem; font-weight: 400; color: var(--ink-light); }
.svc-soon {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-light);
  background: var(--sand);
  border-radius: 50px;
  padding: 4px 12px;
  display: inline-block;
}

/* ---- MÉTHODE ---- */
#methode { background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue) 100%); }
#methode .section-header h2 { color: var(--white); }
#methode .section-header p { color: rgba(255,255,255,.75); }
#methode .section-tag {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25);
}
#methode .step-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
}
#methode .step-card h3 { color: var(--white); }
#methode .step-card p { color: rgba(255,255,255,.7); }
#methode .step-num { background: var(--green); color: var(--white); }
#methode .methode-approach { color: rgba(255,255,255,.75); }
#methode .methode-approach strong { color: var(--white); }
#methode .tool-group {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
}
#methode .tool-group h4 { color: rgba(255,255,255,.85); }
#methode .tool-group p { color: rgba(255,255,255,.6); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.step-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -16px; left: 24px;
  background: var(--blue);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; margin-top: 8px; }
.step-card h3 { margin-bottom: 10px; color: var(--ink); }
.step-card p { color: var(--ink-light); font-size: .93rem; line-height: 1.6; }

/* Outils */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.tool-group {
  flex: 1 1 340px;
  max-width: 420px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.tool-group h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-group .tool-emoji { font-size: 1.2rem; }
.tool-group p {
  font-size: .85rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
}
.tool-icon { flex-shrink: 0; display: block; }

/* ---- CAS CONCRETS ---- */
#cas-concrets { background: var(--sand); }
.cas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cas-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s;
  display: flex;
  gap: 20px;
}
.cas-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.cas-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cas-body h3 { margin-bottom: 8px; color: var(--ink); }
.cas-body p { color: var(--ink-light); font-size: .93rem; line-height: 1.6; }

/* ---- FAQ ---- */
#faq { background: var(--paper); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue-light); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
  transition: color .2s;
}
.faq-item.open .faq-question { color: var(--blue); }
.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
  font-size: .7rem;
  color: var(--blue);
}
.faq-item.open .faq-chevron { background: var(--blue); color: var(--white); transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--ink-light);
  font-size: .95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- CTA FINAL ---- */
#cta-final {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
}
#cta-final .section-tag {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25);
}
#cta-final .btn-white { color: var(--green-dark); }
#cta-final .btn-white:hover { background: var(--green-light); }
#cta-final h2 { color: var(--white); margin-bottom: 16px; }
#cta-final p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-perks {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cta-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
}
.cta-perk::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* ---- FOOTER ---- */
#footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 18px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}
.footer-inner-solo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 36px;
  margin-bottom: 12px;
}
.footer-inner-solo .footer-brand-name { margin-bottom: 0; }
.footer-inner-solo .footer-socials { margin-top: 0; }
.footer-inner-solo + .footer-bottom { padding-top: 12px; }
.footer-brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  display: block;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin-bottom: 0;
}
p.footer-zone {
  margin-top: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.1);
}
.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ---- PAGES LÉGALES ---- */
.legal-hero {
  background: linear-gradient(145deg, #1a5f7a 0%, var(--blue) 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: var(--white);
}
.legal-hero h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.legal-hero p { color: rgba(255,255,255,.8); font-size: 1rem; }
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; }
.legal-content p { color: var(--ink-light); font-size: .96rem; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul {
  color: var(--ink-light);
  font-size: .96rem;
  line-height: 1.75;
  margin-bottom: 14px;
  padding-left: 20px;
}
.legal-content ul li { margin-bottom: 6px; list-style: disc; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content strong { color: var(--ink); }
.legal-nav {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.legal-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color .2s;
  padding: 4px 0;
}
.legal-nav a:hover { color: var(--blue); }
.legal-nav a.active {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 2px solid var(--blue);
}
.legal-nav .sep { color: var(--border); }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 32px;
  transition: gap .2s;
}
.back-home:hover { gap: 12px; }
.back-home::before { content: '←'; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 180px; height: 180px; }
  .float-card.c1 { left: 10px; bottom: -0px; }
  .float-card.c2 { right: 10px; top: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-photo-wrap { display: flex; justify-content: center; }
  .about-badge { right: calc(50% - 180px); }
  .transform-grid { grid-template-columns: 1fr; }
  .t-arrow { display: none; }
  .pain-grid, .services-grid, .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-socials { justify-content: center; }
  .tool-group { flex-basis: 100%; max-width: 420px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cas-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-content { padding: 40px 0 0; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-inner-solo { justify-content: center; text-align: center; }
  .hero-title { font-size: clamp(1.5rem, 7vw, 2.4rem); text-align: center; }
  h2 { font-size: clamp(1.45rem, 4.5vw, 1.5rem); }
  .hero-visual { padding: 28px 0; }
  .float-card { font-size: .72rem; padding: 8px 12px; }
}

@media (max-width: 480px) {
  .hero-logo-wrap { width: 150px; height: 150px; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn { text-align: center; }
  .cta-perks { flex-direction: column; align-items: center; }
  .legal-nav { flex-direction: column; gap: 8px; }
  .legal-nav .sep { display: none; }
}
