/* =============================================
   WEHEM Digital Agency — main.css
   Architecture : Custom Properties → Base →
   Layout → Components → Sections → Utilities → Responsive
   Inspiré des standards des 6 plus grands sites US
   ============================================= */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* Brand */
  --c-primary:    #C41E3A;
  --c-primary-dk: #9B1530;
  --c-secondary:  #006B3C;
  --c-accent:     #F5C518;
  --c-accent-dk:  #D4A916;

  /* Neutrals */
  --c-dark:   #0D0D0D;
  --c-dark-2: #1A1A1A;
  --c-dark-3: #262626;
  --c-mid:    #525252;
  --c-muted:  #A3A3A3;
  --c-light:  #F5F5F5;
  --c-white:  #FFFFFF;

  /* Surface */
  --bg-page:    var(--c-white);
  --bg-alt:     #FAFAF8;
  --bg-card:    var(--c-white);
  --bg-inverse: var(--c-dark);
  --text-main:  var(--c-dark);
  --text-muted: var(--c-mid);
  --text-inv:   var(--c-white);
  --border:     #E5E5E5;
  --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), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  --shadow-xl:  0 32px 64px rgba(0,0,0,.16);

  /* Typography */
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Fluid type scale – clamp(min, preferred, max) */
  --fs-xs:   clamp(.75rem,  1.5vw, .875rem);
  --fs-sm:   clamp(.875rem, 1.8vw, 1rem);
  --fs-base: clamp(1rem,    2vw,   1.125rem);
  --fs-lg:   clamp(1.125rem,2.5vw, 1.25rem);
  --fs-xl:   clamp(1.25rem, 3vw,   1.5rem);
  --fs-2xl:  clamp(1.5rem,  4vw,   2rem);
  --fs-3xl:  clamp(1.875rem,5vw,   2.5rem);
  --fs-4xl:  clamp(2.25rem, 6vw,   3.25rem);
  --fs-hero: clamp(2.75rem, 8vw,   5rem);

  /* Spacing */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1rem, 5vw, 2rem);
  --radius-sm: .375rem;
  --radius-md: .75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.4,0,.2,1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* Nav */
  --nav-h: 72px;
}

/* Dark mode */
[data-theme="dark"] {
  --bg-page:   #0D0D0D;
  --bg-alt:    #141414;
  --bg-card:   #1A1A1A;
  --bg-inverse:#F5F5F5;
  --text-main: #F5F5F5;
  --text-muted:#A3A3A3;
  --text-inv:  #0D0D0D;
  --border:    #2A2A2A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page:   #0D0D0D;
    --bg-alt:    #141414;
    --bg-card:   #1A1A1A;
    --bg-inverse:#F5F5F5;
    --text-main: #F5F5F5;
    --text-muted:#A3A3A3;
    --text-inv:  #0D0D0D;
    --border:    #2A2A2A;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,.5);
    --shadow-lg: 0 20px 40px rgba(0,0,0,.6);
  }
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--dur-base) var(--ease-in-out),
              color var(--dur-base) var(--ease-in-out);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--dur-fast);
}

a:hover { color: var(--c-primary-dk); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text-main);
}

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Skip link (accessibility) */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .5rem 1rem;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 1rem; }

/* ── 3. LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-20);
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(196,30,58,.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-4);
}

.section__title em {
  font-style: normal;
  color: var(--c-primary);
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 56ch;
  margin-inline: auto;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-6); }

/* ── 4. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: .875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast);
}

.btn:hover::after { background: rgba(255,255,255,.1); }
.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(196,30,58,.35);
}

.btn--primary:hover {
  background: var(--c-primary-dk);
  box-shadow: 0 6px 20px rgba(196,30,58,.45);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--c-white);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.16);
  color: var(--c-white);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}

.btn--whatsapp:hover {
  background: #20BA5A;
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transform: translateY(-2px);
}

.btn--sm { padding: .625rem 1.25rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.125rem 2.25rem; font-size: var(--fs-base); }

/* ── 5. NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all var(--dur-base) var(--ease-in-out);
}

.nav--scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

[data-theme="dark"] .nav--scrolled {
  background: rgba(13,13,13,.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav--scrolled {
    background: rgba(13,13,13,.88);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  background: var(--c-primary);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .875rem;
  color: var(--c-white);
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  letter-spacing: -.02em;
}

.nav__logo-tagline {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text-main);
  background: var(--bg-alt);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
}

.nav__theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}

.nav__theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--text-main);
}

/* Hamburger */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--text-main);
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
  transform-origin: center;
}

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

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg-page);
  z-index: 999;
  padding: var(--space-8) var(--gutter);
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile-link {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-main);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__mobile-link:hover { color: var(--c-primary); }

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

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(ellipse at 30% 50%, rgba(196,30,58,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,107,60,.05) 0%, transparent 55%),
              radial-gradient(ellipse at 60% 80%, rgba(245,197,24,.04) 0%, transparent 50%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(-2%, 1%) rotate(1deg); }
  66%  { transform: translate(1%, -1%) rotate(-.5deg); }
  100% { transform: translate(-1%, 2%) rotate(.75deg); }
}

/* Grid dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: .5;
}

[data-theme="dark"] .hero::after,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero::after {
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-20);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-secondary);
  background: rgba(0,107,60,.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(0,107,60,.15);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: normal;
  color: var(--c-accent);
}

.hero__sub {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: var(--space-10);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.stat__value {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -.03em;
  line-height: 1;
}

.stat__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.hero__img-wrap:hover img { transform: scale(1.04); }

/* Floating card */
.hero__float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  backdrop-filter: blur(8px);
  animation: floatY 4s ease-in-out infinite alternate;
}

@keyframes floatY {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.hero__float-card--tl {
  top: 10%;
  left: -12%;
  animation-duration: 5s;
}

.hero__float-card--br {
  bottom: 12%;
  right: -10%;
  animation-duration: 4.2s;
  animation-delay: .8s;
}

.hero__float-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero__float-icon--red { background: rgba(196,30,58,.12); }
.hero__float-icon--green { background: rgba(0,107,60,.12); }

.hero__float-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.3;
}

.hero__float-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-main);
  line-height: 1;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: fadeUp .6s var(--ease-out) 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 7. TRUST BAR ── */
.trust {
  padding-block: var(--space-8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.trust__item-icon {
  font-size: 1.25rem;
}

/* ── 8. SERVICES ── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__num {
  font-family: var(--font-head);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -.04em;
  transition: color var(--dur-base);
}

.service-card:hover .service-card__num { color: rgba(196,30,58,.12); }

.service-card__img {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.service-card:hover .service-card__img img { transform: scale(1.06); }

.service-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.service-card__feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  margin-top: auto;
  transition: gap var(--dur-fast);
}

.service-card:hover .service-card__cta { gap: var(--space-3); }

/* ── 9. PORTFOLIO ── */
.portfolio__filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.filter-btn {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--space-6);
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

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

.portfolio-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.portfolio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__thumb img { transform: scale(1.08); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  opacity: 0;
  transition: opacity var(--dur-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(0,0,0,.4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
}

.portfolio-card__body {
  padding: var(--space-6);
}

.portfolio-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.portfolio-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.portfolio-card__metrics {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.portfolio-card__metric-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-primary);
}

.portfolio-card__metric-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ── 10. PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}

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

.pricing-card--featured {
  background: var(--c-dark);
  border-color: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 0 0 1px var(--c-primary), var(--shadow-xl);
}

.pricing-card--featured * { color: var(--c-white); }

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-5);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-card__name {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.pricing-card--featured .pricing-card__name { color: rgba(255,255,255,.6); }

.pricing-card__price {
  font-family: var(--font-head);
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card__period {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding-block: var(--space-4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
}

.pricing-card--featured .pricing-card__desc {
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}

.pricing-card__feature-icon {
  width: 20px;
  height: 20px;
  background: rgba(0,107,60,.12);
  color: var(--c-secondary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  flex-shrink: 0;
}

.pricing-card--featured .pricing-card__feature-icon {
  background: rgba(245,197,24,.15);
  color: var(--c-accent);
}

.pricing-card__old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: var(--fs-lg);
  font-weight: 400;
  margin-left: var(--space-2);
}

/* ── 11. TESTIMONIALS ── */
.testimonials {
  background: var(--c-dark);
  color: var(--c-white);
}

.testimonials .section__tag {
  color: var(--c-accent);
  background: rgba(245,197,24,.1);
}

.testimonials .section__title { color: var(--c-white); }
.testimonials .section__subtitle { color: rgba(255,255,255,.6); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--dur-base) var(--ease-out);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
  color: var(--c-accent);
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.1);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--c-white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--c-white);
  font-size: var(--fs-sm);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
}

/* ── 12. BLOG ── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

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

.blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.blog-card:hover .blog-card__thumb img { transform: scale(1.06); }

.blog-card__body {
  padding: var(--space-6);
}

.blog-card__category {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-3);
}

.blog-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.blog-card__read-time {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-card__link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--dur-fast);
}

.blog-card:hover .blog-card__link { gap: var(--space-2); }

/* Blog article expand */
.blog-article {
  display: none;
  grid-column: 1 / -1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin-top: calc(-1 * var(--space-3));
}

.blog-article.is-open { display: block; }

.blog-article__content {
  max-width: 72ch;
  font-size: var(--fs-base);
  line-height: 1.8;
}

.blog-article__content h4 {
  font-size: var(--fs-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.blog-article__content p { margin-bottom: var(--space-5); }
.blog-article__content p:last-child { margin-bottom: 0; }

.blog-article__cta {
  background: var(--c-primary);
  border-left: 4px solid var(--c-accent);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  font-style: italic;
  color: var(--c-white);
  margin-top: var(--space-8);
}

/* ── 13. FAQ ── */
.faq__list {
  max-width: 56rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-base);
}

.faq-item.is-open { box-shadow: var(--shadow-md); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--dur-fast);
}

.faq-item__trigger:hover { color: var(--c-primary); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--c-primary);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--c-primary); color: var(--c-white); }

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out);
}

.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }

.faq-item__inner {
  overflow: hidden;
}

.faq-item__content {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 14. METHODE / PROCESS ── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-6);
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.process-step {
  text-align: center;
  padding: var(--space-6);
  position: relative;
}

.process-step__num {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--c-primary);
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  transition: all var(--dur-base) var(--ease-out);
}

.process-step:hover .process-step__num {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 8px rgba(196,30,58,.1);
}

.process-step__title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 15. CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-12);
  align-items: start;
}

.contact__info-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

.contact__info-sub {
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-fast);
  text-decoration: none;
  color: var(--text-main);
}

.contact__channel:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  transform: translateX(4px);
}

.contact__channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__channel-icon--wa  { background: rgba(37,211,102,.12); }
.contact__channel-icon--em  { background: rgba(196,30,58,.1); }
.contact__channel-icon--map { background: rgba(0,107,60,.1); }

.contact__channel-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact__channel-val {
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* Form */
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-main);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(196,30,58,.12);
  background: var(--bg-card);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ── 16. STICKY WHATSAPP ── */
.wa-sticky {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: grid;
  place-items: center;
  font-size: 1.625rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none;
}

.wa-sticky:hover {
  background: #20BA5A;
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
  color: var(--c-white);
}

.wa-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.3);
  animation: waRing 2s ease-out infinite;
}

@keyframes waRing {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── 17. FOOTER ── */
.footer {
  background: var(--c-dark);
  color: var(--c-white);
  padding-top: var(--space-16);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-name {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--space-2);
}

.footer__brand-tagline {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  margin-bottom: var(--space-6);
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
}

.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.footer__link:hover { color: var(--c-white); }

.footer__payments {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__payment-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-6);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}

/* ── 18. ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── 19. RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn--primary { display: none; }
  .nav__burger { display: flex; }
  .nav__actions { margin-left: auto; }
  .nav__theme-toggle { display: flex; }

  .hero__title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero__badge { margin-inline: auto; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-2); text-align: center; }

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

  .wa-sticky { width: 52px; height: 52px; bottom: var(--space-6); right: var(--space-6); font-size: 1.375rem; }

  .process__steps::before { display: none; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .section { padding-block: var(--space-12); }
  .btn--lg { padding: .9rem 1.5rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__stats { flex-direction: column; gap: var(--space-5); }
}
