/* ============================================================
   LaVitrine — Agency Landing Page
   style.css
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --hero-bg:    #080C14;
  --bg:         #FFFFFF;
  --bg-alt:     #F8FAFC;
  --blue:       #2563EB;
  --blue-light: #EFF6FF;
  --blue-mid:   #BFDBFE;
  --red:        #ED2939;
  --red-light:  rgba(237,41,57,.08);
  --text:       #0F172A;
  --muted:      #64748B;
  --border:     #E2E8F0;

  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --max-w:      1200px;
  --nav-h:      72px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::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);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Typography helpers ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-top: .75rem;
  max-width: 560px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 12px 40px rgba(37,99,235,.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ── Topbar tricolore ─────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #2563EB 33.3%, #ffffff 33.3% 66.6%, #ED2939 66.6%);
  z-index: 1000;
  /* rend le blanc visible sur fond clair */
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
}

/* ── NAV ──────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.nav--light {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  gap: 1.5rem;
}

/* Logo */
.lv-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.lv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 30px;
  height: 30px;
}

.lv-grid span {
  border-radius: 3px;
  transition: transform .3s ease;
}
.lv-logo:hover .lv-grid span { transform: scale(.88); }

.lv-grid span:nth-child(1) { background: var(--blue); }
.lv-grid span:nth-child(2) { background: #93C5FD; }
.lv-grid span:nth-child(3) { background: #93C5FD; }
.lv-grid span:nth-child(4) { background: var(--blue); }

.lv-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.lv-name {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
}
.lv-name strong {
  font-weight: 800;
  color: var(--blue);
}
.lv-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: 1px;
  vertical-align: super;
}
.lv-base {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

/* Dark logo on light nav */
#nav.nav--light .lv-name { color: var(--text); }
#nav.nav--light .lv-base { color: var(--muted); }

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--blue);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }
.nav-links a:hover { color: #fff; }

#nav.nav--light .nav-links a { color: var(--muted); }
#nav.nav--light .nav-links a:hover { color: var(--text); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-phone {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  display: none;
  transition: color var(--transition);
}
@media (min-width: 640px) {
  .nav-phone { display: block; }
}
#nav.nav--light .nav-phone { color: var(--text); }

/* Burger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
/* Masquer le bouton CTA dans la nav sur petit mobile pour laisser la place au burger */
@media (max-width: 480px) {
  .nav-right .btn { display: none; }
}
@media (min-width: 900px) {
  .nav-burger { display: none; }
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  transform-origin: center;
}
#nav.nav--light .nav-burger span { background: var(--text); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(8,12,20,.97);
  backdrop-filter: blur(12px);
  z-index: 890;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--blue); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--hero-bg);
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 75% 55%, rgba(37,99,235,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 25% 40%, rgba(99,102,241,.08) 0%, transparent 65%),
    radial-gradient(ellipse 35% 30% at 90% 15%, rgba(237,41,57,.06) 0%, transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 5rem 4rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-block: 6rem 5rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.35);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-h1 .typed-wrapper {
  display: block;
  min-height: 1.1em;
}
#typed-hero { color: var(--blue); }
.typed-cursor { color: var(--blue); }

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.trust-stars { color: #FBBF24; letter-spacing: .05em; }
.trust-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.2);
}

/* Browser mockup */
.hero-visual {
  display: none;
  position: relative;
}
@media (min-width: 900px) {
  .hero-visual { display: block; }
}

.browser-mock {
  background: #13192A;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.05);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: #1A2235;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
  flex: 1;
  background: #0D1321;
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  font-family: 'Courier New', monospace;
}

.browser-body {
  height: 300px;
  background: linear-gradient(135deg, #0f1f3d 0%, #0a192f 40%, #0d2137 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-hero-bar {
  height: 48px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: .75rem;
}
.mock-logo-block {
  display: flex;
  gap: 4px;
  align-items: center;
}
.mock-logo-block span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
}
.mock-logo-block span:nth-child(1) { background: var(--blue); }
.mock-logo-block span:nth-child(2) { background: #93C5FD; }
.mock-bar-pill {
  height: 8px; border-radius: 4px; background: rgba(255,255,255,.08);
}

.mock-content {
  flex: 1;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
}
.mock-h1 { height: 14px; width: 65%; border-radius: 4px; background: rgba(255,255,255,.18); }
.mock-h1-2 { height: 14px; width: 45%; border-radius: 4px; background: rgba(255,255,255,.1); }
.mock-sub { height: 8px; width: 80%; border-radius: 3px; background: rgba(255,255,255,.07); }
.mock-sub-2 { height: 8px; width: 60%; border-radius: 3px; background: rgba(255,255,255,.05); }
.mock-btn {
  height: 32px; width: 120px; border-radius: 8px;
  background: var(--blue);
  margin-top: .5rem;
}
.mock-grid {
  display: flex; gap: .5rem; margin-top: .5rem;
}
.mock-card {
  flex: 1; height: 50px; border-radius: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
}

/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--hero-bg);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: .6rem 1rem;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  animation: float 4s ease-in-out infinite;
}
.hero-badge--1 {
  top: -18px;
  right: 20px;
  animation-delay: 0s;
}
.hero-badge--2 {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

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

/* ── STATS BAR ────────────────────────────────────────────── */
#stats {
  background: var(--blue);
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.stat-item {}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-label {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}

/* ── PROBLEM ──────────────────────────────────────────────── */
#problem {
  background: var(--bg);
  padding-block: 5rem;
}

.problem-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.problem-head .section-sub { margin-inline: auto; }

.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .problem-cards { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue-mid);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.problem-card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
#how {
  background: var(--bg-alt);
  padding-block: 5rem;
}

.how-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .how-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(33.33% + 1rem);
    right: calc(33.33% + 1rem);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-mid) 0, var(--blue-mid) 8px, transparent 8px, transparent 16px);
  }
}

.how-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.how-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--blue-mid);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.how-step h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.how-step p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── OFFERS ───────────────────────────────────────────────── */
#offers {
  background: var(--bg);
  padding-block: 5rem;
}

.offers-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.offer-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.offer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.offer-card--featured {
  background: var(--hero-bg);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 0 0 1px rgba(37,99,235,.2), var(--shadow-lg);
  position: relative;
  transform: none;
}
@media (min-width: 768px) {
  .offer-card--featured { transform: scale(1.02); }
}
.offer-card--featured:hover {
  transform: translateY(-3px);
}
@media (min-width: 768px) {
  .offer-card--featured:hover { transform: scale(1.02) translateY(-3px); }
}

.offer-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.offer-icon {
  font-size: 2.25rem;
  display: block;
}

.offer-name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
}
.offer-card--featured .offer-name { color: #fff; }

.offer-tag {
  font-size: .875rem;
  color: var(--muted);
}
.offer-card--featured .offer-tag { color: rgba(255,255,255,.55); }

.offer-price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-top: .25rem;
  line-height: 1.1;
}
.offer-price-sub {
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.offer-card--featured .offer-price { color: #fff; }
.offer-card--featured .offer-price-sub { color: rgba(255,255,255,.6); }
.offer-maintenance {
  font-size: .78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
  margin-top: .5rem;
}

.offer-features {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.offer-feat {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text);
}
.offer-card--featured .offer-feat { color: rgba(255,255,255,.8); }

.offer-feat-check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}
.offer-card--featured .offer-feat-check { color: #60A5FA; }

.offer-cta {
  margin-top: auto;
}

.offer-card--featured .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.offer-card--featured .btn-outline:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ── PORTFOLIO ────────────────────────────────────────────── */
#portfolio {
  background: var(--bg-alt);
  padding-block: 5rem;
}

.portfolio-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.portfolio-preview {
  height: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.portfolio-preview--barber {
  background: linear-gradient(145deg, #0a0f1e 0%, #1a2540 50%, #0f1829 100%);
}
.portfolio-preview--fleur {
  background: linear-gradient(145deg, #1a0520 0%, #3d0f3a 50%, #1f0b22 100%);
}
.portfolio-preview--renov {
  background: linear-gradient(145deg, #041a10 0%, #0a3820 50%, #062215 100%);
}

.preview-inner {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: center;
}
.preview-bar-fake {
  height: 28px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  gap: .35rem;
  flex-shrink: 0;
}
.preview-bar-fake span {
  width: 6px; height: 6px; border-radius: 50%;
}
.preview-bar-fake span:nth-child(1) { background: #FF5F57; }
.preview-bar-fake span:nth-child(2) { background: #FEBC2E; }
.preview-bar-fake span:nth-child(3) { background: #28C840; }

.prev-line {
  height: 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.15);
}
.prev-line-sm {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.prev-btn-fake {
  height: 22px;
  width: 70px;
  border-radius: 5px;
  background: rgba(255,255,255,.15);
  margin-top: .25rem;
}

.portfolio-info {
  padding: 1.25rem;
}

.portfolio-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.portfolio-cat {
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.portfolio-tag {
  font-size: .75rem;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
  padding: .2rem .55rem;
  border-radius: 100px;
}

.portfolio-cta {
  text-align: center;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials {
  background: var(--hero-bg);
  padding-block: 5rem;
  overflow: hidden;
}

.temo-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.temo-head .section-title { color: #fff; }
.temo-head .section-sub { color: rgba(255,255,255,.5); margin-inline: auto; }

.swiper-temo {
  overflow: visible;
}
.swiper-temo .swiper-wrapper {
  align-items: stretch;
}

.temo-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.temo-stars { color: #FBBF24; font-size: 1rem; letter-spacing: .05em; }

.temo-quote {
  font-size: .9375rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.temo-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
}

.temo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #60A5FA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: .875rem;
  flex-shrink: 0;
}

.temo-name {
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
}
.temo-role {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

.swiper-pagination {
  position: relative !important;
  margin-top: 2.5rem !important;
  bottom: auto !important;
}
.swiper-pagination-bullet {
  background: rgba(255,255,255,.3) !important;
  width: 8px !important;
  height: 8px !important;
  opacity: 1 !important;
  transition: background var(--transition), width var(--transition) !important;
}
.swiper-pagination-bullet-active {
  background: var(--blue) !important;
  width: 22px !important;
  border-radius: 4px !important;
}

/* ── FAQ ──────────────────────────────────────────────────── */
#faq {
  background: var(--bg);
  padding-block: 5rem;
}

.faq-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-list {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item--open {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item--open .faq-q { color: var(--blue); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.faq-item--open .faq-icon {
  background: var(--blue-light);
  color: var(--blue);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq-item--open .faq-a {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}
.faq-a p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ──────────────────────────────────────────────── */
#contact {
  background: var(--hero-bg);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 85% 50%, rgba(37,99,235,.1) 0%, transparent 65%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
}

.contact-left .section-title { color: #fff; }
.contact-left .section-sub { color: rgba(255,255,255,.55); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 1.75rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-item a { color: inherit; }
.contact-info-item a:hover { color: #fff; }

/* Contact form */
.contact-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

.form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control::placeholder { color: rgba(255,255,255,.25); }
.form-control:focus {
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-control option { background: #1a2235; color: #fff; }

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
}

.form-msg {
  display: none;
  padding: .875rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  margin-top: .75rem;
  text-align: center;
}
.form-msg--success {
  display: block;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: #4ADE80;
}
.form-msg--error {
  display: block;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #F87171;
}

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: #060810;
  padding-block: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.8); }

.footer-copy {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

/* ── WhatsApp Float ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 1.5rem;
  text-decoration: none;
  border: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}

/* ── Section padding helper ───────────────────────────────── */
.section-pad { padding-block: 5rem; }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }

/* ── AOS overrides ────────────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ── Responsive final adjustments ────────────────────────── */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
