/* ==========================================================================
   FABIO SANTANA — CORRETOR DE IMÓVEIS (CRECI 330466-F)
   Landing Page Oficial • Arquitetura Editorial de Peça Única
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Font Faces (Self-Hosted WOFF2)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   02. Design Tokens (High-Contrast, WCAG AAA Tuned)
   -------------------------------------------------------------------------- */
:root {
  /* Dark Surface Palette (Hero & Footer) */
  --bg-dark-base:    #0e160a;
  --bg-dark-deep:    #111a0c;
  --text-on-dark:    #FAF7F0; /* 16.8:1 contrast on dark */
  --text-on-dark-sub:#E2ECD7; /* 14.6:1 contrast on dark */
  --text-on-dark-mut:#C4D4B6; /* 10.5:1 contrast on dark */

  /* Light Surface Palette (Cream Sections) */
  --bg-cream-base:   #FAF7F0;
  --bg-cream-warm:   #F3EEE1;
  --text-on-cream:   #19250E; /* 14.8:1 contrast on cream */
  --text-on-cream-sub:#2C3B22; /* 10.4:1 contrast on cream */
  --text-on-cream-mut:#3E5725; /* 7.5:1 contrast on cream */

  /* Brand Avocado Accents */
  --brand-avocado-dark: #3E5725;
  --brand-avocado-mid:  #527331;
  --brand-avocado-light:#6A8F42;
  --brand-avocado-soft: #A7C884;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   03. Reset & Global Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-base);
  color: var(--text-on-dark);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4.5vw, 48px);
  padding-right: clamp(18px, 4.5vw, 48px);
}

img, picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

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

:focus-visible {
  outline: 2px solid var(--brand-avocado-soft);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   04. Navbar (Strictly <= 56px on Mobile, Clean Desktop 72px)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 100;
  background: rgba(14, 22, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 236, 215, 0.12);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: rgba(17, 26, 12, 0.94);
  border-bottom-color: rgba(226, 236, 215, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  line-height: 1.1;
}

.nav-brand-creci {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-avocado-soft);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-sub);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-avocado-soft);
  transition: width 0.3s var(--ease-editorial);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-desktop {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  border: 1px solid rgba(226, 236, 215, 0.2);
}

.nav-toggle-icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: radial-gradient(circle at top right, #243818 0%, #111a0c 100%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 24px 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-on-dark);
  display: block;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(226, 236, 215, 0.15);
  padding-top: 20px;
}

.mobile-menu-info {
  font-size: 0.82rem;
  color: var(--text-on-dark-sub);
}

/* --------------------------------------------------------------------------
   05. Buttons (Solid High-Contrast Fill with Shiny Sweep)
   -------------------------------------------------------------------------- */
.btn-shiny {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--brand-avocado-dark); /* Solid, high contrast */
  color: #FFFFFF; /* 7.6:1 AAA contrast */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(20, 32, 12, 0.45);
  transition: transform 0.3s var(--ease-editorial), background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shiny Sweep Beam */
.btn-shiny::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(28deg) translateX(-100%);
  pointer-events: none;
  transition: transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-shiny:hover {
  background-color: var(--brand-avocado-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(20, 32, 12, 0.55);
}

.btn-shiny:hover::after {
  transform: rotate(28deg) translateX(360%);
}

.btn-shiny:active {
  transform: translateY(0);
}

.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 236, 215, 0.35);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-editorial);
}

.btn-outline:hover {
  background: rgba(226, 236, 215, 0.16);
  border-color: var(--brand-avocado-soft);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.icon-whatsapp {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-arrow-diag {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.btn-shiny:hover .icon-arrow-diag,
.btn-outline:hover .icon-arrow-diag {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   06. P0: True Full-Bleed Animated Hero Background
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark-base);
  padding-top: 110px;
  padding-bottom: 90px;
}

/* Full-bleed responsive picture background */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.04);
  will-change: transform;
}

/* Directional Scrim Overlay (Deep atmospheric dark green to guarantee 16:1 text contrast) */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(14, 22, 10, 0.95) 0%,
    rgba(14, 22, 10, 0.88) 42%,
    rgba(14, 22, 10, 0.45) 80%,
    rgba(14, 22, 10, 0.6) 100%
  );
}

/* Bottom feathering mask dissolving into the marquee / transition */
.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-dark-base) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.5vw, 34px);
}

/* Hero Monumental Title - Zero Badges/Pills Above */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-dark); /* Solid, high contrast */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.hero-title .title-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--text-on-dark-sub);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-on-dark-sub); /* 14.6:1 contrast */
  font-weight: 400;
  max-width: 620px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

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

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-on-dark-sub);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 236, 215, 0.28);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.hero-social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-avocado-soft);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   07. Bending Marquee (Kinetic Fluid Ticker)
   -------------------------------------------------------------------------- */
.marquee-section {
  position: relative;
  width: 100%;
  padding: 24px 0;
  background: #111a0c;
  border-top: 1px solid rgba(226, 236, 215, 0.12);
  border-bottom: 1px solid rgba(226, 236, 215, 0.12);
  overflow: hidden;
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--text-on-dark-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-avocado-soft);
}

/* --------------------------------------------------------------------------
   08. P0: Presentation of Fabio (Editorial Portrait, Zero White Cards, Zero Circles)
   -------------------------------------------------------------------------- */
.position-section {
  position: relative;
  width: 100%;
  /* Long seamless dissolve from deep forest green into warm cream */
  background: linear-gradient(
    180deg,
    #111a0c 0%,
    #213217 18%,
    #4a6534 38%,
    #8ca86f 58%,
    #dbe5cc 78%,
    var(--bg-cream-base) 100%
  );
  padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px);
  color: var(--text-on-cream);
  overflow: hidden;
}

.position-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

/* Editorial Portrait Frame (Rectangular, Elegant, NO white card, NO circular avatar) */
.position-portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.position-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(62, 87, 37, 0.35);
  box-shadow: 0 24px 50px rgba(17, 26, 12, 0.22);
}

.position-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.8s var(--ease-editorial);
}

.position-portrait-frame:hover .position-portrait-img {
  transform: scale(1.03);
}

/* Editorial caption under portrait */
.position-portrait-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
}

.position-portrait-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-on-cream);
}

.position-portrait-creci {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-cream-mut);
}

/* Editorial Narrative (Freely flowing directly on cream, no boxed card) */
.position-narrative {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.8vw, 26px);
}

.editorial-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-cream-mut); /* 7.5:1 AAA contrast */
  display: flex;
  align-items: center;
  gap: 12px;
}

.editorial-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background-color: var(--brand-avocado-dark);
}

.position-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-on-cream); /* 14.8:1 AAA contrast */
}

.position-text {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  color: var(--text-on-cream-sub); /* 10.4:1 AAA contrast */
}

.position-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-on-cream); /* High contrast */
  border-left: 3px solid var(--brand-avocado-dark);
  padding-left: 20px;
  margin: 6px 0;
  line-height: 1.45;
}

.position-support-note {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-cream-mut);
}

/* --------------------------------------------------------------------------
   09. P1: Pillars of Advisory (Zero White Cards, Pure Editorial Rhythm)
   -------------------------------------------------------------------------- */
.pillars-section {
  position: relative;
  width: 100%;
  background-color: var(--bg-cream-base);
  color: var(--text-on-cream);
  padding: clamp(60px, 9vw, 120px) 0;
}

.pillars-header {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 70px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillars-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-on-cream); /* 14.8:1 contrast */
}

.pillars-subtitle {
  font-size: 1.1rem;
  color: var(--text-on-cream-sub); /* 10.4:1 contrast */
  line-height: 1.7;
}

/* Editorial Grid of Pillars — ZERO cards, ZERO drop shadows, ZERO white boxes */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  position: relative;
}

.pillar-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 2px solid rgba(62, 87, 37, 0.25); /* Subtle hairline separation */
  transition: border-color 0.3s ease;
}

.pillar-item:hover {
  border-top-color: var(--brand-avocado-dark);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--brand-avocado-dark); /* High contrast */
  letter-spacing: -0.02em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  color: var(--text-on-cream); /* 14.8:1 contrast */
  line-height: 1.25;
}

.pillar-description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-on-cream-sub); /* 10.4:1 contrast */
}

/* --------------------------------------------------------------------------
   10. Region Section (Americana & Região Metropolitana)
   -------------------------------------------------------------------------- */
.region-section {
  position: relative;
  width: 100%;
  /* Seamless transition from cream back into deep forest ground */
  background: linear-gradient(
    180deg,
    var(--bg-cream-base) 0%,
    #e2ecd7 25%,
    #4a6534 65%,
    var(--bg-dark-deep) 100%
  );
  padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 10vw, 120px);
  color: var(--text-on-dark);
  overflow: hidden;
}

.region-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3.2vw, 32px);
}

.region-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-on-dark); /* 16.8:1 contrast */
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.region-title .region-highlight {
  font-style: italic;
  color: var(--text-on-dark-sub);
}

.region-text {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  color: var(--text-on-dark-sub); /* 14.6:1 contrast */
  max-width: 680px;
}

.region-cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.city-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(226, 236, 215, 0.3);
  padding: 8px 22px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.region-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   11. P0: High-Contrast Footer (100% Legibility)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  width: 100%;
  background-color: var(--bg-dark-deep);
  color: var(--text-on-dark-sub);
  padding: clamp(60px, 8vw, 90px) 0 40px;
  border-top: 1px solid rgba(226, 236, 215, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text-on-dark); /* 16.2:1 contrast */
  letter-spacing: -0.01em;
}

.footer-creci {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-avocado-soft); /* 9.6:1 contrast */
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-motto {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-on-dark-sub); /* 13.0:1 contrast */
  max-width: 400px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark); /* 16.2:1 contrast */
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark-sub); /* 14.2:1 contrast */
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-on-dark); /* 16.2:1 contrast */
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-avocado-soft);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 236, 215, 0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-on-dark-mut); /* 10.0:1 contrast */
}

/* --------------------------------------------------------------------------
   12. Floating WhatsApp (Fixed, Discrete, Safe-Area Compliant)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3.5vw, 28px);
  bottom: clamp(16px, 3.5vw, 28px);
  bottom: calc(clamp(16px, 3.5vw, 28px) + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 95;
  transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.whatsapp-float:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints (320 to 1920 Verified)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .position-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .position-portrait-wrap {
    max-width: 380px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 56px; /* Strict <= 56px on mobile */
  }

  .nav-links,
  .nav-cta-desktop {
    display: none !important; /* Hide desktop elements */
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 64px;
  }

  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(14, 22, 10, 0.94) 0%,
      rgba(14, 22, 10, 0.88) 60%,
      rgba(14, 22, 10, 0.95) 100%
    );
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-shiny,
  .hero-actions .hero-social-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-brand-name {
    font-size: 1.2rem;
  }

  .nav-brand-creci {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .position-heading {
    font-size: 1.9rem;
  }

  .pillars-title,
  .region-title {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   14. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-shiny::after {
    display: none !important;
  }

  .marquee-track {
    transform: none !important;
  }

  .hero-bg-img {
    transform: none !important;
  }
}
