/* =========================================================
   Instock Self Storage — style.css
   Estrutura base. Cada seção é implementada por fase (ver
   docs/superpowers/plans/2026-06-08-instock-site-rebuild.md).
   Valores exatos: PRD §16 (tokens) e screenshots em referencias/.
   ========================================================= */

/* ===== Design Tokens (PRD §16) ===== */
:root {
  /* Cores */
  --color-primary:      #8E0A0B;          /* vermelho principal — header, botões, ícones */
  --color-primary-dark: #6B0708;          /* hover do vermelho */
  --color-white:        #FFFFFF;
  --color-text-dark:    #333333;          /* texto sobre fundo branco */
  --color-text-light:   #FFFFFF;          /* texto sobre fundo vermelho/escuro */
  --color-bg-dark:      rgba(0,0,0,0.60); /* overlay seção Diferenciais */
  --color-border:       #e0e0e0;

  /* Tipografia */
  --font-heading: 'Montserrat', 'Montserrat Fallback', sans-serif;   /* H1, H2, H3 */
  --font-body:    'Open Sans', 'Open Sans Fallback', sans-serif;    /* nav, parágrafos, labels */

  --text-h1:    48px;   /* mobile: 32px */
  --text-h2:    32px;   /* mobile: 24px */
  --text-h3:    16px;
  --text-body:  16px;
  --text-small: 14px;

  --weight-heading: 700;
  --weight-body:    400;
  --weight-medium:  600;

  --lh-h1:   1.2;
  --lh-body: 1.5;

  /* Breakpoints (referência — usar nas media queries) */
  --bp-mobile:  767px;   /* max-width — layout mobile */
  --bp-tablet:  1024px;  /* max-width — layout tablet */
  --bp-desktop: 1025px;  /* min-width — layout desktop */

  /* Espaçamentos */
  --section-padding-desktop: 80px 0;
  --section-padding-mobile:  48px 0;
  --container-max-width: 1000px;
  --container-padding:   0 24px;

  /* Bordas e sombras */
  --radius-card:   8px;
  --radius-card-dif: 16px;
  --radius-pill:   50px;
  --radius-button: 4px;
  --radius-circle: 50%;
  --shadow-card:       0 4px 16px rgba(0,0,0,0.10);
  --shadow-card-hover: 0 8px 28px rgba(0,0,0,0.18);

  /* Cores auxiliares */
  --color-bg-fallback:  #333333;          /* fallback enquanto imagens carregam */
  --color-primary-tint: #fdf2f2;          /* hover suave sobre fundo branco */
  --color-whatsapp:     #25D366;          /* verde oficial WhatsApp Brand */
  --color-avatar-bg:    #d0d0d0;          /* fundo do avatar nos depoimentos */
}

/* ===== Fontes locais self-hosted (PRD §9/§13 — sem CDN, sem Google Fonts) ===== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-jtusjig1_i6t8kchkm459wlhyw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/opensans-memvyags126mizpba-uvwbx2vvnxbbobj2ovts-muw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/opensans-memtyags126mizpba-ufuicvxscekx2cmqvxlwqwuu6f.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Acessibilidade ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== Reset mínimo ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== Tipografia base ===== */
body {
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  background: var(--color-white);
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--lh-h1);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding); /* 0 24px — mobile/tablet breathing room */
}

@media (min-width: 1025px) {
  .container { padding: 0; }
}

/* Header transparente: puxa main para cima da altura do header,
   fazendo o hero aparecer atrás do header transparente */
main { margin-top: -82px; }

@media (max-width: 767px) {
  /* Header mobile tem 60px de altura (não 82px) */
  main { margin-top: -60px; }
  html { scroll-padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =========================================================
   Fase 1 — Top bar + Header / Navegação (PRD §4.1, §4.2, §17)
   ========================================================= */

/* Offset para âncoras não ficarem sob o header sticky (fallback do JS) */
html { scroll-padding-top: 82px; }

/* ----- Top bar — ícones vermelhos, texto preto Montserrat 12px ----- */
.top-bar {
  background: var(--color-white);
  font-size: 12px;
}
.top-bar__inner {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  min-height: 41px;
  padding: 5px 0;
}
.top-bar__link {
  display: inline-flex;
  align-items: center;
  text-align: start;
  gap: 17px;
  color: #010101;
  font-family: var(--font-heading); /* Montserrat */
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.3s ease;
  padding-right: 2em;
}
.top-bar__link:hover { opacity: 0.7; }
.top-bar__icon {
  width: 16px;
  height: 16px;
  fill: var(--color-primary); /* ícone vermelho */
  flex-shrink: 0;
}

@media (min-width: 1025px) {
  .top-bar__inner {
    justify-content: flex-end;
  }
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  color: var(--color-text-light);
  box-shadow: none;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: var(--color-primary);
  box-shadow: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}
.site-header__logo img { display: block; }
.site-header__logo:hover { opacity: 0.85; }

/* ----- Navegação ----- */
.primary-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}
.primary-nav__list li {
  flex: 1 1 auto;
  align-self: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.primary-nav__link {
  font-family: var(--font-body); /* Open Sans */
  font-weight: var(--weight-heading); /* 700 */
  font-size: 18px;
  color: var(--color-text-light);
  padding: 13px 20px;
  transition: opacity 0.3s ease;
}
.primary-nav__link:hover { opacity: 0.8; }

/* ----- Botão hambúrguer (escondido no desktop) ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 0;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ----- Mobile (≤767px): hambúrguer + nav em painel ----- */
@media (max-width: 767px) {
  .top-bar__inner {
    justify-content: center;
    gap: 32px;
    padding: 16px;
  }

  .top-bar__icon {
    width: 26px;
    height: 26px;
  }

  /* Header sempre vermelho no mobile (não transparente) */
  .site-header {
    background: var(--color-primary);
  }

  /* Logo centralizado via grid de 3 colunas: [espaçador] [logo] [hambúrguer] */
  .site-header__inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    min-height: 60px;
    padding: 16px;
  }
  .site-header__logo {
    grid-column: 2;
    justify-self: center;
  }
  .nav-toggle {
    grid-column: 3;
    justify-self: end;
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .primary-nav.is-open { max-height: 320px; }

  .primary-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .primary-nav__link {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  /* Hambúrguer → X quando aberto */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================================================
   Fase 2 — Hero (PRD §4.3)
   ========================================================= */

/* ----- Bloco principal: background foto escura, grid 2 colunas no desktop ----- */
.hero__main {
  position: relative;
  color: var(--color-text-light);
  min-height: 400px;

  background-color: #1F1D1D;
  background-image: url('../images/banner-desktop.webp');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}


.hero__main-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 100px; /* mobile: 60px header + 40px respiro */
  padding-bottom: 48px;
}

/* ----- Conteúdo textual ----- */
.hero__heading {
  font-size: 24px; /* mobile-first; desktop: var(--text-h1) = 48px */
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--lh-h1);
  color: var(--color-text-light);
  margin: 8px 0 16px;
}

.hero__intro {
  font-size: 13px; /* mobile-first; desktop: var(--text-body) = 16px */
  line-height: var(--lh-body);
  color: var(--color-text-light);
  max-width: 60ch;
  margin-bottom: 30px;
}


/* ----- Imagem do container (oculta no mobile) ----- */
.hero__image-wrap {
  display: none;
}

.hero__image-wrap img {
  width: 100%;
  height: auto;
}

/* ----- Faixa de CTAs ----- */
.hero__cta-bar {
  padding: 24px 0 0;
}

.hero__cta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero__cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  text-align: center;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 12px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 2px 2px 2px #0101010f;
  transition: transform 0.3s ease;
}

.hero__cta-card:hover {
  transform: translateY(-10px);
}

.hero__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__cta-icon img {
  width: 32px;
  height: auto;
}

.hero__cta-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #000000;
  text-align: center;
}

/* ----- Mobile (≤767px): background específico + CTAs na divisa ----- */
@media (max-width: 767px) {
  .hero__main {
    background-image: url('../images/bg-hero-mobile.webp');
    background-position: center center;
  }

  .hero__main-inner {
    padding-bottom: 0;
    padding-top: 260px;
  }

  /* CTAs sangram para dentro da seção seguinte */
  .hero__cta-bar {
    position: relative;
    top: 44px;
    z-index: 2;
    padding: 0;
  }

  /* Sem animação de hover no mobile (touch) */
  .hero__cta-card:hover {
    transform: none;
  }
}

/* ----- Tablet / Desktop (≥1025px) ----- */
@media (min-width: 1025px) {
  .hero__main {
    min-height: 560px;
  }


  .hero__main-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 40px;
    padding-top: 11rem;
    padding-bottom: 0;
  }

  .hero__heading {
    font-size: var(--text-h1);
    margin-bottom: 30px;
  }

  .hero__intro {
    font-size: var(--text-body);
  }

  /* Imagem do container — vaza para abaixo do hero */
  .hero__image-wrap {
    display: flex;
    align-items: flex-end;
    align-self: end;
    justify-content: center;
    position: relative;
    left: 45px;
    transform: translateY(58px);
    z-index: 1;
  }

  .hero__image-wrap img {
    max-height: 460px;
    width: auto;
    max-width: 100%;
  }

  /* ----- CTAs: sangram na divisória com a seção seguinte (desktop) ----- */
  .hero__cta-bar {
    position: relative;
    top: 65px;
    padding: 0;
    z-index: 2;
  }

  .hero__cta-list {
    gap: 16px;
  }

  .hero__cta-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 2px 2px #0101010f;
  }

  .hero__cta-icon img {
    width: 46px;
    height: 45px;
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .hero__cta-card {
    transition: none;
  }
}

/* =========================================================
   Fase 3 — Self Storage / Por que nos escolher (PRD §4.4)
   ========================================================= */

/* ----- Tag/badge reutilizável ----- */
.section-tag {
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 22px;
  padding: 6px 16px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2F2F2F;
  background: rgba(222, 222, 222, 0.72);
  margin-bottom: 26px;
  text-align: center;
}

#self-storage {
  margin-top: 12vw;
  margin-bottom: 4vw;
}

@media (max-width: 767px) {
  /* Extra padding-top para acomodar os CTAs do hero que sangram para cá */
  #self-storage {
    padding-top: 56px;
  }
}

/* ----- Layout de 2 colunas (mobile-first: coluna única) ----- */
.self-storage__layout {
  display: flex;
  flex-direction: column;
}

/* Coluna imagem: visível no mobile (topo da seção) e no desktop (esquerda) */
.self-storage__image-col {
  display: block;
  overflow: hidden;
}

.self-storage__image-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* No mobile, a imagem fica acima do conteúdo com proporção controlada */
@media (max-width: 767px) {
  .self-storage__image-col img {
    object-fit: cover;
    object-position: center;
  }
}

/* Coluna conteúdo */
.self-storage__content {
  padding: var(--section-padding-mobile);
}

/* Heading da seção */
.self-storage__heading {
  margin-bottom: 26px;
  color: var(--color-text-dark);
}

/* ----- Lista de itens ----- */
.self-storage__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.self-storage__list::before {
  content: '';
  width: 2px;
  top: 22px;
  height: calc(100% - 130px);
  display: block;
  position: absolute;
  background-color: #FFBFBF;
  left: 22px;
}

/* ----- Item individual ----- */
.self-storage__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ----- Ícone do item (PNG com círculo embutido) ----- */
.self-storage__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.self-storage__icon-hover { display: none; }

.self-storage__icon:hover .self-storage__icon-normal { display: none; }
.self-storage__icon:hover .self-storage__icon-hover  { display: block; }

/* ----- Bloco de texto ----- */
.self-storage__text h3 {
  font-size: var(--text-h3);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  margin-top: 10px;
  line-height: var(--lh-h1);
}

.self-storage__text p {
  font-size: var(--text-small);
  font-weight: var(--weight-body);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
}
.self-storage__text p:not(:last-child) {
  margin-bottom: 14px;
}


/* ----- Desktop (≥1025px): 2 colunas lado a lado ----- */
@media (min-width: 1025px) {
  .self-storage__layout {
    flex-direction: row;
    min-height: 500px;
  }

  /* Coluna imagem: visível, ocupa ~46% dentro do container */
  .self-storage__image-col {
    display: block;
    flex: 0 0 46%;
    max-width: 46%;
  }

  /* Coluna conteúdo: ocupa ~54%, padding lateral apenas */
  .self-storage__content {
    flex: 0 0 54%;
    max-width: 54%;
    padding: 0 0 0 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ----- Tablet (768–1024px) ----- */
@media (min-width: 768px) and (max-width: 1024px) {
  .self-storage__content {
    padding: 64px 0;
  }
}

/* =========================================================
   Fase 4 — Como Funciona (PRD §4.5)
   ========================================================= */

#como-funciona {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
}

.como-funciona__heading {
  color: var(--color-text-dark);
  margin-top: 0;
  margin-bottom: 32px;
}

/* ----- Labels dos 3 passos (mobile: coluna única) ----- */
.como-funciona__labels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.como-funciona__label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.como-funciona__label-img {
  flex-shrink: 0;
  width: 58%;
  height: auto;
  display: block;
}

.como-funciona__label p {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: var(--weight-heading);
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.4;
  min-width: 0;
}

/* ----- Desktop (≥1025px): processo como background da seção ----- */
@media (min-width: 1025px) {
  #como-funciona {
    background-image: url('../images/processo-desktop.webp');
    background-position: center 80px;
    background-repeat: no-repeat;
    background-size: 896px auto;
    padding: 80px 0 64px;
    min-height: 660px;
  }

  /* Heading restrito à esquerda — o lado direito exibe a imagem de fundo */
  .como-funciona__heading {
    max-width: 450px;
  }

  /* No desktop os passos estão na imagem de fundo — ocultar imagens mobile */
  .como-funciona__label-img {
    display: none;
  }

  .como-funciona__labels {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }

  .como-funciona__label {
    flex-direction: column;
    align-items: center;
    text-align: left;
    max-width: 170px;
    margin-left: 64px;
  }

  .como-funciona__label:nth-child(1) { margin-top: 280px; }
  .como-funciona__label:nth-child(2) { margin-top: 220px; }
  .como-funciona__label:nth-child(3) { margin-top: 60px; }
}

/* ----- Tablet (768–1024px) ----- */
@media (min-width: 768px) and (max-width: 1024px) {
  #como-funciona {
    padding: 64px 0;
  }

  .como-funciona__labels {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .como-funciona__label {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .como-funciona__label-img {
    display: none;
  }
}

/* =========================================================
   Fase 5 — Diferenciais (PRD §4.6)
   ========================================================= */

/* ----- section-tag com override local para esta seção ----- */
#diferenciais .section-tag {
  font-size: var(--text-body);
  background: var(--color-white);
  width: 80%;
}

/* ----- Wrapper com background de imagem + overlay ----- */
.diferenciais__bg {
  background-color: var(--color-bg-fallback);
  background-image: url('../images/bg-guarde-seus-bens.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--section-padding-mobile);
}

/* ----- Layout interno (mobile-first: coluna única) ----- */
.diferenciais__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ----- Coluna esquerda: badge + heading ----- */
.diferenciais__intro {
  display: flex;
  flex-direction: column;
}

.diferenciais__heading {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-h2);
  line-height: var(--lh-h1);
  margin: 0;
}

/* ----- Grade de cards (mobile-first: 1 coluna) ----- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px 20px;
}

/* ----- Card individual — texto alinhado à esquerda ----- */
.diferenciais__card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-card-dif);
  box-shadow: var(--shadow-card);
  padding: 46px 10px 30px;
  text-align: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.diferenciais__card:hover {
  transform: translateY(-24px);
  box-shadow: var(--shadow-card-hover);
}

/* ----- Ícone "pendurado" no topo do card ----- */
.diferenciais__icon {
  position: absolute;
  top: 0;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: var(--radius-circle);
  background: var(--color-primary);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ----- Título do card ----- */
.diferenciais__card h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-h3);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: var(--lh-h1);
}

/* ----- Parágrafo do card ----- */
.diferenciais__card p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  margin: 0;
}

/* ----- Mobile (≤767px): card com largura e altura controladas ----- */
@media (max-width: 767px) {
  .diferenciais__card {
    max-width: 260px;
    min-height: 200px;
    width: 100%;
  }
}

/* ----- Tablet (768–1024px): 2 colunas ----- */
@media (min-width: 768px) {
  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- Desktop (≥1025px): layout de 2 colunas: intro + grid ----- */
@media (min-width: 1025px) {
  .diferenciais__bg {
    padding: var(--section-padding-desktop);
  }

  .diferenciais__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .diferenciais__intro {
    flex: 0 0 30%;
    max-width: 30%;
    justify-content: center;
    padding-top: 40px;
  }

  .diferenciais__grid {
    flex: 0 0 63%;
    max-width: 63%;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .diferenciais__card {
    transition: none;
  }
  .diferenciais__card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }
}

/* =========================================================
   Seção Parceiros — Fase 6
   ========================================================= */

/* ----- Base (mobile-first) ----- */
#parceiros {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
}

/* ----- Desktop: layout com faixa vermelha do título à direita do slider ----- */
.parceiros__layout {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Área do slider (esquerda) */
.parceiros__slider-area {
  flex: 1;
  min-width: 0;
}

/* Faixa do título (direita) — visível apenas no desktop */
.parceiros__title-bar {
  display: none;
  background: var(--color-primary);
  color: var(--color-text-light);
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  min-width: 260px;
}

.parceiros__title-bar h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-h2);
  color: var(--color-text-light);
  margin: 0;
  white-space: nowrap;
}

/* Heading mobile (acima do slider, só aparece no mobile) */
.parceiros__heading-mobile {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-heading);
  color: var(--color-text-dark);
  text-align: center;
  margin: 0 0 40px;
}

.parceiros__slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.parceiros__track-outer {
  overflow: hidden;
  flex: 1;
}

.parceiros__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.7s ease;
}

/* Mobile: 1 slide visível */
.parceiros__slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}


.parceiros__slide img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: var(--radius-card);
  box-sizing: border-box;
}

.parceiros__name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--weight-heading);
  color: var(--color-text-dark);
  text-align: center;
  text-transform: none;
}

/* ----- Botões prev/next ----- */
.parceiros__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--color-white);
  color: var(--color-primary);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.parceiros__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Setas de carrosseis: dobra o tamanho original (18px → 36px, 20px → 40px) */
.parceiros__btn svg,
.testimonials__btn svg {
  width: 36px;
  height: 36px;
}

.estrutura-modal__nav svg {
  width: 40px;
  height: 40px;
}

/* ----- Desktop (≥1025px): 3 slides visíveis + faixa título ----- */
@media (min-width: 1025px) {
  #parceiros {
    padding: 140px 0 30px;
    overflow: hidden;
  }

  /* Faz o container ocupar largura total para que a barra vermelha chegue à borda */
  #parceiros > .container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .parceiros__layout {
    position: relative;
    min-height: 280px;
  }

  /* Padding esquerdo espelha o container: alinha logos com o restante do site */
  .parceiros__slider-area {
    flex: 0 0 57.125%;
    max-width: 57.125%;
    padding: 80px 32px 80px max(24px, calc((100vw - 952px) / 2));
    z-index: 1;
  }

  .parceiros__heading-mobile {
    display: none;
  }

  /* Barra vermelha: cobre de 54% até a borda direita */
  .parceiros__title-bar {
    position: absolute;
    display: flex;
    left: 54%;
    right: 0;
    top: 0;
    bottom: 0;
    align-items: center;
    padding: 0 0 0 4vw;
    max-height: 90px;
    margin-top: 132px;
    text-align: left;
    justify-content: left;
  }

  .parceiros__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    z-index: 1;
  }
  .parceiros__btn--prev { left: -20px; }
  .parceiros__btn--next { right: -20px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .parceiros__track {
    transition: none;
  }
}

/* =========================================================
   Fase 7 — Fale Conosco / Formulário (PRD §4.8)
   ========================================================= */

/* ----- Wrapper da seção ----- */
#contato {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
}

/* ----- Layout interno (mobile-first: coluna única) ----- */
.contato__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ----- Coluna de imagens ----- */
.contato__images img {
  max-width: 70%;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

@media (max-width: 767px) {
  .contato__images img {
    max-width: 100%;
    width: 100%;
  }
}


/* ----- Coluna de conteúdo ----- */
.contato__heading {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-h2);
  color: var(--color-text-dark);
  margin-bottom: 16px;
  line-height: var(--lh-h1);
}

.contato__intro {
  font-size: 14px;
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contato__intro a {
  color: var(--color-primary);
  text-decoration: underline;
}

.contato__intro a:hover {
  color: var(--color-primary-dark);
}

.contato__note {
  font-size: var(--text-small);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

/* ----- Formulário ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Linha de 2 campos lado a lado (mobile: 1 coluna) */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Campo individual */
.contact-form__field {
  display: flex;
  flex-direction: column;
}

.contact-form__field label {
  /* Visualmente oculto mas acessível a screen readers */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  padding: 8px 10px;
  font: inherit;
  font-size: var(--text-body);
  color: var(--color-text-dark);
  background: #f7f7f7;
  transition: border-color 0.2s ease, outline 0.2s ease;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  outline: 2px solid rgba(142, 10, 11, 0.2);
  outline-offset: 0;
}

/* Validação visual */
.contact-form__field input:invalid:not(:placeholder-shown),
.contact-form__field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-primary);
}

/* Botão de envio */
.contact-form__submit {
  background: var(--color-primary);
  color: var(--color-text-light);
  border: 0;
  width: 156px;
  height: 40px;
  padding: 0 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 15px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--color-primary-dark);
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Feedback inline */
.contact-form__feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-button);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.contact-form__feedback:not(:empty) {
  display: block;
}

.contact-form__feedback--success {
  background: #e6f4ea;
  color: #1e6e34;
  border: 1px solid #b7dfc3;
}

.contact-form__feedback--error {
  background: #fdf2f2;
  color: var(--color-primary-dark);
  border: 1px solid #f5c0c0;
}

/* Esconde o badge flutuante do reCAPTCHA v3 (permitido pelo Google
   desde que o texto de atribuição apareça na página — PRD §8) */
.grecaptcha-badge { visibility: hidden !important; }

/* Texto de atribuição obrigatório que substitui o badge */
.recaptcha-notice {
  margin-top: 8px;
  font-size: 11px;
  color: #595959; /* contraste AA sobre fundo branco (>= 4.5:1) */
  line-height: 1.4;
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
}

/* ----- Tablet (768px+): 2 colunas, proporção WP (--width: 49.7%) ----- */
@media (min-width: 768px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .contato__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .contato__images {
    flex: 0 0 44%;
    max-width: 44%;
  }

  .contato__content {
    flex: 1;
    min-width: 0;
  }
}

/* ----- Desktop (≥1025px): padding e gap maiores ----- */
@media (min-width: 1025px) {
  #contato {
    padding: var(--section-padding-desktop);
  }

  .contato__inner {
    gap: 64px;
  }

  .contato__images img {
    margin-left: 80px;
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .contact-form__field input,
  .contact-form__field textarea,
  .contact-form__submit {
    transition: none;
  }
}

/* =========================================================
   Fase 8 — Depoimentos (PRD §4.9)
   ========================================================= */

/* ----- Seção ----- */
#depoimentos {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
  overflow: hidden;
}

/* ----- Wrapper: setas + viewport ----- */
.testimonials__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ----- Viewport ----- */
.testimonials__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

/* ----- Track ----- */
.testimonials__track {
  display: flex;
  transition: transform 0.7s ease;
}

/* ----- Slide ----- */
.testimonials__slide {
  flex-shrink: 0;
  width: 100%; /* sobrescrito pelo JS com valor em px */
  opacity: 0.45;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonials__slide.is-center {
  opacity: 1;
  transform: scale(1);
}

/* ----- Card individual ----- */
.testimonials__card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

/* ----- Aspas decorativas (PNG) ----- */
.testimonials__quote-mark {
  display: block;
  margin-bottom: 16px;
  line-height: 0;
}


/* ----- Texto do depoimento ----- */
.testimonials__text {
  margin: 0;
  padding: 0;
  border: 0;
}

.testimonials__text p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-text-dark);
  font-style: italic;
  margin: 0 0 24px;
}

/* ----- Rodapé: avatar + nome ----- */
.testimonials__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ----- Avatar ----- */
.testimonials__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  background: var(--color-avatar-bg);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ----- Nome ----- */
.testimonials__name {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 19px;
  font-style: normal;
  color: #656363;
  text-align: center;
}

/* ----- Botões prev/next ----- */
.testimonials__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--color-white);
  color: #8a8a8a;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.testimonials__btn:hover {
  opacity: 1;
}

.testimonials__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----- Desktop (≥1025px) ----- */
@media (min-width: 1025px) {
  #depoimentos {
    padding: var(--section-padding-desktop);
  }

  .testimonials__wrapper {
    gap: 0;
    align-items: center;
  }

  .testimonials__track {
    gap: 8px;
  }

  .testimonials__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  .testimonials__btn--prev { left: -20px; }
  .testimonials__btn--next { right: -20px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .testimonials__track,
  .testimonials__slide,
  .testimonials__btn {
    transition: none;
  }
  .testimonials__slide {
    transform: scale(0.85);
  }
  .testimonials__slide.is-center {
    transform: scale(1);
  }
}

/* =========================================================
   Fase 9 — Footer + consentimento Google Maps (PRD §4.10)
   ========================================================= */

/* ----- Wrapper geral ----- */
.site-footer {
  background: url('../images/bg-desktop.webp') center top / cover no-repeat;
  color: var(--color-text-light);
  position: relative;
}

/* ----- Conteúdo principal ----- */
.site-footer__content {
  padding: 88px 0 40px;
}

/* ----- Grid de colunas (mobile-first: 1 coluna) ----- */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ----- Coluna individual ----- */
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ----- Label ----- */
.footer__label {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-body);
  margin-bottom: 4px;
  margin-top: 16px;
  color: var(--color-text-light);
}

.footer__label:first-child {
  margin-top: 0;
}

/* ----- Texto ----- */
.footer__text {
  font-family: "Roboto", var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: #FFFFFFD4;
  margin: 0;
}

/* ----- Sub-label de grupo de contato ----- */
.footer__contact-group-label {
  font-family: "Roboto", var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: #FFFFFFD4;
  margin: 4px 0 0;
}

/* ----- Botões pill ----- */
.footer__pill {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 4px 20px;
  color: var(--color-text-light);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-body);
  text-decoration: none;
  align-self: flex-start;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__pill:hover,
.footer__pill:focus-visible {
  background: #ffffff;
  color: var(--color-text-dark);
  border-color: #ffffff;
  outline: none;
}

/* Primeira coluna: pills com 70% de largura */
.site-footer__col:first-child .footer__pill {
  width: 70%;
}

/* ----- Maps consent gate ----- */
.maps-consent {
  position: relative;
  height: 300px;
  border-radius: var(--radius-card-dif);
  overflow: hidden;
}


.maps-consent__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- Barra de copyright ----- */
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__bottom p {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--lh-body);
  color: var(--color-text-light);
  margin: 0;
  opacity: 0.85;
}

.cookie-manage-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--lh-body);
  color: var(--color-text-light);
  opacity: 0.85;
  text-decoration: underline;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-manage-link:hover {
  opacity: 1;
}

.cookie-manage-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* ----- Tablet (768–1024px) ----- */
@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer__content {
    padding: 156px 0 48px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
  }

  .site-footer__col:last-child {
    grid-column: 1 / -1;
  }
}

/* ----- Desktop (≥1025px): 3 colunas ----- */
@media (min-width: 1025px) {
  .site-footer__content {
    padding: 192px 0 96px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 48px;
    align-items: start;
  }

  .site-footer__col:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__pill {
    transition: none;
  }
}

/* ==========================================================
   Fase 10 — Elementos flutuantes (PRD §4.11)
   ========================================================== */

/* ===== FAB WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 80px;
  right: 46px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: var(--color-whatsapp);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 12px rgba(0,0,0,0.25), 0 0 0 10px rgba(37,211,102,0); }
}

@keyframes fab-scale-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .fab-whatsapp {
    animation: fab-scale-in 0.4s ease both, fab-pulse 2.5s ease 0.4s infinite;
  }
}

/* ===== Botão voltar ao topo ===== */
.back-to-top {
  position: fixed;
  bottom: 16px;
  right: 44px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: var(--color-primary);
  color: var(--color-text-light);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
}
.back-to-top img {
  width: 48px;
  height: 100%;
  max-width: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
  .fab-whatsapp {
    animation: none;
    transition: none;
  }
}

/* =========================================================
   Modal Nossa Estrutura
   ========================================================= */

.estrutura-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.estrutura-modal[hidden] {
  display: none;
}

.estrutura-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.estrutura-modal__dialog {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 840px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  padding: 0 40px;
}

/* ----- Cabeçalho ----- */
.estrutura-modal__header {
  padding: 20px 56px 20px 24px;
}

.estrutura-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.estrutura-modal__title {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.2;
}

/* ----- Botão fechar ----- */
.estrutura-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.estrutura-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----- Carrossel ----- */
.estrutura-modal__carousel {
  position: relative;
}

.estrutura-modal__track-outer {
  overflow: hidden;
}

.estrutura-modal__track {
  display: flex;
  transition: transform 0.4s ease;
}

.estrutura-modal__slide {
  flex-shrink: 0;
  width: 100%;
}

.estrutura-modal__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* ----- Setas de navegação ----- */
.estrutura-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--color-white);
  color: var(--color-primary);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.estrutura-modal__nav--prev { left: -22px; }
.estrutura-modal__nav--next { right: -22px; }

.estrutura-modal__nav:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----- Dots ----- */
.estrutura-modal__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
}

.estrutura-modal__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-circle);
  background: var(--color-border);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.estrutura-modal__dot.is-active {
  background: var(--color-primary);
}

.estrutura-modal__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .estrutura-modal__track,
  .estrutura-modal__close,
  .estrutura-modal__nav,
  .estrutura-modal__dot {
    transition: none;
  }
}

/* ===== Cookie Consent Banner ===== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 528px;
  width: calc(100% - 48px);
}

.cookie-banner[hidden] {
  display: none;
}


.cookie-banner__dialog {
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  max-width: 528px;
  width: 100%;
  padding: 28px 32px 24px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Close (X) */
.cookie-banner__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-circle);
  transition: background 0.2s ease;
}

.cookie-banner__close:hover {
  background: rgba(0, 0, 0, 0.07);
}

.cookie-banner__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Title */
.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: var(--weight-heading);
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 18px;
  padding-right: 20px;
}

/* Body text */
.cookie-banner__text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

/* Action buttons */
.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-banner__btn {
  flex: 1;
  padding: 12px 8px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.cookie-banner__btn--accept:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.cookie-banner__btn--secondary {
  background: var(--color-white);
  color: var(--color-text-dark);
  border: 1px solid #ccc;
}

.cookie-banner__btn--secondary:hover {
  background: #f5f5f5;
}

/* Mobile */
@media (max-width: 767px) {
  .cookie-banner__dialog {
    padding: 24px 18px 20px;
    max-height: 85vh;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner__btn {
    flex: none;
    width: 100%;
    padding: 14px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner__toggle-label,
  .cookie-banner__toggle-label::after,
  .cookie-banner__chevron,
  .cookie-banner__close,
  .cookie-banner__btn {
    transition: none;
  }
}
