/* ==========================================================================
   2LD — Design System
   Soluções Web · Software · Cloud
   ========================================================================== */

:root{
  /* Brand */
  --brand-50:  #eaf2fc;
  --brand-100: #cfe2f8;
  --brand-300: #6fa4e4;
  --brand-500: #1866c9;
  --brand-600: #14559f;
  --brand-700: #0f4a99;
  --brand-800: #0a3671;
  --brand-900: #071f45;

  --accent-400: #ff9457;
  --accent-500: #ff7a33;
  --accent-600: #e8621f;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Neutrals */
  --navy-950: #050a14;
  --navy-900: #0a1122;
  --navy-800: #0f1b32;
  --navy-700: #16253f;
  --navy-600: #24365a;

  --ink-900: #0e1726;
  --ink-700: #33415a;
  --ink-500: #5b6b85;
  --ink-300: #97a4bb;
  --ink-100: #e4e9f2;
  --ink-50:  #f5f7fb;

  --white: #ffffff;

  /* Semantic */
  --success: #1fa971;
  --error: #e0483e;

  /* Gradients */
  --g-brand: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-800) 100%);
  --g-brand-soft: linear-gradient(135deg, rgba(24,102,201,.12) 0%, rgba(10,54,113,.04) 100%);
  --g-hero: radial-gradient(60% 60% at 80% 10%, rgba(24,102,201,.35) 0%, rgba(5,10,20,0) 60%),
            radial-gradient(50% 50% at 10% 90%, rgba(255,122,51,.18) 0%, rgba(5,10,20,0) 60%),
            linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  --g-cta: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-500) 45%, var(--accent-500) 130%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(14,23,38,.06);
  --shadow-md: 0 12px 32px -8px rgba(14,23,38,.16);
  --shadow-lg: 0 24px 64px -16px rgba(10,20,40,.28);
  --shadow-brand: 0 16px 40px -12px rgba(24,102,201,.45);
  --shadow-whatsapp: 0 12px 28px -8px rgba(37,211,102,.55);

  --ease: cubic-bezier(.22,.85,.32,1);
  --dur-sm: .2s;
  --dur-md: .4s;

  --header-h: 78px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
* { margin: 0; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; padding: 0; }
button, input, textarea, select{ font: inherit; color: inherit; }
button{ cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4, h5, h6{
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
:focus-visible{
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link{
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brand-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-sm) var(--ease);
}
.skip-link:focus{ top: 12px; }
section[id], div[id]{ scroll-margin-top: 90px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}
.section{ position: relative; padding-block: 96px; }
.section--tight{ padding-block: 64px; }
@media (max-width: 767px){
  .section{ padding-block: 64px; }
  .section--tight{ padding-block: 44px; }
}
.section-head{
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center{ margin-inline: auto; text-align: center; }
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
  flex-shrink: 0;
}
.eyebrow--dark{
  color: var(--brand-300);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.section-head h2{ font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 16px; }
.section-head p{ color: var(--ink-500); font-size: 1.08rem; }
.text-dark .section-head p{ color: rgba(255,255,255,.72); }
.text-dark .section-head h2{ color: #fff; }

.grid{ display: grid; gap: 28px; }
.bg-light{ background: var(--ink-50); }
.bg-dark{ background: var(--navy-900); color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: .98rem;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  transition: transform var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg{ width: 20px; height: 20px; flex-shrink: 0; }
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(24,102,201,.55); }

.btn--whatsapp{
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-whatsapp);
}
.btn--whatsapp:hover{ background: var(--whatsapp-dark); transform: translateY(-2px); }

.btn--ghost{
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-100);
}
.btn--ghost:hover{ border-color: var(--brand-500); color: var(--brand-500); }

.btn--ghost-dark{
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.btn--ghost-dark:hover{ border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

.btn--sm{ padding: 11px 20px; font-size: .9rem; }
.btn--block{ width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5,10,20,.0);
  transition: background var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease), backdrop-filter var(--dur-md) var(--ease), height var(--dur-md) var(--ease);
}
.site-header::before{
  content: '';
  position: absolute; inset: 0;
  background: rgba(6,12,24,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 1;
  transition: opacity var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header.is-scrolled{ height: 68px; }
.site-header.is-scrolled::before{
  background: rgba(6,12,24,.86);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.4);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.brand{ display: flex; align-items: center; }
.brand img{ height: 32px; width: auto; }

.nav{ display: flex; align-items: center; gap: 4px; }
.nav-link{
  padding: 10px 16px;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius-full);
  transition: color var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease);
}
.nav-link:hover, .nav-link.is-active{ color: #fff; background: rgba(255,255,255,.08); }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 2;
}
.nav-toggle span{
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur-sm) var(--ease), opacity var(--dur-sm) var(--ease);
}
.nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px){
  .nav-toggle{ display: flex; }
  .nav{
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    background: var(--navy-950);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--dur-md) var(--ease);
    padding: 24px;
  }
  .nav.is-open{ transform: translateX(0); }
  .nav-link{ font-size: 1.2rem; padding: 14px 22px; }
  .header-actions .btn--whatsapp span.btn-label-full{ display: none; }
}
@media (min-width: 992px){
  .nav-toggle{ display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 110px;
  background: var(--g-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid-bg{
  position: absolute; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, black 40%, transparent 90%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 88px 44px, 88px 44px; }
}
.hero-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: .55;
}
.hero-orb--1{ width: 420px; height: 420px; background: var(--brand-500); top: -120px; right: -80px; animation: floatY 10s ease-in-out infinite; }
.hero-orb--2{ width: 320px; height: 320px; background: var(--accent-500); bottom: -100px; left: -60px; opacity: .3; animation: floatY 12s ease-in-out infinite reverse; }
@keyframes floatY{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-24px);} }

.hero .container{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 991px){
  .hero .container{ grid-template-columns: 1fr; }
}
.hero-copy h1{
  font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem);
  color: #fff;
  margin-bottom: 22px;
}
.hero-copy h1 em{
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-300), var(--accent-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p{
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats{ display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stats .stat b{
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: #fff;
  font-weight: 600;
}
.hero-stats .stat span{ font-size: .88rem; color: rgba(255,255,255,.6); }

/* Hero visual: code / dashboard mockup, built with HTML+CSS only */
.hero-visual{ position: relative; }
.mockup{
  position: relative;
  background: rgba(15,22,40,.72);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: floatY 8s ease-in-out infinite;
}
.mockup-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mockup-bar span{ width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mockup-bar span:nth-child(1){ background: #ff5f57; }
.mockup-bar span:nth-child(2){ background: #febc2e; }
.mockup-bar span:nth-child(3){ background: #28c840; }
.mockup-bar em{
  font-style: normal;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}
.mockup-body{ padding: 22px 24px 26px; font-family: var(--font-mono); font-size: .84rem; line-height: 1.9; }
.mockup-line{ display: flex; gap: 12px; white-space: pre; }
.mockup-line .ln{ color: rgba(255,255,255,.25); width: 18px; text-align: right; flex-shrink: 0; }
.tok-kw{ color: #c792ea; }
.tok-fn{ color: #82aaff; }
.tok-str{ color: #ffb86c; }
.tok-com{ color: rgba(255,255,255,.35); }
.tok-var{ color: #7fd8be; }
.mockup-line.typing .tok-cursor{
  display: inline-block; width: 7px; height: 15px; background: var(--brand-300);
  animation: blink 1s step-end infinite; margin-left: 2px; vertical-align: middle;
}
@keyframes blink{ 50%{ opacity: 0; } }

.float-card{
  position: absolute;
  background: rgba(15,22,40,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  font-size: .85rem;
  z-index: 2;
}
.float-card svg{ width: 20px; height: 20px; }
.float-card b{ display: block; font-size: .95rem; }
.float-card span{ color: rgba(255,255,255,.55); font-size: .76rem; }
.float-card--uptime{ top: -22px; left: -18px; animation: floatY 7s ease-in-out infinite; }
.float-card--deploy{ bottom: -20px; right: -14px; animation: floatY 9s ease-in-out infinite reverse; }
.float-card .ico-good{ color: #34d399; }
@media (max-width: 575px){
  .float-card{ position: static; margin-top: 14px; }
}

/* ==========================================================================
   Logos / trust strip
   ========================================================================== */
.trust-strip{
  padding-block: 26px;
  border-bottom: 1px solid var(--ink-100);
}
.trust-strip .container{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  font-size: .92rem;
}
.trust-strip .item{ display: flex; align-items: center; gap: 10px; font-weight: 500; }
.trust-strip svg{ width: 18px; height: 18px; color: var(--brand-500); flex-shrink: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card .icon{
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--g-brand-soft);
  color: var(--brand-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--dur-md) var(--ease), color var(--dur-md) var(--ease), transform var(--dur-md) var(--ease);
}
.service-card:hover .icon{ background: var(--g-brand); color: #fff; transform: scale(1.06) rotate(-4deg); }
.service-card .icon svg{ width: 26px; height: 26px; }
.service-card h3{ font-size: 1.08rem; margin-bottom: 10px; }
.service-card p{ color: var(--ink-500); font-size: .93rem; margin-bottom: 16px; }
.service-card ul{ display: flex; flex-direction: column; gap: 7px; }
.service-card li{
  font-size: .85rem;
  color: var(--ink-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card li svg{ width: 14px; height: 14px; color: var(--brand-500); margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   Differentials
   ========================================================================== */
.diff-wrap{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 991px){ .diff-wrap{ grid-template-columns: 1fr; gap: 40px; } }
.diff-list{ display: flex; flex-direction: column; gap: 22px; }
.diff-item{ display: flex; gap: 16px; }
.diff-item .num{
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--brand-500);
  background: var(--brand-50);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
}
.diff-item h4{ font-size: 1.02rem; margin-bottom: 4px; }
.diff-item p{ color: var(--ink-500); font-size: .93rem; }

.diff-panel{
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.diff-panel::before{
  content: '';
  position: absolute; inset: 0;
  background: var(--g-hero);
  opacity: .9;
  z-index: 0;
}
.diff-panel > *{ position: relative; z-index: 1; }
.diff-panel h3{ color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.diff-panel p{ color: rgba(255,255,255,.65); margin-bottom: 26px; }
.diff-metrics{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff-metrics .metric{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.diff-metrics b{ display: block; font-family: var(--font-mono); font-size: 1.5rem; color: var(--brand-300); }
.diff-metrics span{ font-size: .8rem; color: rgba(255,255,255,.6); }

/* ==========================================================================
   Technologies
   ========================================================================== */
.tech-grid{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px){ .tech-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .tech-grid{ grid-template-columns: 1fr; } }
.tech-card{
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.tech-card h4{ font-size: .98rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.tech-card h4 svg{ width: 20px; height: 20px; color: var(--brand-500); }
.tech-tags{ display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag{
  font-size: .78rem;
  font-family: var(--font-mono);
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-full);
  color: var(--ink-700);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 991px){ .about-wrap{ grid-template-columns: 1fr; gap: 36px; } }
.about-copy p{ color: var(--ink-500); margin-bottom: 18px; font-size: 1.02rem; }
.about-copy p:last-of-type{ margin-bottom: 30px; }

.about-visual{
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  background: var(--g-brand);
  overflow: hidden;
  isolation: isolate;
}
.about-visual::before{
  content:'';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 85%);
}
.about-visual .orb{
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: var(--accent-500); filter: blur(70px); opacity: .5;
  bottom: -60px; right: -40px;
}
.about-visual-content{
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 18px;
  padding: 30px;
  text-align: center;
  color: #fff;
}
.about-visual-content .logo-chip{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 28px;
  box-shadow: var(--shadow-lg);
}
.about-visual-content .logo-chip img{ height: 34px; width: auto; }
.about-visual-content strong{ font-size: 1.6rem; letter-spacing: .04em; }
.about-visual-content span{ color: rgba(255,255,255,.75); font-size: .95rem; max-width: 280px; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner{
  background: var(--g-cta);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-banner::before{
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .4;
}
.cta-banner > *{ position: relative; z-index: 1; }
.cta-banner h2{ color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 14px; }
.cta-banner p{ color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 575px){ .cta-banner{ padding: 44px 22px; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
}
@media (max-width: 991px){ .contact-wrap{ grid-template-columns: 1fr; } }

.contact-cards{ display: flex; flex-direction: column; gap: 16px; }
.contact-card{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  transition: border-color var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.contact-card:is(a):hover{ border-color: var(--brand-500); transform: translateX(4px); }
.contact-card .icon{
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--g-brand); color: #fff; flex-shrink: 0;
}
.contact-card.whatsapp .icon{ background: var(--whatsapp); }
.contact-card .icon svg{ width: 22px; height: 22px; }
.contact-card b{ display: block; font-size: .96rem; }
.contact-card span{ color: var(--ink-500); font-size: .86rem; }

.contact-form-panel{
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (max-width: 575px){ .contact-form-panel{ padding: 24px 18px; } }

.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 575px){ .form-row{ grid-template-columns: 1fr; gap: 0; } }
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: .86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-700); }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-100);
  background: #fff;
  font-size: .95rem;
  transition: border-color var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field .error-msg{ color: var(--error); font-size: .8rem; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--error); }
.field.has-error .error-msg{ display: block; }

.form-foot{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.form-note{ font-size: .8rem; color: var(--ink-500); }

.form-alert{
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 18px;
  display: none;
  align-items: center;
  gap: 10px;
}
.form-alert.is-visible{ display: flex; }
.form-alert--success{ background: rgba(31,169,113,.12); color: var(--success); }
.form-alert--error{ background: rgba(224,72,62,.12); color: var(--error); }
.form-alert svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn[disabled]{ opacity: .65; pointer-events: none; }
.spinner{
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}
.is-loading .spinner{ display: inline-block; }
.is-loading .btn-label{ display: none; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-block: 64px 28px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 767px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand img{ height: 30px; margin-bottom: 16px; object-fit: contain}
.footer-brand p{ font-size: .9rem; max-width: 300px; line-height: 1.7; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-sm) var(--ease);
}
.footer-social a:hover{ background: var(--brand-500); }
.footer-social svg{ width: 17px; height: 17px; }

.footer-col h5{ color: #fff; font-size: .92rem; margin-bottom: 18px; letter-spacing: .03em; text-transform: uppercase; }
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: .9rem; transition: color var(--dur-sm) var(--ease); }
.footer-col a:hover{ color: #fff; }
.footer-col li{ display: flex; align-items: flex-start; gap: 8px; }
.footer-col li svg{ width: 15px; height: 15px; margin-top: 3px; color: var(--brand-300); flex-shrink: 0; }

.footer-bottom{
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ==========================================================================
   Floating WhatsApp + back to top
   ========================================================================== */
.float-actions{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-float{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-whatsapp);
  font-weight: 600;
  font-size: .92rem;
  position: relative;
}
.wa-float svg{ width: 24px; height: 24px; flex-shrink: 0; }
.wa-float::after{
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float .wa-label{ white-space: nowrap; }
@media (max-width: 575px){
  .wa-float .wa-label{ display: none; }
  .wa-float{ padding: 15px; }
}

.back-to-top{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.back-to-top.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg{ width: 18px; height: 18px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-revealed{ opacity: 1; transform: translateY(0); }
[data-reveal-group] > *{ transition-delay: calc(var(--i, 0) * 80ms); }

/* ==========================================================================
   Misc
   ========================================================================== */
.hidden{ display: none !important; }
::selection{ background: var(--brand-500); color: #fff; }

.badge-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-600);
}
