/* =============================================
   CLIMEJ – CSS Principal · Mobile First
   ============================================= */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --navy:        #0C153E;
  --navy-light:  #16206A;
  --navy-dark:   #080E2C;
  --gold:        #EEC54F;
  --gold-dark:   #D4A832;
  --gold-light:  #F5D878;
  --white:       #FFFFFF;
  --gray-50:     #F8F9FC;
  --gray-100:    #F0F2F8;
  --gray-200:    #E2E6F0;
  --gray-400:    #9CA3C0;
  --gray-600:    #4A5580;
  --text-dark:   #0C153E;
  --text-body:   #4A5580;
  --shadow-sm:   0 2px 8px rgba(12,21,62,.08);
  --shadow-md:   0 8px 32px rgba(12,21,62,.12);
  --shadow-lg:   0 20px 60px rgba(12,21,62,.18);
  --shadow-gold: 0 8px 32px rgba(238,197,79,.35);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --transition:      all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .5s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', sans-serif;
}

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

/* ---------- CONTAINER ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--lg { padding: 15px 32px; font-size: 16px; gap: 10px; }
.btn--full { width: 100%; justify-content: center; }

.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ---------- BADGE ---------- */
.badge { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.badge--gold { background: rgba(238,197,79,.2); color: var(--gold); border: 1px solid rgba(238,197,79,.4); }

/* ---------- SECTION LABELS & HEADERS ---------- */
.section-label { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; }
.section-label--light { color: var(--gold-light); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
/* ⚠️ BASE: heading color on light backgrounds */
.section-header h2 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header p { font-size: 16px; color: var(--text-body); line-height: 1.7; }

/* ⚠️ OVERRIDE: headings on dark backgrounds — double-class for higher specificity */
.section-header.section-header--light h2 { color: #fff; }
.section-header.section-header--light p  { color: rgba(255,255,255,.78); }

.highlight       { color: var(--gold); }
.highlight-light { color: var(--gold-light); }

/* ---------- FORM ELEMENTS ---------- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(238,197,79,.15); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234A5580' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
/* Mobile: single column form row */
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ============================================================
   NAVBAR  –  mobile base: always dark navy
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 10px 0;
  transition: var(--transition);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar__logo img {
  height: 56px;  /* logo maior no mobile */
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
/* Hamburger – visible on mobile */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
/* Menu – hidden on mobile, toggled via JS */
.navbar__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--navy);
  padding: 16px 20px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid rgba(255,255,255,.1);
}
.navbar__menu.open { display: block; }
.navbar__menu ul { display: flex; flex-direction: column; gap: 2px; }
.navbar__menu a {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  opacity: .85;
  transition: var(--transition);
}
.navbar__menu a:hover { background: rgba(255,255,255,.1); opacity: 1; }
/* CTA button – hidden on mobile */
.navbar__cta { display: none; }

/* ============================================================
   HERO  –  mobile base: single column, no scroll arrow
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 60px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(22,32,106,.6) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Imagens/Estrutura/estrutura (7).webp') center/cover no-repeat;
  opacity: .12;
  mix-blend-mode: overlay;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(238,197,79,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(238,197,79,.04) 0%, transparent 50%);
}
/* Mobile: single column */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero__content h1 {
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin: 14px 0 18px;
}
.hero__content p {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { width: 100%; justify-content: center; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; }
.trust-item i { color: var(--gold); font-size: 16px; }

/* Hero form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.form-card > p { font-size: 14px; color: var(--text-body); margin-top: -8px; }
.form-card form { display: flex; flex-direction: column; gap: 14px; }

/* Scroll arrow – hidden on mobile */
.hero__scroll { display: none; }

/* ============================================================
   STATS  –  mobile base: 2×2 grid
   ============================================================ */
.stats { background: var(--white); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--navy);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.stat-item:hover { background: var(--navy-light); }
.stat-item > i { font-size: 26px; color: var(--gold); flex-shrink: 0; }
.stat-item strong { font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; display: block; }
.stat-item span { font-size: 22px; font-weight: 900; color: var(--gold); }
.stat-item p { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 3px; font-weight: 500; }

/* ============================================================
   ABOUT  –  mobile base: single column, layered images preserved
   ============================================================ */
.about {
  padding: 64px 0;
  background: var(--gray-50);
}
/* Mobile: stack (image first, then text) */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ---------- IMAGES BLOCK (mobile) ---------- */
.about__images {
  position: relative;
  /* Extra bottom space for secondary image overlap */
  padding-bottom: 44px;
}
.about__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative; /* context for badge on mobile */
}
.about__img-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition-slow);
}
.about__img-main:hover img { transform: scale(1.03); }

/* Secondary image: bottom-right thumb, inside images block */
.about__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}
.about__img-secondary img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* Badge: bottom-left of images block */
.about__badge-float {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.about__badge-float i { font-size: 20px; flex-shrink: 0; }

/* ---------- TEXT BLOCK ---------- */
.about__text h2 {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.about__text .lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 14px;
}
.about__text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
}
.about__values-mini { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.value-mini { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dark); font-weight: 500; }
.value-mini i { color: var(--gold); font-size: 15px; flex-shrink: 0; }

/* ============================================================
   CEO  –  mobile base: centered single column
   ============================================================ */
.ceo {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.ceo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(238,197,79,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(238,197,79,.04) 0%, transparent 50%);
}
/* Mobile: stacked, centered */
.ceo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.ceo__photo { max-width: 180px; width: 100%; }
.ceo__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-gold);
}
.ceo__quote-icon { font-size: 40px; color: var(--gold); opacity: .6; margin-bottom: 12px; display: block; }
.ceo__quote blockquote { font-size: 18px; font-weight: 500; color: var(--white); line-height: 1.65; font-style: italic; margin-bottom: 20px; }
.ceo__info strong { display: block; font-size: 17px; font-weight: 700; color: var(--gold); }
.ceo__info span { font-size: 14px; color: rgba(255,255,255,.6); }

/* ============================================================
   SERVICES  –  mobile base: single column
   ============================================================ */
.services { padding: 64px 0; background: var(--white); }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.service-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--white); }

/* ⚠️ Featured card – dark navy background */
.service-card.service-card--featured {
  background: var(--navy);
  border-color: var(--gold);
}
.service-card.service-card--featured:hover { background: var(--navy-light); }

/* ⚠️ COLOR FIX – higher specificity (.service-card.service-card--featured) beats .service-card alone */
.service-card.service-card--featured h3                  { color: #fff; }
.service-card.service-card--featured .service-card__subtitle { color: rgba(255,255,255,.72); }
.service-card.service-card--featured .service-card__list li  { color: rgba(255,255,255,.82); }
.service-card.service-card--featured .service-card__list i   { color: var(--gold); }
.service-card.service-card--featured .service-card__link {
  color: var(--gold);
  border-top-color: rgba(255,255,255,.15);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(238,197,79,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.service-card__icon i { font-size: 22px; color: var(--gold); }

/* ⚠️ BASE h3 color – light bg cards */
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); }
.service-card__subtitle { font-size: 13px; color: var(--gray-600); font-weight: 500; }
.service-card__list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-body); }
.service-card__list i { color: var(--gold); font-size: 12px; flex-shrink: 0; }
.service-card__link {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  padding-top: 14px; border-top: 1px solid var(--gray-200);
  margin-top: auto; transition: var(--transition);
}
.service-card__link:hover { gap: 14px; color: var(--gold-dark); }

/* ============================================================
   HOW IT WORKS  –  mobile base: single column
   ============================================================ */
.how-it-works {
  padding: 64px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* Mobile: stack steps vertically */
.steps__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.step__connector { display: none; } /* hidden on mobile */

.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  width: 100%;
  max-width: 380px;
}
.step:hover { background: rgba(238,197,79,.08); border-color: rgba(238,197,79,.3); transform: translateY(-4px); }
.step__number {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--gold); color: var(--navy);
  font-weight: 900; font-size: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step__icon {
  width: 60px; height: 60px;
  background: rgba(238,197,79,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 6px auto 18px;
}
.step__icon i { font-size: 24px; color: var(--gold); }
/* ⚠️ Step text on dark bg — explicit white */
.step h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p   { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.65; }

/* ============================================================
   TEAM  –  mobile base: single column
   ============================================================ */
.team { padding: 64px 0; background: var(--gray-50); }
.team__grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 320px; margin: 0 auto; }

.team-card { text-align: center; transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); }
.team-card__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: var(--transition-slow); }
.team-card:hover .team-card__photo img { transform: scale(1.06); }
.team-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,21,62,.9) 0%, transparent 50%);
  display: flex; align-items: flex-end; justify-content: center;
  gap: 14px; padding-bottom: 18px;
  opacity: 0; transition: var(--transition);
}
.team-card:hover .team-card__overlay { opacity: 1; }
.team-card__overlay a {
  width: 40px; height: 40px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.team-card__overlay a:hover { background: var(--white); transform: scale(1.15); }
.team-card__info h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card__info span { font-size: 14px; color: var(--gold-dark); font-weight: 500; }

/* ============================================================
   VALUES  –  mobile base: single column, dark bg
   ============================================================ */
.values {
  padding: 64px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.values::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23EEC54F' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.values__grid { display: grid; grid-template-columns: 1fr; gap: 16px; position: relative; z-index: 1; }

.value-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { background: rgba(238,197,79,.08); border-color: rgba(238,197,79,.3); transform: translateY(-4px); }
.value-card__icon {
  width: 52px; height: 52px;
  background: rgba(238,197,79,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.value-card__icon i { font-size: 20px; color: var(--gold); }
/* ⚠️ Value card text on dark bg — explicit colors */
.value-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.value-card p  { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ============================================================
   ESOCIAL  –  mobile base: single column
   ============================================================ */
.esocial { padding: 64px 0; background: var(--gray-50); }
.esocial__inner { display: flex; flex-direction: column; gap: 48px; }
.esocial__text h2 { font-size: clamp(24px, 5vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.esocial__text > p { font-size: 15px; color: var(--text-body); line-height: 1.75; margin-bottom: 28px; }
.esocial__items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.esocial-item { display: flex; gap: 14px; align-items: flex-start; }
.esocial-item__icon {
  width: 42px; height: 42px;
  background: var(--navy); color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.esocial-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.esocial-item p  { font-size: 14px; color: var(--text-body); line-height: 1.6; }

.esocial__visual { display: flex; flex-direction: column; gap: 24px; }
.esocial__card-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.esocial-doc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--gray-100);
}
.esocial-doc-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.esocial-doc-card i    { font-size: 26px; color: var(--navy); }
.esocial-doc-card span { font-size: 15px; font-weight: 700; color: var(--navy); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 50px; width: fit-content; }
.status-badge--ok { background: rgba(34,197,94,.1); color: #16a34a; }
.esocial__logo-gov { display: flex; justify-content: center; }
.gov-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; line-height: 1.4;
  box-shadow: var(--shadow-md);
}
.gov-badge i     { font-size: 26px; color: var(--gold); }
.gov-badge small { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 400; }

/* ============================================================
   GALLERY  –  mobile base: single column
   ============================================================ */
.gallery { padding: 64px 0; background: var(--white); }
.gallery__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 220px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(12,21,62,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { font-size: 28px; color: var(--gold); }
/* --large modifier hidden on mobile, used on desktop */
.gallery-item--large { height: 220px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,14,44,.95); z-index: 9999; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox__img-wrap { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); overflow: hidden; }
.lightbox__img-wrap img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.2);
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ============================================================
   FAQ  –  mobile base: full width (already single column)
   ============================================================ */
.faq { padding: 64px 0; background: var(--gray-50); }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--gold); }
.faq-item.active { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item__question {
  width: 100%; text-align: left;
  padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: var(--transition);
}
.faq-item__question:hover { color: var(--gold-dark); }
.faq-item__question i { font-size: 13px; flex-shrink: 0; color: var(--gold); transition: transform .3s ease; }
.faq-item.active .faq-item__question i { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-item__answer { max-height: 240px; }
.faq-item__answer p {
  padding: 14px 20px 20px;
  font-size: 14px; color: var(--text-body); line-height: 1.75;
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   CTA BANNER  –  mobile base: stacked, centered
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230C153E' fill-opacity='0.04'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-banner__text h2 { font-size: clamp(22px, 5vw, 36px); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.cta-banner__text p  { font-size: 15px; color: rgba(12,21,62,.72); }
.cta-banner__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
.cta-banner__actions .btn { width: 100%; justify-content: center; }
.cta-banner .btn--gold { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cta-banner .btn--gold:hover { background: var(--navy-dark); box-shadow: 0 8px 24px rgba(8,14,44,.3); }
.cta-banner .btn--outline-light { color: var(--navy); border-color: rgba(12,21,62,.35); }
.cta-banner .btn--outline-light:hover { background: rgba(12,21,62,.08); border-color: var(--navy); }

/* ============================================================
   CONTACT  –  mobile base: single column
   ============================================================ */
.contact { padding: 64px 0 0; background: var(--white); }
.contact__inner { display: flex; flex-direction: column; gap: 40px; padding-bottom: 64px; }
.contact__info h2 { font-size: clamp(24px, 5vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.contact__info > p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 28px; }
.contact__details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail__icon {
  width: 42px; height: 42px;
  background: rgba(238,197,79,.12); color: var(--gold-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .5px; }
.contact-detail a,
.contact-detail span { font-size: 14px; color: var(--text-body); line-height: 1.5; }
.contact-detail a:hover { color: var(--gold-dark); }

.contact__form { background: var(--gray-50); border-radius: var(--radius-lg); padding: 28px 24px; border: 2px solid var(--gray-100); }
.contact__form h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact__form form { display: flex; flex-direction: column; gap: 14px; }
.contact__map { border-top: 4px solid var(--gold); }
.contact__map iframe { display: block; }

/* ============================================================
   FOOTER  –  mobile base: single column
   ============================================================ */
.footer { background: var(--navy-dark); padding: 52px 0 0; }
.footer__inner { display: flex; flex-direction: column; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 64px; width: auto; border-radius: var(--radius-sm); margin-bottom: 16px; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__links h4,
.footer__contact h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer__links ul,
.footer__contact ul { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer__links a:hover { color: var(--gold); padding-left: 4px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer__contact i { color: var(--gold); margin-top: 2px; flex-shrink: 0; font-size: 13px; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { padding: 18px 0; }
.footer__bottom .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.footer__bottom p { font-size: 12px; color: rgba(255,255,255,.35); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366; color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: pulseWa 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.55); }
.whatsapp-float__tooltip {
  position: absolute; right: 64px;
  background: var(--navy); color: var(--white);
  padding: 6px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ============================================================
   RESPONSIVE  –  scale up from mobile base
   ============================================================ */

/* ---- sm: 480px ---- */
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .team__grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner__actions { flex-direction: row; width: auto; max-width: none; }
  .cta-banner__actions .btn { width: auto; }
}

/* ---- md: 768px ---- */
@media (min-width: 768px) {
  .container { padding: 0 28px; }

  /* Navbar: transparent on top, full menu, bigger logo */
  .navbar { background: transparent; padding: 14px 0; }
  .navbar.scrolled { background: var(--navy); padding: 8px 0; box-shadow: var(--shadow-md); }
  .navbar__inner { gap: 28px; }
  .navbar__logo img { height: 72px; }
  .navbar.scrolled .navbar__logo img { height: 60px; }
  .navbar__hamburger { display: none; }
  .navbar__menu {
    display: block !important; /* override mobile hidden */
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    border-top: none;
    flex: 1;
  }
  .navbar__menu ul { flex-direction: row; gap: 4px; }
  .navbar__menu a { padding: 8px 14px; font-size: 14px; }
  .navbar__cta { display: inline-flex; font-size: 13px; padding: 10px 20px; }

  /* Hero: 2-column grid */
  .hero { padding: 120px 0 80px; }
  .hero__inner { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }
  .hero__content p { font-size: 17px; }
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { width: auto; }
  .hero__scroll { display: block; position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; }
  .hero__scroll a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.7);
    font-size: 14px;
    animation: bounce 2s infinite;
    transition: var(--transition);
  }
  .hero__scroll a:hover { border-color: var(--gold); color: var(--gold); }
  .form-card { padding: 32px 28px; }

  /* Stats: 4 cols */
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 32px 24px; border-bottom: none; }
  .stat-item:last-child { border-right: none; }
  .stat-item > i { font-size: 30px; }
  .stat-item strong { font-size: 34px; }
  .stat-item span   { font-size: 26px; }

  /* About: keep single column but bigger images */
  .about { padding: 88px 0; }
  .about__img-main img { height: 320px; }
  .about__img-secondary img { height: 160px; }
  .about__badge-float { font-size: 13px; padding: 14px 18px; }
  .about__badge-float i { font-size: 22px; }

  /* CEO: 2-column */
  .ceo { padding: 80px 0; }
  .ceo__inner { flex-direction: row; text-align: left; align-items: center; gap: 52px; }
  .ceo__photo { max-width: 240px; flex-shrink: 0; }
  .ceo__quote blockquote { font-size: 20px; }

  /* Services: 2 columns */
  .services { padding: 88px 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* How it works */
  .how-it-works { padding: 88px 0; }
  .section-header { margin-bottom: 52px; }

  /* Team: 3 columns */
  .team { padding: 88px 0; }
  .team__grid { grid-template-columns: repeat(3, 1fr); max-width: 860px; gap: 28px; }

  /* Values: 3 columns */
  .values { padding: 88px 0; }
  .values__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* eSocial */
  .esocial { padding: 88px 0; }

  /* Gallery: 2 columns */
  .gallery { padding: 88px 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 240px; }

  /* FAQ */
  .faq { padding: 88px 0; }
  .faq-item__question { padding: 20px 24px; font-size: 16px; }
  .faq-item__answer p  { padding: 16px 24px 22px; font-size: 15px; }

  /* CTA */
  .cta-banner__inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta-banner__actions { flex-direction: row; flex-wrap: wrap; width: auto; max-width: none; }
  .cta-banner__actions .btn { width: auto; }

  /* Contact */
  .contact { padding: 88px 0 0; }

  /* Footer: 2 columns */
  .footer { padding: 60px 0 0; }
  .footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bottom .container { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Form row */
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ---- lg: 992px ---- */
@media (min-width: 992px) {
  /* Navbar */
  .navbar__logo img { height: 78px; }
  .navbar.scrolled .navbar__logo img { height: 64px; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr 440px; gap: 60px; }
  .hero__content p { font-size: 18px; max-width: 520px; }

  /* About: 2-column grid, full desktop layout */
  .about { padding: 100px 0; }
  .about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .about__images { padding-bottom: 60px; }
  .about__img-main img { height: 400px; }
  .about__img-secondary {
    right: -24px;
    width: 55%;
    border: 4px solid var(--white);
  }
  .about__img-secondary img { height: 195px; }
  .about__badge-float {
    bottom: auto;
    top: 28px;
    left: -18px;
    font-size: 13px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
  }
  .about__badge-float i { font-size: 24px; }

  /* CEO */
  .ceo__inner { gap: 60px; }
  .ceo__photo { max-width: 280px; }
  .ceo__quote blockquote { font-size: 22px; }

  /* Services: 3 columns, featured in center */
  .services { padding: 100px 0; }
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .services__grid .service-card:nth-child(4) { grid-column: 1; }
  .services__grid .service-card:nth-child(5) { grid-column: 2; }

  /* How it works: horizontal 5-column layout */
  .how-it-works { padding: 100px 0; }
  .steps__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    flex-direction: unset;
    max-width: none;
  }
  .step { max-width: none; padding: 40px 28px; }
  .step__connector { display: flex; align-items: center; color: var(--gold); font-size: 20px; opacity: .5; flex-shrink: 0; }

  /* Team */
  .team { padding: 100px 0; }

  /* Values */
  .values { padding: 100px 0; }

  /* eSocial: 2-column */
  .esocial { padding: 100px 0; }
  .esocial__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; flex-direction: unset; }
  .esocial__text > p { font-size: 16px; }

  /* Gallery: 3-col with large span */
  .gallery { padding: 100px 0; }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
  }
  .gallery-item { height: auto; }
  .gallery-item--large { grid-column: span 1; grid-row: span 2; height: auto; }

  /* Contact: 2-column */
  .contact { padding: 100px 0 0; }
  .contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; flex-direction: unset; }
  .contact__inner { padding-bottom: 80px; }
  .contact__form { padding: 36px 32px; }

  /* Footer: 4 columns */
  .footer { padding: 64px 0 0; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
}

/* ---- xl: 1200px ---- */
@media (min-width: 1200px) {
  .container { padding: 0 24px; }
  .values__grid { grid-template-columns: repeat(5, 1fr); }
  .stat-item { padding: 36px 28px; }
  .stat-item strong { font-size: 36px; }
  .stat-item span   { font-size: 28px; }
}
