/* ============================================================
   Express Mudanças & Carretos — style.css
   Fonte de verdade visual: docs/brand.md
   ============================================================ */

/* §1 — CSS Variables / Design Tokens ─────────────────────── */
:root {
  --verde:         #006437;
  --verde-medio:   #007A44;
  --verde-claro:   #52B788;
  --branco:        #FFFFFF;
  --cinza-fundo:   #F5F7F5;
  --cinza-texto:   #374151;
  --cinza-suave:   #6B7280;
  --cinza-borda:   #E5E7EB;
  --laranja:       #E85D04;
  --laranja-hover: #C44B03;
  --wa-green:      #25D366;
  --wa-hover:      #128C7E;

  --font-base:   system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius:      0.5rem;
  --radius-lg:   0.875rem;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.12);
  --transition:  0.2s ease;

  --header-h:    68px;
}

/* §2 — Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--cinza-texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; }

ul { list-style: none; }

/* §3 — Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--verde);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* §4 — Botões ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  min-height: 48px; /* WCAG touch target */
}

.btn-primary {
  background: var(--laranja);
  color: var(--branco);
  box-shadow: 0 2px 8px rgba(232,93,4,0.30);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--laranja-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,93,4,0.40);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--branco);
  box-shadow: 0 2px 8px rgba(37,211,102,0.30);
}
.btn-wa:hover, .btn-wa:focus-visible {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.75);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--branco);
}

.btn-outline-verde {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-outline-verde:hover { background: var(--verde); color: var(--branco); }

/* §5 — Layout helpers ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 5rem; }
.section--cinza { background: var(--cinza-fundo); }
.section--verde { background: var(--verde); }

.section__kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 0.625rem;
}
.section--verde .section__kicker { color: rgba(255,255,255,0.7); }

.section__title { margin-bottom: 1rem; }
.section--verde .section__title { color: var(--branco); }

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--cinza-suave);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section__subtitle:last-child { margin-bottom: 2.5rem; }
.section--verde .section__subtitle { color: rgba(255,255,255,0.8); }

.text-center { text-align: center; }
.text-center .section__subtitle { margin-inline: auto; }

/* Grid utilitário */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* §6 — Header Fixo ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--verde);
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--branco);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.header__logo span { color: var(--branco); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}
.header__nav a:hover { color: var(--branco); }

/* Menu mobile toggle */
.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--branco);
}

/* §7 — Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--verde);
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0,100,55,0.96) 0%,
    rgba(0,100,55,0.88) 32%,
    rgba(0,100,55,0.4) 60%,
    rgba(0,100,55,0) 85%
  );
}

.hero__inner {
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--branco);
}

.hero__kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 1rem;
}

.hero__title {
  color: var(--branco);
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 4px rgba(0,30,15,0.7);
}
.trust-item svg { color: var(--verde-claro); flex-shrink: 0; }

/* §8 — Serviços ──────────────────────────────────────────── */
.servicos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.servico-card {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.servico-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.servico-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(82,183,136,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--verde);
}

.servico-card__title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.servico-card__desc  { color: var(--cinza-suave); font-size: 0.9375rem; }
.servico-card__price {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--verde);
}

/* §9 — Calculadora ───────────────────────────────────────── */
.calculadora {
  background: var(--verde);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-intro .section__kicker { color: rgba(255,255,255,0.7); }
.calc-intro .section__title  { color: var(--branco); }
.calc-intro p                 { color: rgba(255,255,255,0.82); }

.calc-intro__list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.calc-intro__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.9375rem;
}

.calc-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.calc-card h3 { margin-bottom: 1.25rem; }

/* Grupo de cômodos */
.calc-comodos { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }

.calc-comodo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--cinza-borda);
}
.calc-comodo:last-child { border-bottom: none; }

.calc-comodo__label { font-size: 0.9375rem; }

.calc-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-qty__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--cinza-borda);
  background: var(--branco);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  transition: background var(--transition), border-color var(--transition);
}
.calc-qty__btn:hover { background: var(--cinza-fundo); border-color: var(--verde); }

.calc-qty__input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--verde);
  background: transparent;
  font-family: var(--font-base);
  -moz-appearance: textfield;
}
.calc-qty__input::-webkit-outer-spin-button,
.calc-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Extras */
.calc-extras { margin-bottom: 1.25rem; }
.calc-extras__title { font-size: 0.875rem; font-weight: 600; color: var(--cinza-suave); margin-bottom: 0.75rem; }
.calc-extras__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.calc-extra-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--cinza-texto);
}
.calc-extra-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--verde);
  cursor: pointer;
}

/* Resultado da calculadora */
.calc-resultado {
  background: var(--cinza-fundo);
  border-radius: var(--radius);
  border-left: 4px solid var(--verde-claro);
  padding: 1.25rem;
  margin-top: 1rem;
}

.calc-resultado__titulo { font-size: 0.8125rem; font-weight: 600; color: var(--cinza-suave); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }

.calc-resultado__m3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.calc-resultado__veiculo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cinza-texto);
  margin-bottom: 1rem;
}

.calc-resultado .btn { width: 100%; justify-content: center; }

/* ── Calculadora Wizard ──────────────────────────────────────── */
.calc-progress {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cinza-suave);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.calc-step > h3 { color: var(--verde); }

.calc-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f3f1;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.calc-item:last-child { border-bottom: none; }
.calc-item--active    { opacity: 1; }

.calc-item__label {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  flex: 1;
  padding-right: 0.75rem;
}

.calc-item__stepper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.calc-stepper-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #d1d5db;
  background: var(--branco);
  color: var(--verde);
  font-size: 1.375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, border-color 0.1s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.calc-stepper-minus { border-radius: 6px 0 0 6px; border-right: none; }
.calc-stepper-plus  { border-radius: 0 6px 6px 0; border-left: none; }
.calc-stepper-btn:hover:not(:disabled) {
  background: var(--cinza-fundo);
  border-color: var(--verde-medio);
}
.calc-stepper-btn:disabled { opacity: 0.3; cursor: default; }

.calc-item__qty {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid #d1d5db;
  border-left: none;
  border-right: none;
  background: var(--cinza-fundo);
  color: var(--cinza-texto);
  user-select: none;
}

/* Navegação das etapas */
.calc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
}
.calc-nav--center { justify-content: center; }

.calc-btn-skip {
  background: none;
  border: none;
  color: var(--cinza-suave);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.75rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.calc-btn-back,
.calc-btn-edit {
  background: none;
  border: 1px solid #d1d5db;
  color: var(--cinza-texto);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* Painel de presets */
#calc-presets { display: flex; flex-direction: column; gap: 0.875rem; }

.calc-presets__title {
  color: var(--verde);
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.calc-presets__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.625rem;
}

.calc-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.875rem 0.5rem;
  min-height: 76px;
  background: var(--cinza-fundo);
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--font-base);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.calc-preset-btn:hover,
.calc-preset-btn:focus-visible {
  border-color: var(--verde-claro);
  background: #edf7f1;
  outline: none;
}
.calc-preset-btn__icon {
  font-size: 1.375rem;
  line-height: 1;
  display: block;
}
.calc-preset-btn__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cinza-texto);
  line-height: 1.3;
}

.calc-btn-detalhe {
  background: none;
  border: none;
  color: var(--verde-medio);
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
  padding: 0.5rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-base);
  width: 100%;
}
.calc-btn-detalhe:hover { color: var(--verde); }

/* Caixa de resultado (Etapa 4) */
.calc-result-box {
  background: var(--cinza-fundo);
  border-radius: 0.75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.calc-result-box__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.calc-result-box__label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 0.5rem;
}
.calc-result-price {
  display: block;
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  margin-bottom: 0.625rem;
}
.calc-result-price strong {
  font-size: 1.125rem;
  color: var(--verde);
}
.calc-result-box__msg {
  color: var(--cinza-suave);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.calc-result-box__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.625rem;
  white-space: normal;
  text-align: center;
}
.calc-result-box__cta-email {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.625rem 1rem;
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  color: var(--verde);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.calc-result-box__cta-email:hover {
  background: var(--verde);
  color: var(--branco);
}


/* §10 — Diferenciais ─────────────────────────────────────── */
.diferenciais__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }

.diferencial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.diferencial__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,100,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--verde);
}

.diferencial__title { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.diferencial__desc  { color: var(--cinza-suave); font-size: 0.9375rem; }

/* §11 — Depoimentos ─────────────────────────────────────── */
.depoimentos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.depoimento-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cinza-borda);
}

.depoimento-card__stars {
  color: #F59E0B;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.depoimento-card__texto {
  font-style: italic;
  color: var(--cinza-texto);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.depoimento-card__autor {
  font-weight: 600;
  font-size: 0.875rem;
}
.depoimento-card__local {
  font-size: 0.8125rem;
  color: var(--cinza-suave);
}

/* §12 — Área de Atendimento ─────────────────────────────── */
.area-atendimento__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.area-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.25rem; }

.area-lista li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  color: var(--cinza-texto);
}
.area-lista li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-claro);
  flex-shrink: 0;
}

.mapa-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.mapa-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* §13 — FAQ ─────────────────────────────────────────────── */
.faq-lista { max-width: 780px; margin-inline: auto; }

details.faq-item {
  border-bottom: 1px solid var(--cinza-borda);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  transition: color var(--transition);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--verde); }

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--verde-claro);
}
details[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__resposta {
  padding-bottom: 1.25rem;
  color: var(--cinza-suave);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* §14 — Contato / Formulário ────────────────────────────── */
.contato__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contato-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.contato-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(82,183,136,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  flex-shrink: 0;
}
.contato-info__label { font-size: 0.8125rem; font-weight: 600; color: var(--cinza-suave); text-transform: uppercase; letter-spacing: 0.05em; }
.contato-info__value { font-size: 0.9375rem; font-weight: 500; margin-top: 0.125rem; }
.contato-info__value a:hover { color: var(--verde); }

/* Form */
.form-orcamento {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-orcamento h3 { margin-bottom: 1.25rem; }

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--cinza-texto);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--cinza-texto);
  background: var(--branco);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0,100,55,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* CEP opcional (preferível) — dica + feedback de busca de endereço */
.form-cep-hint {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cinza-suave);
  background: var(--cinza-fundo);
  border-left: 3px solid var(--verde-claro);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.field-hint {
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  min-height: 1.1em;
  color: var(--cinza-suave);
}
.field-hint--loading { color: var(--cinza-suave); }
.field-hint--ok      { color: var(--verde-medio); }
.field-hint--erro    { color: #B91C1C; }

.form-distancia {
  font-size: 0.9375rem;
  color: var(--cinza-texto);
  background: var(--cinza-fundo);
  border: 1px solid var(--verde-claro);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.form-distancia strong { color: var(--verde); }
.form-distancia-obs {
  display: block;
  font-size: 0.75rem;
  color: var(--cinza-suave);
  font-weight: 400;
}

/* Honeypot — invisível para usuários, armadilha para bots */
.hp-field { display: none !important; visibility: hidden !important; }

.form-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #DC2626;
  margin-bottom: 1rem;
}

.form-submit { width: 100%; justify-content: center; font-size: 1.0625rem; }

.campo-req { color: #DC2626; font-size: 0.7em; }

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: #DC2626;
  margin-top: 0.25rem;
  min-height: 1.1em;
}

.form-legenda {
  font-size: 0.8rem;
  color: var(--cinza-suave);
  margin-bottom: 0.5rem;
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #DC2626;
  outline-color: #DC2626;
}

.form-lgpd {
  font-size: 0.8rem;
  color: var(--cinza-suave);
  text-align: center;
  margin-top: 0.75rem;
}

/* §15 — Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--verde);
  color: rgba(255,255,255,0.75);
  padding-block: 3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand { color: var(--branco); font-weight: 700; font-size: 1.125rem; margin-bottom: 0.625rem; }
.footer__brand span { color: var(--verde-claro); }
.footer__desc { font-size: 0.9rem; max-width: 280px; }

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.9rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--branco); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.footer__studio a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer__studio a:hover { color: #fff; text-decoration: underline; }


/* §16 — LGPD Consent Banner ─────────────────────────────── */
#em-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--verde);
  color: var(--branco);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

#em-consent-banner.em-consent--visible { transform: translateY(0); }

.em-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  max-width: 1160px;
  margin-inline: auto;
}

.em-consent__text { font-size: 0.875rem; margin: 0; }
.em-consent__link { color: var(--verde-claro); text-decoration: underline; }

.em-consent__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.em-consent__btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 40px;
  transition: background var(--transition);
}
.em-consent__btn--primary  { background: var(--laranja); color: var(--branco); }
.em-consent__btn--primary:hover { background: var(--laranja-hover); }
.em-consent__btn--secondary { background: rgba(255,255,255,0.12); color: var(--branco); border: 1px solid rgba(255,255,255,0.25); }
.em-consent__btn--secondary:hover { background: rgba(255,255,255,0.2); }

/* §17 — WhatsApp Flutuante ────────────────────────────────── */
.wa-flutuante {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-flutuante:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,0.55); }
.wa-flutuante svg { color: var(--branco); }

/* §17.4 — Faixa de Fotos ─────────────────────────────────────── */
.photo-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.photo-strip__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--branco);
}

.photo-strip__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.photo-strip__item:hover img {
  transform: scale(1.04);
}

.photo-strip__caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cinza-texto);
}

.photo-strip__caption svg {
  color: var(--verde-claro);
  flex-shrink: 0;
}

/* §17.5 — Tablet médio (600–900px) ─────────────────────────── */
@media (min-width: 601px) and (max-width: 900px) {
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .servicos__grid      { grid-template-columns: repeat(2, 1fr); }
}

/* §18 — Mobile ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }

  .header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--verde);
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .hero { min-height: 100svh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .hero__inner { flex-direction: column; align-items: flex-start; }

  /* Mobile usa a mesma foto do desktop — ancora o crop horizontal no
     logo (que fica em ~63% da largura da imagem original), já que
     object-fit:cover em uma caixa estreita/alta corta as laterais. */
  .hero__bg { object-position: 63% 42%; }

  .hero__overlay {
    background: linear-gradient(170deg,
      rgba(0,100,55,0.96) 0%,
      rgba(0,100,55,0.93) 45%,
      rgba(0,100,55,0.7) 65%,
      rgba(0,100,55,0.3) 80%,
      rgba(0,100,55,0.05) 92%,
      rgba(0,100,55,0) 100%
    );
  }

  .calc-layout { grid-template-columns: 1fr; }
  .calc-extras__grid { grid-template-columns: 1fr; }

  /* Intro: esconder parágrafos e lista (manter h2 visível) no mobile */
  .calc-intro .calc-intro__desc,
  .calc-intro__list { display: none; }

  /* Wizard detalhado: limitar altura da lista de itens + scroll interno */
  .calc-items {
    max-height: 55dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Ajustar padding do card no mobile */
  .calc-card { padding: 1.25rem; }

  .area-atendimento__inner { grid-template-columns: 1fr; }
  .area-lista { grid-template-columns: 1fr; }

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

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .photo-strip__grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding-block: 3.5rem; }
}

@media (max-width: 480px) {
  .em-consent__inner { flex-direction: column; align-items: flex-start; }
  .wa-flutuante { bottom: 1rem; right: 1rem; }
}

/* §19 — Acessibilidade ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.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;
}
