/* ===================================================
   CARREIRAS FERREIRA COSTA — style.css
   =================================================== */

/* ---- Variables ---- */
:root {
  --red:         #c8102e;
  --red-dark:    #a00d24;
  --red-hover:   #e52027;
  --green:            #5DAA2A;
  --green-dark:       #4a8f22;
  --green-light:      #eef7e6;
  --green-accessible: #3d7a19; /* 5.25:1 vs branco — passa WCAG AA para texto normal */
  --dark:        #202124;
  --dark2:       #3c4043;
  --white:       #ffffff;
  --sidebar-bg:  #22262a;
  --modal-alert-bg:     #fff8f8;
  --modal-alert-border: #ffd7d7;
  --gray-50:     #f8f9fa;
  --gray-100:    #f1f3f5;
  --gray-200:    #e8ecef;
  --gray:        #f1f3f5;
  --gray-mid:    #dee2e6;
  --gray-text:   #5f6368;
  --font:        'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 2px 16px rgba(0,0,0,.10);
  --shadow-md:   0 4px 24px rgba(0,0,0,.16);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.22);
  --transition:  .25s ease;
  --max-width:   1200px;
  --nav-h:       88px;
}

/* ---- Fonts ---- */
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); font-size: 16px; color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ---- Skip link (acessibilidade) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 16px; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  text-align: center;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn--red:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn--green {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ---- Section label (like PEP/CD) ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-accessible);
  margin-bottom: 8px;
}
.section-label--red { color: var(--red); }
/* Em fundo escuro o verde acessível perde contraste — restaura o original (#5DAA2A = 5.56:1 vs #202124) */
.section--dark .section-label { color: var(--green); }

/* ===================================================
   NAVIGATION
   =================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}
.site-nav.scrolled .nav-logo-label {
  color: rgba(0,0,0,.4);
}
.site-nav.scrolled .nav-links a {
  color: var(--dark);
  opacity: .7;
}
.site-nav.scrolled .nav-links a:hover { opacity: 1; }
.site-nav.scrolled .nav-toggle span { background: var(--dark); }


.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: .85;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-link-active { opacity: 1; }
.site-nav.scrolled .nav-links a.nav-link-active {
  opacity: 1;
  color: var(--red);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--red-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Mobile Drawer ---- */
.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-drawer-header img { height: 36px; width: auto; }
.nav-drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--white);
}

.nav-drawer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
}
.nav-drawer-links a {
  color: rgba(255,255,255,.85);
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.nav-drawer-links a:hover { color: var(--white); }

.nav-drawer-footer { padding: 24px; }
.nav-drawer-footer .btn-vagas {
  display: block;
  text-align: center;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border-radius: 4px;
  font-size: 15px;
  transition: background var(--transition);
}
.nav-drawer-footer .btn-vagas:hover { background: var(--red-hover); }

/* ===================================================
   HERO CAROUSEL
   =================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform .8s ease;
}
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 18%, transparent 32%),
    linear-gradient(to top,    rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 38%, transparent 65%);
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 0 60px 90px;
  color: var(--white);
  text-align: center;
}
.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  background: rgba(255,255,255,.08);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(93,170,42,.4);
}
.hero-content h1 {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero-content h1 strong { font-weight: 900; }
.hero-content h2 {
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  opacity: .9;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }

/* ===================================================
   STATS BAR
   =================================================== */
.stats-bar {
  background: var(--gray-50);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  color: var(--dark);
}
.stat-num {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--green-accessible);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-mid);
}

/* ===================================================
   SECTION SHARED
   =================================================== */
.section { padding: 80px 0; }
.section--dark  { background: var(--dark2); color: var(--white); }
.section--white { background: var(--white); }
.section--gray  { background: var(--gray-100); }
.section--gray2 { background: var(--gray-200); }

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
  line-height: 1.2;
}
.section-title hr {
  border: none;
  border-top: 3px solid var(--green);
  width: 60px;
  margin-top: 10px;
}
.section-title--white { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.8;
  max-width: 840px;
  margin-bottom: 40px;
}

/* ===================================================
   AREAS INTRO — section above flip cards
   =================================================== */
.areas-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.areas-lead {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  max-width: 640px;
}
.areas-lead strong {
  font-weight: 700;
  color: var(--white);
}
.areas-pillars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 320px;
}
.areas-pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: background var(--transition), border-color var(--transition);
}
@media (hover: hover) {
  .areas-pillar:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.40);
  }
}
.areas-pillar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.areas-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===================================================
   FLIP CARDS — GENTE APAIXONADA
   =================================================== */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Area Card (hover-expand) ---- */
.area-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

/* permanent dark gradient */
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.10) 100%);
  transition: opacity .4s ease;
  z-index: 0;
}
/* red overlay on hover */
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(200,16,46,.92) 0%,
    rgba(200,16,46,.70) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.area-card:hover::after,
.area-card:focus::after,
.area-card.expanded::after { opacity: 1; }

.area-card-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

/* visible part — always shown */
.area-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}
.area-card-desc {
  font-size: 13px;
  opacity: .85;
  line-height: 1.5;
  margin-bottom: 0;
  transition: margin .4s ease;
}

/* expandable part — hidden by default */
.area-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
  opacity: 0;
}
.area-card:hover .area-card-detail,
.area-card:focus .area-card-detail,
.area-card.expanded .area-card-detail {
  max-height: 260px;
  opacity: 1;
}
.area-card:hover .area-card-desc,
.area-card:focus .area-card-desc,
.area-card.expanded .area-card-desc { margin-bottom: 14px; }
.area-card:focus { outline: none; }
.area-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.area-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .7;
  margin-bottom: 8px;
  display: block;
}
.area-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.area-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  white-space: nowrap;
}
.area-card-btn {
  display: block;
  width: 100%;
  background: var(--white);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  font-family: var(--font);
  text-decoration: none;
}
.area-card-btn:hover { background: rgba(255,255,255,.9); }
.area-card-btn--green {
  background: var(--green);
  color: var(--white);
}
.area-card-btn--green:hover { background: var(--green-dark); }

/* CTA absoluto no rodapé do card (cards 1-5) */
.area-card-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 10px 28px 18px;
  border-top: 1px solid rgba(255,255,255,.22);
  background: none;
  border-left: none;
  border-right: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.area-card:hover .area-card-cta,
.area-card:focus .area-card-cta,
.area-card.expanded .area-card-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.area-card:hover .area-card-body,
.area-card:focus .area-card-body,
.area-card.expanded .area-card-body { padding-bottom: 52px; }

.area-labs-desc {
  font-size: 13px;
  opacity: .85;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ===================================================
   VALUES CAROUSEL
   =================================================== */
.values-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.values-slides {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.values-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}
.values-slide-bg {
  position: absolute;
  inset: 0;
}
.values-slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.values-slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,.82) 38%, rgba(0,0,0,.15) 100%);
}
.values-slide-body {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  justify-content: center;
  padding: 52px 56px;
  color: var(--white);
  z-index: 1;
  margin-left: auto;
  max-width: 580px;
  left: auto;
}
.values-slide-body h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.values-slide-body p {
  font-size: 15px;
  line-height: 1.8;
  opacity: .9;
}

.values-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.values-arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  pointer-events: auto;
}
.values-arrow:hover { background: rgba(255,255,255,.32); }

.values-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 8px;
}
.values-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.values-dot.active { background: var(--white); }

/* ===================================================
   SUCCESS STORIES — REELS GRID
   =================================================== */
.reel-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.reel-feature-video {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.reel-feature-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.reel-feature-text h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}
.reel-feature-text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 32px;
}
.reel-ig-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-text);
  text-decoration: none;
  transition: color var(--transition);
}
.reel-ig-link:hover { color: var(--dark); }
.btn--outline-dark {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--dark);
  color: var(--dark);
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===================================================
   ACHIEVEMENTS — MARQUEE AUTO-SCROLL
   =================================================== */
.achievements-marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}
.achievements-marquee::before,
.achievements-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.achievements-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.achievements-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.achievements-track {
  display: flex;
  gap: 32px;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}
.achievements-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 148px;
  flex-shrink: 0;
  text-align: center;
}
.achievement-card img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition), transform var(--transition);
  mix-blend-mode: multiply;
}
.achievement-card:hover img { filter: grayscale(0); transform: scale(1.05); }
.achievement-info {
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.4;
}
.achievement-info strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 3px;
}

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-list {
  width: 100%;
}
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-item:first-child { border-top: 1px solid var(--gray-mid); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--white);
}
.faq-answer {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.85;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}
.faq-answer a { color: var(--red); text-decoration: underline; }

/* Two-column FAQ — two independent lists side by side */
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}
.faq-two-col .faq-list { align-self: start; }
.faq-two-col .faq-item { border-bottom: 1px solid var(--gray-mid); }

/* ===================================================
   MAP — ONDE ESTAMOS
   =================================================== */
.map-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 580px;
}

/* --- Sidebar --- */
.map-sidebar {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
.map-sidebar-logo {
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.map-sidebar-logo img {
  height: 26px;
  width: auto;
  display: block;
  opacity: .9;
}
.map-state-group {
  display: flex;
  flex-direction: column;
}
.map-state-group:not(:first-child) .map-state-label {
  border-top: 1px solid rgba(255,255,255,.07);
}
.map-state-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 12px 16px 4px;
}
.map-location-btn {
  display: flex;
  align-items: center;
  padding: 10px 16px 10px 20px;
  text-align: left;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  width: 100%;
  border-left: 2px solid transparent;
}
.map-location-btn:hover {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
}
.map-location-btn.active {
  background: rgba(93,170,42,.08);
  color: var(--white);
  border-left-color: var(--green);
  font-weight: 600;
}
.map-location-btn .loc-name { font-size: 13px; }
.map-location-btn::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.15);
  flex-shrink: 0;
  margin-right: 10px;
  transition: background var(--transition), border-color var(--transition);
}
.map-location-btn.active::before {
  background: var(--green);
  border-color: var(--green);
}

/* --- Right panel --- */
.map-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.map-media {
  flex: 1;
  min-height: 0;
  position: relative;
}
.map-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.map-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity .35s ease;
}
.map-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 52px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  pointer-events: none;
}
.map-photo-overlay strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  display: block;
}
.map-iframe-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.map-iframe-wrap.active {
  opacity: 1;
  pointer-events: auto;
}
.map-iframe-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e8eaed 25%, #f5f6f7 50%, #e8eaed 75%);
  background-size: 200% 100%;
  animation: map-shimmer 1.5s ease-in-out infinite;
  z-index: 1;
  transition: opacity .3s ease;
}
.map-iframe-wrap.map-loaded .map-iframe-shimmer { opacity: 0; pointer-events: none; }
@keyframes map-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
#map-frame {
  width: 100%; height: 100%;
  border: none;
  display: block;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s ease;
}
.map-iframe-wrap.map-loaded #map-frame { opacity: 1; }

/* --- Info bar --- */
.map-info-bar {
  flex-shrink: 0;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
  min-height: 56px;
}
.map-info-left {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
}
.map-info-left svg { flex-shrink: 0; color: var(--red); margin-top: 2px; }
.map-info-left address {
  font-style: normal;
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.map-info-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
.btn-map-toggle {
  padding: 7px 13px;
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-map-toggle:hover { background: var(--red); color: #fff; }
.btn-map-route {
  padding: 7px 13px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: background var(--transition);
  white-space: nowrap;
  display: inline-block;
}
.btn-map-route:hover { background: var(--green-dark); color: #fff; }

/* ===================================================
   MODAL
   =================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-mid);
  text-align: center;
}
.modal-header img { height: 36px; margin: 0 auto 16px; }
.modal-header h2 { font-size: 20px; font-weight: 700; color: var(--dark); }

.modal-body { padding: 24px 32px; }
.instruction-step { display: flex; gap: 16px; margin-bottom: 20px; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-text h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-text p { font-size: 14px; color: var(--gray-text); line-height: 1.6; }

.pwd-req-box {
  background: var(--modal-alert-bg);
  border: 1px solid var(--modal-alert-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
}
.pwd-req-box h4 { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.pwd-req-grid { display: flex; flex-direction: column; gap: 6px; }
.pwd-req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.4;
}
.pwd-req-item .check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pwd-req-item:last-child { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--modal-alert-border); color: var(--gray-text); }

.modal-footer {
  padding: 20px 32px 28px;
  text-align: center;
  border-top: 1px solid var(--gray-mid);
}
.btn-proceed {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 15px; font-weight: 700;
  padding: 14px 40px;
  border-radius: 4px;
  transition: background var(--transition);
  letter-spacing: .5px;
}
.btn-proceed:hover { background: var(--red-hover); }
.modal-close-btn {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 24px; color: var(--gray-text);
  cursor: pointer; line-height: 1;
  background: none; border: none; font-family: var(--font);
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer { background: var(--dark); color: var(--white); padding: 56px 0 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo img { height: 40px; }
.footer-logo-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h4 img {
  filter: invert(52%) sepia(68%) saturate(480%) hue-rotate(67deg) brightness(95%) contrast(88%);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ---- Mobile footer accordion ---- */
.footer-mobile { display: none; }
.footer-acc-item { border-top: 1px solid rgba(255,255,255,.08); }
.footer-acc-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-size: 15px; font-weight: 600;
  color: var(--white);
  background: none; border: none; font-family: var(--font);
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.footer-acc-trigger img {
  filter: invert(52%) sepia(68%) saturate(480%) hue-rotate(67deg) brightness(95%) contrast(88%);
}
.footer-acc-arrow { font-size: 18px; transition: transform var(--transition); }
.footer-acc-item.open .footer-acc-arrow { transform: rotate(180deg); }
.footer-acc-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.footer-acc-item.open .footer-acc-content { max-height: 300px; }
.footer-acc-content a { display: block; font-size: 14px; color: rgba(255,255,255,.65); padding: 8px 0; }

/* ===================================================
   SCROLL REVEAL
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

/* ===================================================
   HERO KEN-BURNS
   =================================================== */
@keyframes kenburns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.06); }
}
.hero-slide.kenburns {
  animation: kenburns 7s ease-out forwards;
}


/* ===================================================
   PREFERS-REDUCED-MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .achievements-track { animation: none; }
  .hero-slide.kenburns { animation: none; }
}

/* ===================================================
   AREA CARDS — EXTRAS
   =================================================== */

/* FCx Labs: badge de domínio visível no estado padrão */
.area-ext-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,.85);
  background: rgba(93,170,42,.28);
  border: 1px solid rgba(93,170,42,.5);
  border-radius: 100px;
  padding: 3px 9px;
  pointer-events: none;
}

/* FCx Labs: overlay verde em vez de vermelho */
.area-card--external::after {
  background: linear-gradient(to top,
    rgba(74,143,34,.92) 0%,
    rgba(74,143,34,.75) 100%);
}

/* Dispositivos touch: hint de interatividade nos cards */
@media (hover: none) {
  .area-card:not(.expanded) .area-card-body::after {
    content: 'Toque para ver as áreas';
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    margin-top: 12px;
    letter-spacing: 0.4px;
    padding: 5px 12px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    text-align: center;
  }
  /* Areas pillars: remove transição e tap highlight — não são interativos no mobile */
  .areas-pillar {
    transition: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* Desativa :hover nos cards — em touch o estado é controlado só pela classe .expanded */
  .area-card:hover .area-card-detail { max-height: 0; opacity: 0; }
  .area-card:hover::after            { opacity: 0; }
  .area-card:hover .area-card-desc   { margin-bottom: 0; }
  .area-card:hover .area-card-body   { padding-bottom: 28px; }
  .area-card:hover .area-card-cta    { opacity: 0; pointer-events: none; transform: translateY(4px); }
  .hero-carousel   { touch-action: pan-y; }
  .values-carousel { touch-action: pan-y; }
  .map-media       { touch-action: pan-y; }
}

/* ===================================================
   INSTAGRAM REEL — FALLBACK
   =================================================== */
.reel-feature-video {
  position: relative;
}
/* fallback visível atrás do iframe (se bloqueado, iframe é transparente) */
.reel-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.reel-fallback a {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: underline;
  transition: color var(--transition);
}
.reel-fallback a:hover { color: var(--red); }
/* iframe fica sobre o fallback */
.reel-feature-video iframe {
  position: relative;
  z-index: 1;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 240px 1fr; }
}

@media (max-width: 900px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card { height: 320px; }
  .reel-feature { grid-template-columns: 300px 1fr; gap: 40px; }
  .faq-two-col { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-sidebar { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; height: auto; }
  .map-state-group { flex-direction: row; border-top: none; flex-shrink: 0; align-items: center; }
  .map-state-label { display: none; }
  .map-location-btn { width: auto; flex-shrink: 0; padding: 12px 14px; border-left: none; border-bottom: 3px solid transparent; }
  .map-location-btn.active { border-bottom-color: var(--green); border-left-color: transparent; }
  .map-media { min-height: 360px; }
  .map-info-bar { flex-wrap: wrap; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .site-nav { padding: 0 20px; }
  .nav-links, .site-nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 0 24px 60px; }
  .hero-dots { right: 24px; bottom: 24px; }
  .section { padding: 56px 0; }
  .flip-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .area-card { height: 300px; }
  .values-slide-body { padding: 28px; }
  .values-carousel { height: 400px; }
  .stats-inner { gap: 20px 32px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat { min-width: 120px; text-align: center; }
  .footer-links-grid { display: none; }
  .footer-mobile { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .modal-body, .modal-header, .modal-footer { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .flip-grid { grid-template-columns: 1fr; }
  .area-card { height: 280px; }
  .values-carousel { height: 360px; }
  .reel-feature { grid-template-columns: 1fr; gap: 32px; }
  .reel-feature-video { max-width: 320px; margin: 0 auto; }
  .reel-feature-text { text-align: center; }
  .reel-feature-text .btn--outline-dark { display: inline-block; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--red-hover); }
.back-to-top::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translate(-50%, -30%) rotate(-45deg);
}

/* ===================================================
   MAP SIDEBAR — SCROLL AFFORDANCE (MOBILE)
   =================================================== */
@media (max-width: 900px) {
  .map-sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.18) transparent;
    box-shadow: inset -20px 0 20px -10px rgba(0,0,0,.55);
  }
  .map-sidebar::-webkit-scrollbar { height: 4px; }
  .map-sidebar::-webkit-scrollbar-track { background: transparent; }
  .map-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 2px; }
}
