/* =========================================================================
   ALTURA CAPITAL — MAIN STYLESHEET
   Design: Dark premium financial advisory
   Fonts: Playfair Display + DM Sans
   ========================================================================= */

/* ── IMPORTS ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────────────────────── */
:root {
  --c-dark:        #023b3a;
  --c-dark2:       #034d4b;
  --c-primary:     #023b3a;
  --c-secondary:   #065b58;
  --c-accent:      #4b9e9a;
  --c-accent-l:    #6bbab6;
  --c-accent-glow: rgba(75,158,154,0.15);
  --c-light:       #f2f7f7;
  --c-light2:      #e8f4f3;
  --c-white:       #ffffff;
  --c-text:        #1a2e2d;
  --c-text-muted:  #5a7a78;
  --c-border:      #d4e8e7;
  --c-border-dark: rgba(255,255,255,0.15);

  --grad-hero:   linear-gradient(135deg, #023b3a 0%, #065b58 50%, #0a7a75 100%);
  --grad-accent: linear-gradient(135deg, #023b3a, #4b9e9a);
  --grad-card:   linear-gradient(160deg, rgba(75,158,154,.08) 0%, rgba(2,59,58,.04) 100%);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 100px;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10,14,26,.08);
  --shadow-md: 0 8px 32px rgba(10,14,26,.12);
  --shadow-lg: 0 24px 80px rgba(10,14,26,.18);
  --shadow-accent: 0 8px 40px rgba(75,158,154,.25);

  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .3s var(--ease);

  --nav-h: 140px;
  --max-w: 1280px;
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: block;
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,.5); }

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--sp-3xl) 0; }
.section--dark { background: var(--c-primary); color: var(--c-white); }
.section--dark2 { background: var(--c-secondary); color: var(--c-white); }
.section--primary { background: var(--c-primary); color: var(--c-white); }
.section--light { background: var(--c-light); }
.section--white { background: var(--c-white); }

.section-header {
  max-width: 720px;
  margin-bottom: var(--sp-2xl);
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--c-text);
  margin-bottom: 16px;
}
.section--dark .section-title,
.section--dark2 .section-title,
.section--primary .section-title { color: var(--c-white); }

.section-desc {
  font-size: 17px;
  color: var(--c-text-muted);
  line-height: 1.75;
}
.section--dark .section-desc,
.section--dark2 .section-desc,
.section--primary .section-desc { color: rgba(255,255,255,.65); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--t);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: var(--t);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--c-accent-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(75,158,154,.35);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--c-white);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
}
.btn-outline-dark:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--c-accent);
  padding: 14px 0;
  gap: 10px;
}
.btn-ghost .arrow { transition: transform var(--t); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(2,40,38,.85) 0%, rgba(2,40,38,0) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background var(--t), box-shadow var(--t), border-bottom var(--t);
}
#navbar.scrolled {
  background: rgba(10,14,26,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--c-border-dark), 0 4px 24px rgba(0,0,0,.2);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img, .nav-logo svg {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  border-radius: var(--r-md);
  transition: color var(--t), background var(--t);
  text-shadow: 0 1px 8px rgba(0,0,0,.7), 0 0 20px rgba(0,0,0,.4);
  letter-spacing: .01em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-white);
  background: rgba(255,255,255,.06);
}
.nav-links a.active { color: var(--c-accent); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 24px; font-size: 13px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ─────────────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 20px) 40px 40px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 18px 0;
  font-size: 24px;
  font-family: var(--font-head);
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid var(--c-border-dark);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--c-accent); }
.mobile-nav .mobile-cta { margin-top: 32px; }

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

/* Vídeo de fundo */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay de cor/opacidade controlado pelo admin */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Geometric bg pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,158,154,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,158,154,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}

/* Glowing orb */
.hero::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  right: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(75,158,154,.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-3xl) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(75,158,154,.7);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  background: rgba(2,59,58,.7);
  border-color: rgba(255,255,255,.3);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border-dark);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-stat-num span { color: var(--c-accent); }
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  margin-top: 4px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Hero visual card */
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(2,40,39,.55);
  border: 1px solid rgba(75,158,154,.25);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  opacity: .6;
}
.hero-card-title {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-card-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  transition: var(--t);
  text-decoration: none;
  cursor: pointer;
}
.hero-service-item:hover {
  background: rgba(75,158,154,.08);
  border-color: rgba(75,158,154,.25);
  transform: translateX(4px);
}
.hero-service-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent-glow);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.hero-service-name {
  color: var(--c-white);
  font-size: 15px;
  font-weight: 500;
}
.hero-service-tag { display: none; }

/* Floating accent elements */
.hero-float-1 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(75,158,154,.2);
  border-radius: 50%;
  pointer-events: none;
}
.hero-float-2 {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(75,158,154,.15);
  border-radius: 50%;
  pointer-events: none;
}

/* ── SCROLL LINE ─────────────────────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.70);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 3;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .35; }
  50% { transform: translateX(-50%) translateY(6px); opacity: .65; }
}

/* ── STATS BAR ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--c-primary);
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--c-primary);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--t);
}
.stat-item:hover { background: var(--c-secondary); }
.stat-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  display: block;
}
.stat-number span { color: var(--c-accent); }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 8px;
  font-weight: 500;
}

/* ── ABOUT SECTION ───────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-accent);
  color: var(--c-white);
  padding: 24px 28px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-accent);
  text-align: center;
  min-width: 160px;
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge-text {
  font-size: 13px;
  opacity: .85;
  margin-top: 4px;
  font-weight: 500;
}

.about-text { padding-left: 20px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p {
  color: var(--c-text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}
.about-text .btn { margin-top: 16px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.about-tag {
  padding: 6px 16px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  transition: var(--t);
}
.about-tag:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

/* ── SOLUTIONS ───────────────────────────────────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.solution-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 28px 22px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--c-accent);
  transition: width var(--t);
}
.solution-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 20px 60px rgba(75,158,154,.12);
  transform: translateY(-4px);
}
.solution-card:hover::before { width: 100%; }

.sol-icon {
  width: 56px; height: 56px;
  background: var(--c-accent-glow);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 24px;
  transition: var(--t);
}
.solution-card:hover .sol-icon {
  background: var(--c-accent);
  color: var(--c-white);
}
.sol-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}
.sol-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--t);
}
.sol-link:hover { gap: 14px; }

/* Solution card image */
.sol-img-wrap {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.sol-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.solution-card:hover .sol-img-wrap img { transform: scale(1.05); }

/* Dark solutions grid */
.solution-card.dark {
  background: rgba(255,255,255,.04);
  border-color: var(--c-border-dark);
}
.solution-card.dark .sol-title { color: var(--c-white); }
.solution-card.dark .sol-desc { color: rgba(255,255,255,.6); }
.solution-card.dark:hover {
  border-color: rgba(75,158,154,.4);
  background: rgba(75,158,154,.06);
}

/* ── PILLARS ─────────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.pillar-card {
  padding: 40px 32px;
  position: relative;
  border-radius: 20px;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--c-accent);
  border-radius: 2px;
  transition: height .5s var(--ease);
}
.pillar-card.visible::before { height: 100%; }

.pillar-num {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 900;
  color: rgba(75,158,154,.12);
  line-height: 1;
  margin-bottom: -16px;
  display: block;
  transition: color var(--t);
}
.pillar-card:hover .pillar-num { color: rgba(75,158,154,.25); }
.pillar-icon {
  width: 52px; height: 52px;
  background: var(--c-accent-glow);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ── PROCESS ─────────────────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-secondary), var(--c-accent));
  opacity: .3;
}
.process-step {
  padding: 0 32px;
  position: relative;
  text-align: center;
}
.process-num {
  width: 80px; height: 80px;
  background: var(--c-accent-glow);
  border: 2px solid rgba(75,158,154,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-accent);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: var(--t);
}
.process-step:hover .process-num {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-accent);
}
.process-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.process-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ── SECTORS ─────────────────────────────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.sector-card {
  padding: 24px 20px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--t);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}
.sector-card:hover {
  background: var(--c-white);
  border-color: var(--c-accent);
  box-shadow: 0 8px 32px rgba(75,158,154,.12);
  transform: translateY(-2px);
}
/* Sector card with image */
.sector-card.has-img {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 160px;
  padding: 20px;
  background-size: cover;
  background-position: center;
  border: none;
}
.sector-card.has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,59,58,.85) 40%, rgba(2,59,58,.3));
  transition: opacity var(--t);
}
.sector-card.has-img:hover::before { opacity: .9; }
.sector-card.has-img .sector-icon,
.sector-card.has-img .sector-name {
  position: relative; z-index: 1;
}
.sector-card.has-img .sector-icon {
  background: rgba(255,255,255,.15);
  color: var(--c-white);
}
.sector-card.has-img:hover .sector-icon { background: var(--c-accent); }
.sector-card.has-img .sector-name { color: var(--c-white); font-size: 15px; }
.sector-card.has-img:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(2,59,58,.3); }
.sector-icon {
  width: 44px; height: 44px;
  background: var(--c-accent-glow);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: var(--t);
}
.sector-card:not(.has-img):hover .sector-icon {
  background: var(--c-accent);
  color: var(--c-white);
}
.sector-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--t);
}
.sector-card:not(.has-img):hover .sector-name { color: var(--c-primary); }

/* ── CTA SECTION ─────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--grad-accent);
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,59,58,.88), rgba(6,91,88,.82));
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--c-white);
  margin-bottom: 20px;
}
.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ── PAGE HERO (Interior pages) ─────────────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,59,58,.72);
  pointer-events: none;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(75,158,154,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(75,158,154,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--c-white);
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  max-width: 600px;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.breadcrumb a { color: var(--c-accent); transition: opacity var(--t); }
.breadcrumb a:hover { opacity: .8; }
.breadcrumb-sep { opacity: .3; }

/* ── CARDS GRID ──────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 36px;
  transition: var(--t);
}
.feature-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--c-accent-glow);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 20px;
  transition: var(--t);
}
.feature-card:hover .feature-icon {
  background: var(--c-accent);
  color: var(--c-white);
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-title {
  font-size: 32px;
  color: var(--c-text);
  margin-bottom: 12px;
}
.contact-info-desc {
  color: var(--c-text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--c-accent-glow);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.6;
}
.contact-item-value a {
  color: var(--c-text);
  transition: color var(--t);
}
.contact-item-value a:hover { color: var(--c-accent); }

/* Contact Form */
.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(75,158,154,.1);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  justify-content: center;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: #023b3a;
  background: var(--c-dark);
  color: rgba(255,255,255,.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-border-dark);
}
.footer-brand img { height: 36px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--c-accent); }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer-contact-item a { color: inherit; transition: color var(--t); }
.footer-contact-item a:hover { color: var(--c-accent); }
.footer-contact-icon { color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--c-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: var(--t);
}
.footer-social a:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-accent-glow);
}

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ALERTS ──────────────────────────────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.alert-success {
  background: rgba(75,158,154,.1);
  border: 1px solid rgba(75,158,154,.3);
  color: var(--c-secondary);
}
.alert-error {
  background: rgba(220,38,38,.05);
  border: 1px solid rgba(220,38,38,.2);
  color: #dc2626;
}

/* ── DIVIDER ─────────────────────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin: 20px 0;
}
.divider.center { margin: 20px auto; }
.divider.white { background: rgba(255,255,255,.3); }

/* ── MAP ─────────────────────────────────────────────────────────────────── */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
  transition: transform var(--t), box-shadow var(--t);
  animation: pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 48px rgba(37,211,102,.5);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,.35); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,.55), 0 0 0 10px rgba(37,211,102,.08); }
}

/* ── BACK TO TOP ─────────────────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 104px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--c-primary);
  border: 1px solid var(--c-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
}

@media (max-width: 1300px) {
  .solutions-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}



/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text { padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 640px) {
  :root { --sp-3xl: 60px; --nav-h: 110px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 12px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
