/* ==========================================================================
   BENEDETI TRUCK DIESEL — style.css
   Modo Padrão: HTML5 + CSS3 (variáveis) + JS vanilla. Sem frameworks/build.
   Estrutura de tokens fixa (ver FUNCIONALIDADES-PADRAO.md); valores deste
   bloco são exclusivos deste projeto, derivados da logo (laranja + navy).
   ========================================================================== */

:root {
  /* ---- Escala laranja (marca) ---- */
  --orange-50:  #fff7f0;
  --orange-100: #ffead9;
  --orange-200: #ffd5b3;
  --orange-300: #ffb87d;
  --orange-400: #f99a4b;
  --orange-500: #f98223; /* cor principal da logo */
  --orange-600: #db6510;
  --orange-700: #b84d08;
  --orange-800: #923c0b;
  --orange-900: #76330d;

  /* ---- Escala navy (marca) ---- */
  --navy-50:  #f3f6fa;
  --navy-100: #e6ebf2;
  --navy-200: #c8d2df;
  --navy-300: #9dacc0;
  --navy-400: #6c809b;
  --navy-500: #4b607c;
  --navy-600: #344861;
  --navy-700: #24354c;
  --navy-800: #14243a;
  --navy-900: #00071a; /* cor principal da logo */
  --navy-950: #00030c;

  /* ---- Superfícies ---- */
  --white:        #ffffff;
  --off-white:    #fafafa;
  --surface-light:#f5f6f8;
  --surface-soft: #eef1f5;
  --surface-blue: #f2f5f9;
  --border-light: #dce2e9;

  /* ---- Tokens semânticos (estrutura fixa do padrão Indexa) ---- */
  --brand:      var(--orange-500);
  --brand-lt:   var(--orange-300);
  --brand-dark: var(--orange-600);

  --bg:      var(--white);
  --surface: var(--surface-light);
  --card:    var(--white);

  --tx-1: var(--navy-900);   /* títulos, texto forte */
  --tx-2: #3f4b5e;           /* texto secundário */
  --tx-3: #697386;           /* texto fraco/legendas */
  --line: var(--border-light);
  --line-strong: #c7cdd6;
  --ink-soft: var(--navy-800);

  --text-on-dark: var(--white);

  --ff-display: 'Big Shoulders Display', sans-serif;
  --ff-body:    'Plus Jakarta Sans', sans-serif;

  /* ---- Espaçamento ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-pad: var(--space-5);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* ---- Efeitos ---- */
  --shadow-sm: 0 1px 2px rgba(0, 7, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 7, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 7, 26, 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --transition-fast: 200ms var(--ease);
  --transition-base: 400ms var(--ease);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tx-2);
  background: var(--bg);
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; }

input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--tx-1);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem); }

p { margin: 0 0 var(--space-4); }

/* ==========================================================================
   Acessibilidade
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ==========================================================================
   Layout utilitário
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(3.25rem, 4.5vw, 5rem);
}

.section--surface  { background: var(--surface-light); }
.section--blue     { background: var(--surface-light); }
.section--dark     { background: var(--navy-900); color: var(--text-on-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--text-on-dark); }
.section--dark p  { color: var(--navy-200); }

.section-title {
  max-width: 720px;
  margin-bottom: var(--space-7);
}

.section-title__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: var(--space-4);
}

.section-title__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); }

/* Botão "pílula com ícone embutido" — só os CTAs primários ganham o miolo circular */
.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  padding-right: 5px;
  padding-left: var(--space-6);
}

.btn--primary::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #1fa855;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.6 6.32A8.86 8.86 0 0 0 12.05 3.6a8.94 8.94 0 0 0-7.73 13.4L3 21l4.13-1.3a8.93 8.93 0 0 0 4.92 1.45h.01a8.94 8.94 0 0 0 8.93-8.94 8.86 8.86 0 0 0-3.39-6.89zM12.06 19.4h-.01a7.4 7.4 0 0 1-3.78-1.04l-.27-.16-2.81.9.9-2.74-.18-.28a7.41 7.41 0 0 1 11.5-9.2 7.34 7.34 0 0 1 2.18 5.24 7.42 7.42 0 0 1-7.53 7.28zm4.07-5.53c-.22-.11-1.3-.64-1.5-.71-.2-.07-.35-.11-.5.11-.15.22-.57.71-.7.86-.13.15-.26.16-.48.05-.22-.11-.93-.34-1.77-1.1-.65-.58-1.09-1.3-1.22-1.52-.13-.22-.01-.34.11-.45.11-.11.25-.28.37-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.07-.11-.6-1.45-.82-1.98-.22-.53-.45-.46-.62-.47-.16-.01-.35-.01-.53-.01-.18 0-.47.07-.72.32-.25.25-.95.93-.95 2.26 0 1.33.97 2.62 1.1 2.8.13.18 1.83 2.8 4.44 3.81.62.24 1.1.38 1.48.49.62.18 1.19.16 1.64.1.5-.07 1.5-.61 1.71-1.2.21-.59.21-1.1.15-1.2-.06-.1-.22-.16-.44-.27z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.btn--primary:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); }
.btn--primary:hover::after { transform: translate(2px, -2px); background-color: #18933f; }

#cookie-accept::after,
#cf-submit::after {
  background-color: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M17 7H9M17 7V15'/></svg>");
  background-size: 15px;
}
#cookie-accept:hover::after,
#cf-submit:hover::after { background-color: var(--brand-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

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

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  background: var(--navy-900);
  color: var(--navy-200);
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--brand);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.topbar__link {
  color: var(--white);
  font-weight: 600;
  transition: color var(--transition-fast);
}
.topbar__link:hover { color: var(--brand); }

.topbar__divider {
  width: 1px;
  height: 14px;
  background: var(--navy-600);
}

.topbar__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.topbar__location svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 768px) {
  .topbar__hours { display: none; }
}
@media (max-width: 560px) {
  .topbar__location { display: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition-base);
}

.header.is-stuck {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

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

.header__logo img {
  height: 70px;
  width: auto;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  position: relative;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-1);
  padding-block: var(--space-2);
  transition: color var(--transition-fast);
}

.nav__link:hover { color: var(--brand-dark); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__link.is-active { color: var(--brand-dark); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: var(--space-6);
}

.header__cta { white-space: nowrap; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 640px) {
  .header__inner { gap: var(--space-4); }
  .header__logo img { height: 34px; }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
}

/* ==========================================================================
   Menu mobile
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 7, 26, 0.6);
}

.mobile-menu__panel {
  position: relative;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-menu__link {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
}

.mobile-menu__link.is-active { color: var(--brand); }

.mobile-menu__contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--navy-700);
  padding-top: var(--space-5);
}

.mobile-menu__contact a { color: var(--navy-200); font-weight: 600; }

.mobile-menu__panel .btn--primary {
  align-self: flex-start;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-3);
  font-size: 0.875rem;
  color: var(--tx-3);
}

.breadcrumb__list a { color: var(--tx-2); font-weight: 600; }
.breadcrumb__list a:hover { color: var(--brand-dark); }

.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--orange-300);
}

.breadcrumb__list li[aria-current] { color: var(--tx-1); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-900);
  color: var(--navy-200);
}

.footer__top {
  padding-block: var(--space-9) var(--space-7);
  border-top: 3px solid var(--brand);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: var(--space-7);
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__logo {
  display: inline-flex;
  margin-bottom: var(--space-5);
}
.footer__logo img { height: 65px; }

.footer__desc { color: var(--navy-300); max-width: 320px; }

.footer__heading {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__list { display: flex; flex-direction: column; gap: var(--space-3); }

.footer__list a { color: var(--navy-200); transition: color var(--transition-fast); }
.footer__list a:hover { color: var(--brand); }

.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--navy-200);
}

.footer__contact-item svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: var(--brand);
}

.footer__bottom {
  border-top: 1px solid var(--navy-700);
  padding-block: var(--space-4);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--navy-400);
}

.footer__bottom-inner a { color: var(--navy-300); }
.footer__bottom-inner a:hover { color: var(--brand); }

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__credit-name { color: var(--white); font-weight: 700; }

.footer__credit img { height: 18px; width: auto; }

/* ==========================================================================
   Popup WhatsApp
   ========================================================================== */

.wa-popup {
  position: fixed;
  z-index: 200;
  left: var(--space-5);
  bottom: calc(var(--space-9) + 16px);
  width: min(340px, calc(100vw - 2 * var(--space-5)));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.wa-popup[hidden] { display: none; }

.wa-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 26, 0.45);
  z-index: 199;
}
.wa-popup__overlay[hidden] { display: none; }

.wa-popup-header {
  background: #1fa855;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  position: relative;
  z-index: 1;
}

.wa-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  flex-shrink: 0;
}
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; }

.wa-popup-info strong { display: block; font-family: var(--ff-display); font-size: 0.95rem; text-transform: uppercase; }
.wa-popup-info span { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--navy-200); }

.wa-online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ddc73;
  display: inline-block;
}

.wa-popup-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.wa-popup-close:hover { background: rgba(255, 255, 255, 0.2); }

.wa-popup-body { padding: var(--space-5); background: var(--surface-blue); }

.wa-bubble {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.wa-bubble p { margin: 0 0 var(--space-2); font-size: 0.9rem; color: var(--tx-2); }
.wa-bubble p:last-child { margin-bottom: 0; }

.wa-popup-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
}

.wa-popup-footer input {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: 0.95rem;
}
.wa-popup-footer input:focus-visible { outline-color: #1fa855; }
.wa-popup-footer input.is-invalid { border-color: #d8362a; }

.wa-popup-error {
  color: #d8362a;
  font-size: 0.8125rem;
  margin: -6px 0 0;
}
.wa-popup-error[hidden] { display: none; }

.wa-send-btn {
  background: #1fa855;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-family: var(--ff-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background var(--transition-fast);
}
.wa-send-btn:hover { background: #188744; }

/* FAB */
.wa-fab {
  position: fixed;
  z-index: 198;
  left: var(--space-5);
  bottom: var(--space-5);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1fa855;
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.wa-fab:hover { background: #188744; transform: scale(1.05); }
.wa-fab svg { width: 28px; height: 28px; }

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1fa855;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 560px) {
  .wa-fab { left: var(--space-4); bottom: var(--space-4); width: 54px; height: 54px; }
  .wa-popup { left: var(--space-4); bottom: calc(var(--space-8) + 12px); }
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  z-index: 197;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Banner de cookies
   ========================================================================== */

.cookie-banner {
  position: fixed;
  z-index: 196;
  left: 0; right: 0; bottom: 0;
  background: var(--navy-900);
  color: var(--navy-100);
  border-top: 3px solid var(--brand);
  box-shadow: 0 -14px 44px rgba(0, 7, 26, 0.4);
  padding: var(--space-5);
  animation: cookie-in var(--transition-base);
}
.cookie-banner[hidden] { display: none; }

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

/* Texto + ícone de cookie agrupados à esquerda; botão à direita */
.cookie-banner__inner p {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1 1 360px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-banner__inner p::before {
  content: "";
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(249, 130, 35, 0.16);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f98223' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/><path d='M8.5 8.5v.01M16 15.5v.01M11.5 12v.01M11 17v.01M7 14v.01'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}

.cookie-banner__inner a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__inner a:hover { color: var(--brand-lt); }

.cookie-banner #cookie-accept { flex-shrink: 0; }

@media (max-width: 560px) {
  .cookie-banner__inner { justify-content: stretch; }
  .cookie-banner #cookie-accept { width: 100%; }
}

/* Sobe o FAB e o back-to-top enquanto o banner de cookies está visível */
body.has-cookie-banner .wa-fab,
body.has-cookie-banner .back-to-top {
  transition: bottom var(--transition-base);
}
@media (max-width: 700px) {
  body.has-cookie-banner .wa-fab { bottom: calc(var(--space-4) + 96px); }
  body.has-cookie-banner .back-to-top { bottom: calc(var(--space-4) + 96px); }
}
@media (min-width: 701px) {
  body.has-cookie-banner .wa-fab { bottom: calc(var(--space-5) + 72px); }
  body.has-cookie-banner .back-to-top { bottom: calc(var(--space-5) + 72px); }
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast-container {
  position: fixed;
  z-index: 300;
  top: var(--space-5);
  right: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  background: var(--white);
  color: var(--tx-1);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--space-5);
  font-size: 0.9rem;
  max-width: 320px;
  animation: toast-in var(--transition-base);
}

.toast--error { border-left-color: #d8362a; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Scroll reveal (motion de entrada)
   A classe .reveal é adicionada via JS (script.js) — sem JS nada fica oculto.
   Sob prefers-reduced-motion, os elementos permanecem visíveis.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms var(--ease), transform 760ms var(--ease);
    will-change: transform, opacity;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Badges (hero)
   ========================================================================== */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tx-2);
}

.badge svg { width: 15px; height: 15px; color: var(--brand-dark); flex-shrink: 0; }

.hero .badge-row .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.hero .badge-row .badge svg { color: var(--brand); }

/* ==========================================================================
   Hero — full-bleed fotográfico
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88vh;
  background: var(--navy-950) url("assets/img/banner-benedeti.webp") center 38% / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 3, 12, 0.86) 0%, rgba(0, 3, 12, 0.5) 38%, rgba(0, 3, 12, 0.7) 78%, rgba(0, 3, 12, 0.96) 100%);
}

.hero__inner {
  padding-block: var(--space-9) var(--space-7);
}

.hero h1 {
  color: var(--white);
  max-width: 16ch;
}

.hero__lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: var(--space-6) 0 var(--space-5);
}

.hero .btn--primary { background: var(--white); color: var(--navy-900); }

.hero .btn--primary::after {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--navy-900);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M17 7H9M17 7V15'/></svg>");
  background-size: 15px;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero .btn--primary:hover { background: var(--white); color: var(--navy-900); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35); }
.hero .btn--primary:hover::after { background-color: var(--brand); }

.hero__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.hero__stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__stat strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2rem, 1.2vw + 1.6rem, 2.75rem);
  color: var(--white);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .hero { min-height: 86vh; }
  .hero__stats { gap: var(--space-5); }
}

/* ==========================================================================
   Apresentação
   ========================================================================== */

.presentation__grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.presentation__content {
  border-left: 3px solid var(--brand);
  padding-left: var(--space-6);
}

.presentation__content p { max-width: 560px; }

.presentation__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -44px rgba(0, 7, 26, 0.55);
}

.presentation__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 3, 12, 0) 55%, rgba(0, 3, 12, 0.55) 100%);
}

.presentation__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

@media (max-width: 900px) {
  .presentation__grid { grid-template-columns: 1fr; }
  .presentation__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .presentation__content { border-left: none; padding-left: 0; }
}

/* ==========================================================================
   Serviços
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(0, 7, 26, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6) var(--space-6);
  box-shadow: 0 1px 2px rgba(0, 7, 26, 0.04), 0 18px 40px -24px rgba(0, 7, 26, 0.16);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);

}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(0, 7, 26, 0.32);
  border-color: rgba(249, 130, 35, 0.45);
}

.service-card:active { transform: translateY(-2px) scale(0.99); }

.service-card__icon-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  margin-bottom: var(--space-5);
  transition: background var(--transition-base);
}

.service-card:hover .service-card__icon-wrap { background: var(--brand); }

.service-card__icon {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.service-card__number {
  position: absolute;
  top: -0.4em;
  right: var(--space-3);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--surface-soft);
  z-index: 0;
  transition: color var(--transition-base);
}

.service-card:hover .service-card__number { color: var(--surface-blue); }

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  text-transform: none;
}

.service-card p {
  position: relative;
  z-index: 1;
  color: var(--tx-2);
  font-size: 0.9rem;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.service-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-dark);
}

.service-card__link svg {
  width: 16px; height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* Variante com foto de fundo (usada na Home) */
.service-card:has(.service-card__bg) {
  border: none;
  padding: 0;
  min-height: 360px;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-card:has(.service-card__bg)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 3, 12, 0.08) 0%, rgba(0, 3, 12, 0.8) 50%, rgba(0, 3, 12, 0.98) 100%);
}

.service-card:hover .service-card__bg { transform: scale(1.06); }

.service-card:has(.service-card__bg):hover {
  box-shadow: 0 30px 60px -28px rgba(0, 7, 26, 0.4);
  border-color: transparent;
}

.service-card:has(.service-card__bg) .service-card__number {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-start;
  margin: var(--space-5) 0 0 var(--space-5);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.service-card:has(.service-card__bg):hover .service-card__number { color: var(--brand); }

.service-card__content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.service-card:has(.service-card__bg) h3 { color: var(--white); }

.service-card:has(.service-card__bg) p {
  color: rgba(255, 255, 255, 0.78);
  flex-grow: 0;
}

.service-card:has(.service-card__bg) .service-card__link { color: var(--white); }

.services-cta {
  text-align: center;
  margin-top: var(--space-7);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Marcas
   ========================================================================== */

.brands__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.brands__heading { max-width: 600px; }
.brands__heading h2 { margin-bottom: 0; }

.brands__desc {
  flex: 0 0 280px;
  max-width: 280px;
  margin: 0;
  padding-left: var(--space-6);
  border-left: 2px solid var(--line);
  color: var(--tx-3);
  font-size: 0.9375rem;
}

@media (max-width: 860px) {
  .brands__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }
  .brands__desc {
    flex: 1 1 auto;
    max-width: none;
    padding-left: var(--space-5);
  }
}

.marquee {
  position: relative;
  padding-block: var(--space-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container-max), 100%);
  height: 1px;
  background: var(--line);
}

/* Faixa = N grupos idênticos lado a lado; a animação desloca exatamente
   a largura de um grupo (-100% / nº de grupos), garantindo loop sem emenda. */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee__group {
  display: flex;
  gap: var(--space-5);
  padding-left: var(--space-5);
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-pill {
  flex-shrink: 0;
  border: 1px solid rgba(0, 7, 26, 0.1);
  border-radius: 999px;
  padding: var(--space-3) var(--space-6);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tx-3);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.marquee:hover .brand-pill { color: var(--tx-2); }

/* ==========================================================================
   Faixa de contato — fundo fotográfico (mesma foto do hero, outro recorte)
   ========================================================================== */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Fallback/poster: frame do próprio vídeo aéreo (diferente do banner interno). */
  background: var(--navy-900) url("assets/img/banner-cta-poster.webp") center / cover no-repeat;
}

/* Vídeo de fundo do CTA — fica atrás do gradiente (::before, z-index -1). */
.cta-band__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Acessibilidade: sem movimento, mostra só o poster (não carrega/exibe o vídeo). */
@media (prefers-reduced-motion: reduce) {
  .cta-band__video { display: none; }
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(0, 3, 12, 0.95) 0%, rgba(0, 3, 12, 0.86) 50%, rgba(0, 3, 12, 0.6) 100%);
}

.cta-band .btn--primary { background: var(--white); color: var(--navy-900); }
.cta-band .btn--primary:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35); }

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.cta-band__inner > div:first-child { max-width: 560px; }
.cta-band__inner h2 { margin-bottom: var(--space-3); }
.cta-band__inner p { margin: 0; }

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   Localização
   ========================================================================== */

.location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-7);
  align-items: stretch;
}

.location__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
}

.location__card h3 {
  font-size: 1rem;
  margin-top: var(--space-5);
}
.location__card h3:first-child { margin-top: 0; }

.location__card .btn { margin-top: var(--space-5); }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--surface-soft);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 900px) {
  .location__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Banner interno (páginas Sobre / Serviços / Contato / Serviço-detalhe)
   ========================================================================== */

.page-banner {
  position: relative;
  isolation: isolate;
  background: var(--navy-900) url("assets/img/banner-cta.webp") center 60% / cover no-repeat;
  color: var(--white);
  padding-block: var(--space-7) var(--space-8);
  border-bottom: 3px solid var(--brand);
  overflow: hidden;
}

.page-banner__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0, 3, 12, 0.68) 0%, rgba(0, 3, 12, 0.5) 55%, rgba(0, 3, 12, 0.68) 100%);
}

/* Estes banners usam imagens próprias e mantêm o enquadramento original (40%). */
.page-banner--contato { background-image: url("assets/img/banner-contato-benedeti.webp"); background-position: center 40%; }
.page-banner--servicos { background-image: url("assets/img/banner-servicos-benedeti.webp"); background-position: center 40%; }
.page-banner--sobre { background-image: url("assets/img/banner-sobre-benedeti.webp"); background-position: center 40%; }

.page-banner__inner { position: relative; z-index: 1; }

.page-banner h1 { color: var(--white); margin-bottom: var(--space-3); }

.page-banner__lead {
  color: var(--navy-200);
  max-width: 640px;
  margin: 0;
  font-size: 1.05rem;
}

.breadcrumb--dark {
  background: transparent;
  border-bottom: none;
}

@media (min-width: 1025px) {
  .page-banner { padding-block: calc(var(--space-7) + 50px) calc(var(--space-8) + 50px); }
}

.breadcrumb--dark .breadcrumb__list {
  padding-block: 0;
  margin-bottom: var(--space-5);
  color: var(--navy-300);
}

.breadcrumb--dark .breadcrumb__list a { color: var(--navy-100); }
.breadcrumb--dark .breadcrumb__list a:hover { color: var(--brand); }
.breadcrumb--dark .breadcrumb__list li[aria-current] { color: var(--white); }
.breadcrumb--dark .breadcrumb__list li:not(:last-child)::after { color: var(--navy-500); }

/* ==========================================================================
   Sobre — apresentação institucional
   ========================================================================== */

.about-intro__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.about-intro__content p { max-width: 640px; }

.about-intro__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-intro__features li {
  display: flex;
  gap: var(--space-4);
  background: var(--surface);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.about-intro__features svg {
  width: 28px; height: 28px;
  color: var(--brand-dark);
  flex-shrink: 0;
}

.about-intro__features strong {
  display: block;
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--tx-1);
  margin-bottom: 2px;
}

.about-intro__features span { font-size: 0.85rem; color: var(--tx-3); }

@media (max-width: 900px) {
  .about-intro__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service pills (lista compacta de serviços)
   ========================================================================== */

.service-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.service-pills a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--card);
  border: 1px solid rgba(0, 7, 26, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tx-2);
  box-shadow: 0 1px 2px rgba(0, 7, 26, 0.03);
  transition: border-color var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.service-pills a:hover {
  border-color: rgba(249, 130, 35, 0.45);
  color: var(--tx-1);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -22px rgba(0, 7, 26, 0.28);
}

.service-pills svg {
  width: 22px; height: 22px;
  color: var(--brand-dark);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .service-pills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-pills { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Página de serviço (detalhe)
   ========================================================================== */

.service-detail__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.service-detail__main h2 {
  font-size: 1.4rem;
  margin-top: var(--space-7);
}
.service-detail__main h2:first-child { margin-top: 0; }

.service-detail__main h3 {
  font-size: 1.1rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.service-detail__main p { max-width: 680px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.check-list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--tx-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-100);
  border: 2px solid var(--brand);
}

.service-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.service-detail__sidebar { position: sticky; top: calc(var(--space-9) + 16px); }

.service-detail__card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  border-top: 3px solid var(--brand);
  box-shadow: 0 30px 60px -30px rgba(0, 7, 26, 0.5);
}

.service-detail__card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.service-detail__card p {
  color: var(--navy-200);
  font-size: 0.9rem;
  margin-bottom: var(--space-5);
}

.service-detail__card .btn { width: 100%; }

.service-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--navy-700);
}

.service-detail__info li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--navy-200);
}

.service-detail__info a { color: var(--navy-100); }
.service-detail__info a:hover { color: var(--brand); }

.service-detail__info svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

@media (max-width: 1024px) {
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
}

/* ==========================================================================
   Contato — cards rápidos
   ========================================================================== */

.contact-cards-section { padding-block: var(--space-7); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--card);
  border: 1px solid rgba(0, 7, 26, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 1px 2px rgba(0, 7, 26, 0.04);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
  border-color: rgba(249, 130, 35, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -26px rgba(0, 7, 26, 0.3);
}

.contact-card:active { transform: translateY(-1px) scale(0.98); }

.contact-card svg { width: 26px; height: 26px; color: var(--brand-dark); }

.contact-card strong {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--tx-1);
}

.contact-card span { font-size: 0.85rem; color: var(--tx-3); word-break: break-word; }

@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contato — formulário + mapa
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-form-wrap .section-title { margin-bottom: var(--space-6); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--card);
  border: 1px solid rgba(0, 7, 26, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  box-shadow: 0 1px 2px rgba(0, 7, 26, 0.04), 0 30px 60px -36px rgba(0, 7, 26, 0.18);
}

.form-required-note {
  margin: calc(-1 * var(--space-2)) 0 0;
  font-size: 0.8125rem;
  color: var(--tx-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-field { display: flex; flex-direction: column; gap: var(--space-2); }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tx-1);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--tx-1);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(249, 130, 35, 0.14);
}

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

.form-error {
  color: #d8362a;
  font-size: 0.8125rem;
  margin: 0;
}
.form-error[hidden] { display: none; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
}

.form-field--checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.form-field--checkbox label {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--tx-2);
}

.form-field--checkbox label a { color: var(--brand-dark); font-weight: 600; }

#cf-submit { align-self: flex-start; min-width: 200px; }
#cf-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-side__map { min-height: 280px; }
.contact-side__map iframe { min-height: 280px; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Conteúdo legal (Privacidade)
   ========================================================================== */

.legal-content__inner { max-width: 760px; }

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-7);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p { color: var(--tx-2); }

/* ==========================================================================
   Breakpoints de referência (mobile-first)
   320 / 768 / 1024 / 1440 — ver OPERACAO.md
   ========================================================================== */
