/* =====================================================
   RTardim — styles.css
   Arquitetura: Mobile First | BEM-light | CSS Custom Props
   Breakpoints: 480 | 640 | 768 | 1024 | 1280
===================================================== */

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

/* ─── CUSTOM PROPERTIES ──────────────────────────── */
:root {
  /* Colors */
  --bg:           #0a0a0a;
  --fg:           #f4f4f4;
  --card:         #131313;
  --border:       rgba(255,255,255,.09);
  --border-hover: rgba(229,42,0,.4);
  --muted:        #101010;
  --muted-fg:     #9a9a9a;
  --navy:         #060606;
  --primary:      #e10600;
  --accent:       #e52a00;
  --accent-light: rgba(229,42,0,.12);
  --white:        #f4f4f4;

  /* Fonts */
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #060606 0%, #1c0900 55%, #7a0000 100%);
  --grad-text:   linear-gradient(135deg, #fff 0%, #e06030 100%);
  --grad-accent: linear-gradient(135deg, #e52a00 0%, #b01800 100%);

  /* Shadows */
  --shadow-glow:    0 0 40px rgba(229,42,0,.4);
  --shadow-card:    0 4px 24px rgba(0,0,0,.5);
  --shadow-elegant: 0 16px 48px -12px rgba(225,6,0,.3);

  /* Radii */
  --r-sm: .5rem;
  --r:    .75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  /* Transitions */
  --t: .24s cubic-bezier(.4,0,.2,1);

  /* Section vertical padding — mobile first */
  --section-py: 3.5rem;
}
@media (min-width: 768px)  { :root { --section-py: 5rem;   } }
@media (min-width: 1024px) { :root { --section-py: 6.5rem; } }

/* ─── BASE ───────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--fg);
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Focus visible — keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── LAYOUT ─────────────────────────────────────── */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
  max-width: 1280px;
}
@media (min-width: 480px)  { .container { padding-inline: 1.25rem; } }
@media (min-width: 768px)  { .container { padding-inline: 2rem;    } }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem;  } }

/* ─── UTILITIES ──────────────────────────────────── */
.tg-hero {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.tg-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.label-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
}
.section-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-top: .5rem;
  margin-bottom: 1.25rem;
}
.section-center {
  max-width: 36rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-center p { color: var(--muted-fg); font-size: .9375rem; margin-top: .625rem; }

/* ─── BUTTONS ────────────────────────────────────── */
/* touch target ≥ 48 × 48 px (WCAG 2.5.5) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: filter var(--t), background var(--t), transform var(--t);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn svg { flex-shrink: 0; transition: transform var(--t); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Full-width on tiny screens */
@media (max-width: 479px) {
  .btn { width: 100%; justify-content: center; }
}

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal   { transform: translateY(24px);  }
.reveal-l { transform: translateX(-24px); }
.reveal-r { transform: translateX(24px);  }
.reveal.vis,
.reveal-l.vis,
.reveal-r.vis { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r {
    transition: opacity .3s ease;
    transform: none !important;
  }
}

/* =====================================================
   NAVBAR
===================================================== */
#navbar {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 100;
  background: rgba(6,6,6,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
}
#navbar.scrolled {
  background: rgba(6,6,6,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  gap: 1rem;
}
@media (min-width: 768px) { .nav-inner { height: 4.25rem; } }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 2rem;
  width: auto;
  mix-blend-mode: screen;
}
@media (min-width: 768px) { .nav-logo-img { height: 2.25rem; } }

/* Fallback badge (shown if SVG fails to load) */
.nav-logo-badge {
  display: none;
  width: 2.125rem; height: 2.125rem;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  align-items: center; justify-content: center;
  font-weight: 800; font-size: .8125rem; color: #fff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.nav-logo img.error + .nav-logo-badge { display: flex; }

/* Desktop links */
.nav-links { display: none; }
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color var(--t);
  position: relative;
  padding-block: .25rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px; width: 0;
  background: var(--accent);
  transition: width var(--t);
  border-radius: 1px;
}
.nav-links a:hover              { color: #fff; }
.nav-links a:hover::after       { width: 100%; }

/* Desktop CTA */
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; color: #fff;
  border-radius: var(--r-sm);
  transition: background var(--t);
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

/* Mobile menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.25rem 1rem 1.5rem;
  background: rgba(6,6,6,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: .25rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
  min-height: 44px;
}
#mobile-menu a:hover   { background: rgba(255,255,255,.06); color: #fff; }
#mobile-menu .btn      { margin-top: .75rem; }

/* =====================================================
   HERO
===================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .55;
  /* Prevents layout shift — explicit dimensions hint */
  content-visibility: auto;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,6,6,.75) 0%,
    rgba(6,6,6,.55) 50%,
    #060606 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 {
  top: 4rem; left: -8rem;
  width: min(480px, 80vw); height: min(480px, 80vw);
  background: rgba(225,6,0,.18);
}
.hero-blob-2 {
  bottom: -8rem; right: -8rem;
  width: min(440px, 70vw); height: min(440px, 70vw);
  background: rgba(229,42,0,.13);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 6rem;
  padding-bottom: 3rem;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-content { padding-top: 8rem; padding-bottom: 4rem; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding: .4rem .875rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: .5rem; height: .5rem;
  border-radius: 9999px;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1);    }
  50%      { opacity:.6; transform:scale(1.25); }
}
.hero-badge span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
}
.hero-h1 {
  font-size: clamp(2rem, 7vw, 4.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.hero-p {
  font-size: clamp(.9375rem, 2.5vw, 1.125rem);
  color: rgba(255,255,255,.68);
  max-width: 44ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 3rem;
}
@media (min-width: 480px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
  max-width: 26rem;
}
@media (min-width: 480px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
}
.stat-item    { border-left: 2px solid rgba(229,42,0,.55); padding-left: .75rem; }
.stat-num     { font-size: 1.375rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-label   { font-size: .6875rem; color: rgba(255,255,255,.55); margin-top: .25rem; }

/* =====================================================
   ABOUT
===================================================== */
#about { padding: var(--section-py) 0; background: var(--bg); }
.about-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-img-wrap  { position: relative; }
.about-img-glow  {
  position: absolute; inset: -1rem;
  background: linear-gradient(135deg, rgba(225,6,0,.18), rgba(229,42,0,.14));
  border-radius: var(--r-xl);
  filter: blur(28px);
  pointer-events: none;
}
.about-img {
  position: relative;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-elegant);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about-badge {
  display: none;
  position: absolute;
  bottom: -1.25rem; right: -1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-elegant);
  max-width: 152px;
}
@media (min-width: 640px) { .about-badge { display: block; } }
.about-badge-num   { font-size: 1.625rem; font-weight: 700; color: var(--accent); }
.about-badge-label { font-size: .6875rem; color: rgba(255,255,255,.65); margin-top: .25rem; line-height: 1.4; }

.about-p    { color: var(--muted-fg); line-height: 1.8; margin-bottom: .875rem; font-size: .9375rem; }
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1.5rem;
}
.value-item {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .875rem;
  color: rgba(244,244,244,.85);
  line-height: 1.45;
}
.check-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; width: 18px; height: 18px; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.stat-big   { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: var(--primary); line-height: 1; }
.stat-small { font-size: .6875rem; color: var(--muted-fg); margin-top: .25rem; }

/* =====================================================
   SERVICES
===================================================== */
#services { padding: var(--section-py) 0; background: #0d0d0d; }
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  cursor: default;
}
@media (min-width: 768px) { .service-card { padding: 1.875rem; } }
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elegant);
}
.service-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--accent); color: #fff; }
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-h3   { font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; color: var(--fg); }
.service-p    { font-size: .875rem; color: var(--muted-fg); line-height: 1.7; }

/* =====================================================
   DIFFERENTIALS
===================================================== */
#diffs {
  padding: var(--section-py) 0;
  background: var(--navy); color: #fff;
  position: relative; overflow: hidden;
}
.diff-blob {
  position: absolute; border-radius: 9999px;
  filter: blur(72px); pointer-events: none;
}
.diff-blob-1 { top:0; right:0; width:min(550px,80vw); height:min(550px,80vw); background:rgba(225,6,0,.13); }
.diff-blob-2 { bottom:0; left:0; width:min(450px,70vw); height:min(450px,70vw); background:rgba(229,42,0,.09); }

.diffs-intro { max-width: 38rem; margin-bottom: 3.5rem; position: relative; }
.diffs-intro .section-title { color: #fff; }

.diffs-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
@media (min-width: 480px)  { .diffs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diffs-grid { grid-template-columns: repeat(3, 1fr); } }

.diff-item { background: var(--navy); padding: 1.5rem; transition: background var(--t); }
@media (min-width: 768px) { .diff-item { padding: 1.875rem; } }
.diff-item:hover { background: rgba(255,255,255,.03); }
.diff-icon { color: var(--accent); margin-bottom: 1rem; transition: transform var(--t); }
.diff-item:hover .diff-icon { transform: scale(1.1); }
.diff-icon svg { width: 1.625rem; height: 1.625rem; }
.diff-h3 { font-size: 1rem; font-weight: 700; margin-bottom: .375rem; color: #fff; }
.diff-p  { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; }

/* =====================================================
   CASES
===================================================== */
#cases { padding: var(--section-py) 0; background: var(--bg); }
.cases-header {
  display: flex; flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .cases-header { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
}
.cases-header-desc { color: var(--muted-fg); font-size: .9375rem; max-width: 22rem; flex-shrink: 0; }

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

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.case-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-3px); }
.case-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
@media (min-width: 640px) { .case-img-wrap { aspect-ratio: 4 / 3; } }
.case-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-img { transform: scale(1.04); }
.case-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,.82), rgba(6,6,6,.18), transparent);
}
.case-tag {
  position: absolute; top: .875rem; left: .875rem;
  background: rgba(255,255,255,.94);
  color: #090909;
  font-size: .75rem; font-weight: 700;
  padding: .25rem .625rem;
  border-radius: 9999px;
}
.case-body { padding: 1.25rem; }
@media (min-width: 768px) { .case-body { padding: 1.5rem; } }
.case-h3   { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.35; }
.case-p    { font-size: .875rem; color: var(--muted-fg); line-height: 1.65; }
.case-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.case-metric       { font-size: 1.375rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: .35rem; }
.case-metric-label { font-size: .6875rem; color: var(--muted-fg); margin-top: .2rem; }

/* =====================================================
   TESTIMONIALS
===================================================== */
#testimonials { padding: var(--section-py) 0; background: #0d0d0d; }
.testi-wrap { max-width: 52rem; margin: 3.5rem auto 0; }
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  min-height: 16rem; /* prevents CLS */
}
@media (min-width: 640px) { .testi-card { padding: 2.5rem; min-height: 18rem; } }
@media (min-width: 768px) { .testi-card { padding: 3rem; } }
.testi-stars      { display: flex; gap: .25rem; color: var(--accent); margin-bottom: 1.25rem; }
.testi-stars svg  { width: 1rem; height: 1rem; fill: currentColor; }
.testi-quote      { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 500; line-height: 1.75; color: var(--fg); }
.testi-author     { display: flex; align-items: center; gap: .875rem; margin-top: 1.75rem; }
.testi-avatar {
  width: 2.75rem; height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .8125rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .9375rem; }
.testi-role { font-size: .8125rem; color: var(--muted-fg); }
.testi-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.5rem;
}
.testi-dots { display: flex; gap: .5rem; }
.testi-dot {
  height: 6px; width: 16px;
  border-radius: 9999px;
  background: var(--border);
  border: none; cursor: pointer;
  transition: width var(--t), background var(--t);
  -webkit-tap-highlight-color: transparent;
}
.testi-dot.active { width: 32px; background: var(--accent); }
.testi-arrows { display: flex; gap: .5rem; }
.testi-arrow {
  width: 44px; height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card); color: var(--fg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), border-color var(--t), color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.testi-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.testi-arrow svg  { width: 1.125rem; height: 1.125rem; }
.testi-inner { transition: opacity .3s ease, transform .3s ease; }
.testi-inner.fade-out { opacity: 0; transform: translateY(8px); }

/* =====================================================
   CTA
===================================================== */
#cta-section { padding: var(--section-py) 0; background: var(--bg); }
.cta-box {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 640px)  { .cta-box { padding: 3rem;  } }
@media (min-width: 1024px) { .cta-box { padding: 4rem;  } }
.cta-blob { position: absolute; border-radius: 9999px; filter: blur(56px); pointer-events: none; }
.cta-blob-1 { top:-6rem; right:-4rem; width:360px; height:360px; background:rgba(229,42,0,.28); }
.cta-blob-2 { bottom:-6rem; left:-4rem; width:360px; height:360px; background:rgba(225,6,0,.22); }
.cta-content { position: relative; max-width: 44rem; }
.cta-title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 800; color: #fff;
  margin-top: .625rem; margin-bottom: 1.25rem;
}
.cta-p {
  font-size: clamp(.9375rem, 2vw, 1.0625rem);
  color: rgba(255,255,255,.72);
  max-width: 38ch; margin-bottom: 2rem; line-height: 1.75;
}
.cta-btns { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 480px) { .cta-btns { flex-direction: row; flex-wrap: wrap; } }

/* =====================================================
   FOOTER
===================================================== */
footer { background: var(--navy); color: #fff; }
.footer-inner {
  display: grid; gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 640px)  { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding: 5rem 0; } }

.footer-logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer-logo-img { height: 1.875rem; width: auto; mix-blend-mode: screen; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.58); line-height: 1.75; max-width: 28ch; }
.social-links { display: flex; gap: .625rem; margin-top: 1.25rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--t), border-color var(--t), color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-link svg  { width: .9375rem; height: .9375rem; }

.footer-h4 {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem; color: rgba(255,255,255,.9);
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .875rem; color: rgba(255,255,255,.58);
  transition: color var(--t);
  min-height: 36px; display: flex; align-items: center;
}
.footer-links a:hover { color: var(--accent); }

.contact-list { display: flex; flex-direction: column; gap: .875rem; }
.contact-item { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: rgba(255,255,255,.58); }
.contact-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-icon svg { width: .9375rem; height: .9375rem; }
.contact-item a   { color: rgba(255,255,255,.58); transition: color var(--t); }
.contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex; flex-direction: column; gap: .5rem;
  align-items: center; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.38);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
===================================================== */
#wa-btn {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  z-index: 200;
  width: 52px; height: 52px;
  border-radius: 9999px;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: opacity .3s ease, transform .3s ease, filter .2s ease;
  opacity: 0;
  transform: translateY(8px) scale(.9);
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) { #wa-btn { bottom: 1.75rem; right: 1.75rem; } }
#wa-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
#wa-btn:hover   { filter: brightness(1.08); }
#wa-btn svg     { width: 1.625rem; height: 1.625rem; fill: #fff; }
