/* ═══════════════════════════════════════════
   ROCADO — Design System partagé
   ═══════════════════════════════════════════ */

/* ── Variables ───────────────────────────── */
:root {
  --navy:       #0F1F2E;
  --navy-mid:   #1E3A52;
  --pink:       #E8306A;
  --pink-light: rgba(232,48,106,.10);
  --yellow:     #F4C400;
  --yellow-light: rgba(244,196,0,.15);
  --green:      #2ECC71;
  --teal:       #1ABCB0;
  --white:      #FFFFFF;
  --off-white:  #F8FAFB;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-700:   #334155;

  --font-title: 'Baloo 2', sans-serif;
  --font-body:  'Nunito', sans-serif;

  --section-py: 96px;
  --container:  1100px;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px  rgba(15,31,46,.06);
  --shadow-md: 0 4px 20px rgba(15,31,46,.10);
  --shadow-lg: 0 8px 40px rgba(15,31,46,.14);
  --shadow-xl: 0 20px 60px rgba(15,31,46,.20);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
h1,h2,h3,h4,h5 { font-family: var(--font-title); line-height: 1.2; color: var(--navy); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); }

/* ── Layout ──────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); }

/* ── Typography ──────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.label--teal { color: var(--teal); background: rgba(26,188,176,.1); }
.label--navy { color: var(--navy-mid); background: var(--gray-100); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.75;
}
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }
.text-pink { color: var(--pink); }

/* ── Scroll progress ─────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  width: 0%;
  z-index: 9999;
  transition: width .1s linear;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .97rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(232,48,106,.30);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(232,48,106,.40); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* ── Trust pills ─────────────────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-600);
}
.trust-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-green 2.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(46,204,113,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(46,204,113,0); }
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,31,46,.07);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(15,31,46,.09); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 38px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-600);
  transition: color .2s, background .2s;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link:hover { color: var(--navy); background: var(--gray-100); }
.nav-link .chevron { font-size: .7rem; transition: transform .2s; }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(4px);
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: background .15s;
}
.nav-dropdown a:hover { background: var(--gray-100); color: var(--navy); }
.nav-dropdown a .dd-icon { font-size: 1.1rem; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions .btn { padding: 10px 20px; font-size: .88rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a,
.nav-mobile .nav-mobile-group > span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-700);
  transition: background .15s;
}
.nav-mobile a:hover { background: var(--gray-100); }
.nav-mobile-sub { padding-left: 12px; }
.nav-mobile-sub a {
  font-size: .88rem;
  color: var(--gray-600);
  padding: 7px 12px;
}
.nav-mobile-group > span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 12px 12px 4px;
  cursor: default;
}
.nav-mobile-divider { height: 1px; background: var(--gray-200); margin: 8px 0; }
.nav-mobile-cta { margin-top: 8px; }
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--navy); padding: 64px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 34px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-size: .74rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
}

@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Reveals ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Scroll top ──────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
  z-index: 800;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── Card ────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

/* ── Steps ───────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.step-badge::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.step:nth-child(1) .step-badge { background: var(--pink); }
.step:nth-child(2) .step-badge { background: var(--yellow); color: var(--navy); }
.step:nth-child(3) .step-badge { background: var(--teal); }
.step:nth-child(4) .step-badge { background: var(--green); }
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.step p  { font-size: .86rem; color: var(--gray-600); line-height: 1.6; }

@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr 1fr; } .steps-grid::before { display: none; } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .97rem;
  color: var(--navy);
}
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform .3s, background .3s, color .3s;
  color: var(--gray-600);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--pink);
  color: var(--white);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.75;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 18px; }

/* ── CTA Banner ──────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,48,106,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
}
.cta-banner .btn { flex-shrink: 0; position: relative; z-index: 1; }
@media (max-width: 640px) {
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
}

/* ── Form ────────────────────────────────── */
.form-field { margin-bottom: 12px; }
.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--pink); }
.form-field input.valid   { border-color: var(--green); }
.form-field input.invalid { border-color: #f87171; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── Contact section ────────────────────────────── */
.contact-section {
  background: var(--navy);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,48,106,.18) 0%, transparent 70%);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.contact-text p  { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.75; margin-bottom: 28px; }
.contact-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-perks li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: .93rem; }
.contact-perks li span { color: var(--green); font-size: 1rem; }
.contact-form-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  backdrop-filter: blur(10px);
}
.contact-form-box h3 { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.contact-form-box .form-field input,
.contact-form-box .form-field select {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: var(--white);
}
.contact-form-box .form-field input::placeholder { color: rgba(255,255,255,.4); }
.contact-form-box .form-field input:focus,
.contact-form-box .form-field select:focus { border-color: var(--pink); background: rgba(255,255,255,.1); }
.contact-form-box .form-field select option { color: var(--navy); background: var(--white); }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-legal-note { text-align: center; font-size: .74rem; color: rgba(255,255,255,.35); margin-top: 10px; }
#form-success { display: none; text-align: center; padding: 16px; }
#form-success .success-emoji { font-size: 3rem; margin-bottom: 10px; }
#form-success p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.6; }
#form-success strong { color: var(--white); }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
