/* ===== Evolução Diesel — Design tokens ===== */
:root {
  --white: #FFFFFF;
  --off-white: #F4F6F9;
  --navy: #0F3460;
  --navy-dark: #0A2647;
  --navy-light: #E8EEF6;
  --engine-bg: #122D4B;
  --red: #E30613;
  --red-dark: #b3050f;
  --text-dark: #14181F;
  --text-muted: #55606E;
  --border-light: #E1E5EA;

  --black: #000000;
  --gray-100: #E8E8E8;
  --gray-400: #9a9a9a;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --container: 1200px;
  --radius: 4px;
  --shadow-hard: 6px 6px 0 rgba(15,52,96,0.18);
  --shadow-hard-sm: 3px 3px 0 rgba(15,52,96,0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
}

p { margin: 0 0 16px; color: var(--text-muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
  min-height: 44px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
}
.btn-primary:active { transform: translate(0,0); box-shadow: 2px 2px 0 rgba(0,0,0,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  transform: translate(-2px, -2px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 250ms var(--ease), padding 250ms var(--ease), box-shadow 250ms var(--ease);
}
.header .nav a,
.header .nav-toggle {
  color: var(--white);
}
.header .nav-toggle { border-color: var(--white); }
.header .nav-toggle-bars span { background: var(--white); }

.header.scrolled {
  background: rgba(10,38,71,0.96);
  padding: 12px 0;
  box-shadow: 0 2px 0 var(--red);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}
.nav-left, .nav-right {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 250ms var(--ease);
}
.nav a:hover::after { right: 0; }

.nav-cta { flex-shrink: 0; padding: 12px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.nav-toggle-bars span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  display: block;
}
.nav-toggle-close {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: scale(0.5) rotate(-45deg);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { opacity: 0; transform: scale(0.5) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { opacity: 1; transform: scale(1) rotate(0deg); }

/* ===== Hero ===== */
/* Hero mantém overlay escuro sobre o vídeo para o texto ficar legível independente da cena filmada */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.hero-gradient { position: absolute; inset: 0; pointer-events: none; }
.hero-gradient-top {
  background: linear-gradient(to bottom, rgba(10,38,71,0.8) 0%, rgba(10,38,71,0) 30%);
}
.hero-gradient-bottom {
  background: linear-gradient(to top, rgba(10,38,71,0.95) 0%, rgba(10,38,71,0.4) 35%, rgba(10,38,71,0) 65%);
}
.hero-gradient-sides {
  background: linear-gradient(to right, rgba(10,38,71,0.8) 0%, rgba(10,38,71,0) 45%, rgba(10,38,71,0) 82%, rgba(10,38,71,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: 100px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 8vw;
}

@media (max-width: 860px) {
  .hero-content {
    max-width: 100%;
    padding-left: 24px;
  }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  font-size: 14px;
  margin-bottom: 12px;
}
.eyebrow-center { text-align: center; }

.hero-title {
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-title span { display: block; color: var(--red); }

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--white);
  max-width: 560px;
  margin-bottom: 32px;
  padding: 14px 24px;
  background: rgba(7, 18, 33, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 28px;
  height: 44px;
  border: 2px solid var(--white);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollcue 1.6s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@keyframes scrollcue-arrow-mobile {
  0% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  100% { transform: rotate(45deg) translate(6px, 6px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none !important; }
}

/* ===== Sections ===== */
.section { padding: 100px 0; background: var(--white); }
.section-alt { background: var(--white); border-top: 3px solid var(--red); }
.section-contact { background: var(--white); border-top: 3px solid var(--red); }

/* Autopeças: fotos do estoque sobrepostas no fundo, com véu escuro por cima */
.section-parts {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  border-top: 3px solid var(--red);
}
.parts-media { position: absolute; inset: 0; z-index: 0; }
.parts-photos { position: relative; height: 100%; }
.parts-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2.4s cubic-bezier(0.45, 0, 0.2, 1), transform 9s cubic-bezier(0.25, 0.05, 0.2, 1);
}
.parts-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.parts-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, rgba(10,38,71,0.9) 0%, rgba(15,52,96,0.82) 45%, rgba(10,38,71,0.9) 100%);
}
.parts-content { position: relative; z-index: 3; }
.section-parts .eyebrow,
.section-parts .section-title-center,
.section-parts .section-lead { text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.section-parts .section-title-center { color: var(--white); }
.section-parts .section-lead { color: rgba(255,255,255,0.75); }

.parts-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.parts-advantage {
  background: rgba(10,38,71,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), border-color 420ms var(--ease), background-color 420ms var(--ease);
}
.parts-advantage:hover {
  transform: translateY(-8px);
  border-color: rgba(227,6,19,0.55);
  background: rgba(15,52,96,0.7);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.55), 0 0 32px rgba(227,6,19,0.22);
}
.parts-advantage-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 18px;
  transition: transform 420ms var(--ease), color 420ms var(--ease);
}
.parts-advantage-icon svg { width: 100%; height: 100%; }
.parts-advantage:hover .parts-advantage-icon { transform: scale(1.12) translateY(-2px); color: var(--white); }
.parts-advantage h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}
.parts-advantage p { color: rgba(255,255,255,0.68); font-size: 15px; margin-bottom: 0; }

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

/* Sobre: imagem contida e emoldurada à esquerda; texto à direita */
.section-photo {
  position: relative;
  background: var(--white);
  border-top: 4px solid var(--red);
}

.section-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-photo-media { position: relative; }

.section-photo-border {
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(15,52,96,0.3), rgba(227,6,19,0.3) 45%, rgba(15,52,96,0.1));
  box-shadow: 0 24px 50px -14px rgba(15,52,96,0.35);
}

.section-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-dark);
  aspect-ratio: 4 / 3;
}
.section-photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-carousel {
  position: relative;
}
.photo-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transform: scale(1.06);
  transition: opacity 2.4s var(--ease), transform 4.5s var(--ease);
}
.photo-carousel .carousel-slide.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}
.photo-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(227,6,19,0.22) 0%, rgba(10,38,71,0) 35%, rgba(10,38,71,0) 65%, rgba(10,38,71,0.55) 100%);
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) {
  .photo-carousel .carousel-slide { transition: none; }
}

.section-photo-text { max-width: 480px; }
.section-photo-text h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-photo-text .stat-row { flex-wrap: nowrap; gap: 18px; }
.section-photo-text .stat { padding-left: 12px; flex-shrink: 1; min-width: 0; }
.section-photo-text .stat-number { font-size: 32px; }
.section-photo-text .stat-icon { width: 32px; height: 32px; }
.section-photo-text .stat-label { font-size: 11px; white-space: normal; }
.section-photo-cta { margin-top: 36px; }

@media (max-width: 860px) {
  .section-photo-grid { grid-template-columns: 1fr; gap: 32px; }
}

.section-title-center { text-align: center; max-width: 700px; margin: 0 auto 16px; }
.section-lead { text-align: center; max-width: 600px; margin: 0 auto 56px; font-size: 18px; }

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat { border-left: 3px solid var(--red); padding-left: 16px; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
.stat-icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--navy);
}
.stat-icon svg { width: 100%; height: 100%; }

/* ===== Services ===== */
#servicos .container { max-width: 1480px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.servicos-grid { margin-top: 56px; }

.services-carousel-wrap { position: relative; }
.carousel-arrow { display: none; }

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: var(--navy);
  border: 2px solid var(--navy-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-hard-sm);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), border-color 420ms var(--ease), background-color 420ms var(--ease);
}
.service-card:hover,
.service-card:focus-visible {
  outline: none;
  transform: translateY(-8px);
  background: var(--engine-bg);
  border-color: rgba(227,6,19,0.55);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.55), 0 0 32px rgba(227,6,19,0.22);
}
.service-icon {
  width: 56px;
  height: 56px;
  color: var(--red);
  margin-bottom: 20px;
  transition: transform 420ms var(--ease), color 420ms var(--ease);
}
.service-icon svg { width: 100%; height: 100%; }
.service-icon-mask {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.service-icon-mask-solda {
  -webkit-mask-image: url('../midias/icon-solda.png');
  mask-image: url('../midias/icon-solda.png');
}
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  transform: scale(1.12) translateY(-2px);
  color: var(--white);
}
.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--white);
}
.service-card p { color: rgba(255,255,255,0.85); margin-bottom: 0; font-size: 15px; }

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
}
.service-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.service-card:hover .service-more svg,
.service-card:focus-visible .service-more svg { transform: translateX(4px); }

.service-card.is-active {
  border-color: rgba(227,6,19,0.55);
  background: var(--engine-bg);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.55), 0 0 32px rgba(227,6,19,0.22);
}
.service-card.is-active .service-icon { color: var(--white); transform: scale(1.1); }
.service-card.is-active .service-more svg { transform: translateX(4px); }

/* ===== Painel de serviço (aba expansível abaixo dos cards) =====
   Altura animada via grid-template-rows (0fr -> 1fr) em vez de max-height
   medido por JS: assim a aba nunca fica menor que o conteúdo real, mesmo
   se a fonte carregar depois e o texto quebrar em mais linhas. */
.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin: 40px 0 0;
  transition: grid-template-rows 480ms cubic-bezier(0.4, 0, 0.2, 1), opacity 320ms ease;
}
.service-panel.is-open { opacity: 1; grid-template-rows: 1fr; }
.service-panel-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 0;
  background: var(--navy-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-18px) scale(0.98);
  opacity: 0;
  transition: transform 480ms cubic-bezier(0.4, 0, 0.2, 1), opacity 380ms ease;
}
.service-panel.is-open .service-panel-inner { transform: translateY(0) scale(1); opacity: 1; }
.service-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(10, 38, 71, 0.65);
  color: var(--white);
  cursor: pointer;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.service-panel-close:hover,
.service-panel-close:focus-visible { background: var(--red); transform: rotate(90deg); outline: none; }
.service-panel-close svg { width: 18px; height: 18px; }
.service-panel-media {
  position: relative;
  min-height: 380px;
  background: var(--engine-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-panel-media.no-image img { display: none; }
.service-panel-gallery { width: 100%; height: 100%; position: relative; z-index: 1; }
.service-panel-gallery .carousel-slide { width: 100%; height: 100%; object-fit: cover; }
.service-panel-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(227,6,19,0.18), transparent 45%);
}
.service-panel-media.no-image::before {
  background:
    radial-gradient(circle at 30% 20%, rgba(227,6,19,0.18), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 18px);
}
/* Camada que funde a foto no fundo do texto: a cor replica exatamente o
   gradiente vertical do .service-panel-body (mesmos stops), e a máscara
   horizontal controla só a opacidade — por isso a costura desaparece em
   qualquer altura, sem depender da proporção da foto. */
.service-panel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, rgba(0,0,0,0.7) 66%, #000 94%);
  mask-image: linear-gradient(90deg, transparent 28%, rgba(0,0,0,0.7) 66%, #000 94%);
}

/* ===== Slider antes/depois ===== */
.ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  cursor: ew-resize;
  --ba-pos: 50%;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}
.ba-before { z-index: 1; }
.ba-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}
.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  color: var(--white);
  pointer-events: none;
}
.ba-tag-after { left: 16px; background: rgba(227,6,19,0.9); }
.ba-tag-before { right: 16px; background: rgba(10,38,71,0.75); backdrop-filter: blur(4px); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.ba-handle-btn svg { width: 20px; height: 20px; }
.service-panel-body {
  position: relative;
  padding: 48px 52px 44px 44px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.service-panel-body .eyebrow { margin-bottom: 10px; }
.service-panel-body h3 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.service-panel-details { color: rgba(255,255,255,0.9); font-size: 16.5px; line-height: 1.6; }
.service-panel-details ul {
  list-style: none;
  margin: 0 0 22px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-panel-details li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}
.service-panel-details li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 3px;
  transform: rotate(45deg);
}
.service-panel-details p:last-child {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.service-panel-body .btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 700px) {
  .service-panel {
    margin-top: 18px;
    scroll-margin-top: 84px;
    transition: grid-template-rows 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
  }
  .service-panel-inner {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    border-radius: 16px;
    transform: translateY(-8px);
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 460ms ease;
  }
  /* A altura fixa só entra com o painel aberto — deixá-la incondicional
     atrapalha o colapso em grid-template-rows: 0fr do .service-panel,
     que respeita o conteúdo mínimo e não some de verdade ao fechar. */
  .service-panel.is-open .service-panel-inner {
    height: calc(100svh - 110px);
  }
  .service-panel-media { min-height: 0; }
  .service-panel-media::after {
    background: var(--navy);
    -webkit-mask-image: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.7) 80%, #000 97%);
    mask-image: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.7) 80%, #000 97%);
  }
  .service-panel-close { top: 8px; right: 8px; width: 28px; height: 28px; }
  .service-panel-close svg { width: 13px; height: 13px; }
  .service-panel-body { padding: 16px 18px 12px; }
  .service-panel-body .eyebrow { margin-bottom: 4px; font-size: 12px; }
  .service-panel-body h3 { font-size: 20px; margin-bottom: 8px; }
  .service-panel-details { font-size: 13px; line-height: 1.32; }
  .service-panel-details ul { gap: 5px; margin-bottom: 8px; }
  .service-panel-details li { padding-left: 17px; }
  .service-panel-details li::before { width: 6px; height: 6px; top: 5px; }
  .service-panel-details p:last-child { font-size: 12px; margin-bottom: 8px; }
  .service-panel-body .btn {
    padding: 9px 20px;
    min-height: 34px;
    font-size: 13px;
  }
}

/* ===== Avaliações ===== */
.text-accent { color: var(--red); }

.section-reviews {
  padding: 56px 0;
  background: var(--navy-dark);
  border-top: 3px solid var(--red);
}
.section-reviews .section-title-center { color: var(--white); }
.section-reviews .section-lead { color: rgba(255,255,255,0.72); margin-bottom: 32px; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 14px 0 0 auto;
  background: transparent;
  transition: opacity 220ms var(--ease);
}
.reviews-summary:hover { opacity: 0.8; }
.reviews-summary-icon { width: 20px; height: 20px; flex-shrink: 0; }
.reviews-summary-icon svg { width: 100%; height: 100%; }
.reviews-summary-body { display: flex; flex-direction: column; }
.reviews-summary-score {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.reviews-summary-stars { color: #F4B400; font-size: 10px; letter-spacing: 1.5px; margin: 2px 0 1px; }
.reviews-summary-count { font-size: 10.5px; color: rgba(255,255,255,0.7); }

.reviews-carousel-wrap { position: relative; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 34px -14px rgba(0,0,0,0.5);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 24px 42px -14px rgba(0,0,0,0.55), 0 0 24px rgba(227,6,19,0.28);
}
.review-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.review-card-author { display: flex; flex-direction: column; }
.review-card-author strong {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 15px;
  color: var(--text-dark);
}
.review-card-author span { font-size: 12.5px; color: var(--text-muted); }
.review-stars { color: #F4B400; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.review-time { color: var(--text-muted); font-size: 12.5px; letter-spacing: 0; margin-left: 6px; }
.review-text { font-size: 14.5px; color: var(--text-dark); margin-bottom: 0; flex-grow: 1; }
.review-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.review-verified {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--navy);
}
.review-link {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--red);
  transition: color 220ms var(--ease);
}
.review-link:hover { color: var(--red-dark); }

.reviews-cta { text-align: center; margin-top: 28px; }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary { margin: 16px auto 0; }
}

/* Avaliações no mobile: mesmo carrossel horizontal com scroll-snap
   usado nos cards de serviço, mostrando uma fatia do próximo card */
@media (max-width: 640px) {
  .reviews-carousel-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .reviews-grid {
    order: 1;
    width: 100%;
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-margin-top: 84px;
    gap: 16px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 4px 24px 12px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .review-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  /* O contêiner corta overflow vertical — evita o glow de hover cortado
     de forma estranha nas bordas, igual ao ajuste feito nos serviços. */
  .reviews-grid .review-card:hover {
    box-shadow: 0 18px 34px -14px rgba(0,0,0,0.5);
  }
}

/* ===== Contato ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--navy);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 32px -12px rgba(15,52,96,0.4);
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease), border-color 380ms var(--ease), background-color 380ms var(--ease);
}
.contact-card-wide { grid-column: 1 / -1; }
.contact-card:hover {
  transform: translateY(-6px);
  background: var(--navy-dark);
  border-color: var(--red);
  box-shadow: 0 24px 44px -14px rgba(0,0,0,0.35), 0 0 26px rgba(227,6,19,0.22);
}
.contact-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -6px rgba(227,6,19,0.4);
  transition: transform 380ms var(--ease);
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-card:hover .contact-icon { transform: scale(1.08); }
.contact-card strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  color: var(--white);
}
.contact-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); }

.contact-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.contact-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--red);
  padding: 4px 0;
  border-bottom: 1px solid rgba(227,6,19,0.25);
  transition: color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.contact-cta-link svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.contact-cta-link:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateX(3px);
}
.contact-cta-link:hover svg { transform: translateX(3px); }

.contact-map {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.22);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  border-top: 4px solid var(--red);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-logo-img { height: 40px; width: auto; display: block; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.footer-col h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; }
.footer-col a:hover { color: var(--red); }

.footer-address { display: block; }
.footer-address h4 { margin-bottom: 8px; }
.footer-address p { color: rgba(255,255,255,0.85); transition: color 220ms var(--ease); }
.footer-address:hover p { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    gap: 4px;
    border-width: 1.5px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 220ms var(--ease);
  }
  .nav-toggle-bars span { width: 16px; }
  .nav-toggle-close { width: 14px; height: 14px; }
  .nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,0.16); }

  /* Logo menor no mobile: ela fica centralizada no header inteiro, então
     precisa de menos largura pra não ficar perto/embaixo do botão do menu. */
  .logo-img { height: 34px; }

  /* Menu mobile: anima abrindo (fade + leve deslize) em vez de aparecer
     de repente. max-height fixo e generoso é seguro aqui porque o
     conteúdo são só 3 links curtos numa linha — sem risco de a fonte
     recarregar e quebrar o texto em mais linhas. */
  .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,38,71,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid transparent;
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      max-height 380ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
      padding 380ms cubic-bezier(0.4, 0, 0.2, 1),
      border-color 260ms ease;
  }
  .nav.open {
    max-height: 320px;
    opacity: 1;
    padding: 24px;
    gap: 20px;
    pointer-events: auto;
    transform: translateY(0);
    border-top-color: var(--red);
  }
  .nav-left, .nav-right { display: contents; }
  .nav a { font-size: 18px; color: var(--white) !important; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .section-lead { margin-bottom: 28px; }

  /* Serviços no mobile: carrossel horizontal com scroll-snap, mostrando
     uma fatia do próximo card pra indicar que dá pra arrastar */
  .services-carousel-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .servicos-grid {
    order: 1;
    width: 100%;
    margin-top: 0;
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-margin-top: 84px;
    gap: 16px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 4px 24px 12px;
  }
  .servicos-grid::-webkit-scrollbar { display: none; }
  .servicos-grid .service-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  /* O contêiner do carrossel corta overflow vertical — a sombra/glow
     grande do hover/active ficava cortada de forma estranha nas bordas. */
  .servicos-grid .service-card:hover,
  .servicos-grid .service-card:focus-visible,
  .servicos-grid .service-card.is-active {
    box-shadow: none;
  }

  .carousel-arrow {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-hard-sm);
    cursor: pointer;
    transition: background-color 200ms var(--ease), opacity 200ms var(--ease);
  }
  .carousel-arrow:hover,
  .carousel-arrow:focus-visible { background: var(--red); outline: none; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow:disabled { opacity: 0.35; pointer-events: none; }

  .stat-row { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn {
    text-align: center;
    padding: 9px 16px;
    font-size: 12.5px;
    min-height: 34px;
  }

  .scroll-cue {
    width: auto;
    height: auto;
    border: none;
    padding-top: 0;
  }
  .scroll-cue span {
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 0;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    animation: scrollcue-arrow-mobile 1.6s ease-in-out infinite;
  }

  .section-photo-text .stat-row { gap: 10px; }
  .section-photo-text .stat { padding-left: 8px; }
  .section-photo-text .stat-number { font-size: 26px; }
  .section-photo-text .stat-icon { width: 26px; height: 26px; }
  .section-photo-text .stat-label { font-size: 9.5px; letter-spacing: 0.2px; }
}

/* ===== Página Sobre ===== */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 58%;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,38,71,0.55) 0%, rgba(10,38,71,0.68) 45%, rgba(10,38,71,0.94) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding: 160px 0 56px; }
/* Desktop: texto encostado na margem esquerda da tela (como no hero da
   home), em vez de centralizado dentro do .container — só nessa largura,
   o mobile mantém o padding padrão do .container. */
@media (min-width: 861px) {
  .page-hero-content {
    max-width: 820px;
    margin: 0;
    padding: 160px 24px 56px 8vw;
  }
}
.page-hero .eyebrow { text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 56px);
  max-width: 760px;
  margin-bottom: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 200ms var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { color: var(--red); }

/* História: fotos antes/depois empilhadas ao lado do texto */
.section-history { padding: 48px 0; }
.section-history .container { max-width: 1400px; }
.section-history .section-text h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-history .section-text p { font-size: 17.5px; line-height: 1.7; }
@media (max-width: 640px) { .section-history { padding: 32px 0; } }
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.history-compare { display: flex; flex-direction: column; gap: 16px; }
.history-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hard-sm);
  margin: 0;
}
.history-photo img { width: 100%; height: 320px; object-fit: cover; display: block; }
.history-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10,38,71,0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
@media (max-width: 860px) {
  .history-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Fundadores */
.section-founders {
  background: var(--navy-dark);
  border-top: 3px solid var(--red);
  padding-top: 40px;
}
.section-founders .section-title-center { color: var(--white); font-size: clamp(30px, 4vw, 46px); }
.section-founders .section-lead { color: rgba(255,255,255,0.75); font-size: 19px; }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.team-photo-frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 50px -14px rgba(0,0,0,0.5);
}
.team-photo-frame img { width: 100%; height: auto; display: block; }
.team-bios {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.team-bio {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 30px 32px;
  box-shadow: 0 18px 36px -14px rgba(0,0,0,0.4);
}
.team-bio .role {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 8px;
}
.team-bio h3 { font-size: 28px; margin-bottom: 12px; }
.team-bio p { margin-bottom: 0; font-size: 17px; }
.team-bio p + p { margin-top: 16px; }
@media (max-width: 860px) {
  .founders-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) { .section-founders { padding-top: 24px; } }

/* Reaproveita o grid foto+texto, invertendo a ordem das colunas */
.section-photo-reverse .section-photo-media { order: 2; }
.section-photo-reverse .section-photo-text { order: 1; }
@media (max-width: 860px) {
  .section-photo-reverse .section-photo-media,
  .section-photo-reverse .section-photo-text { order: initial; }
}

/* Missão e valores */
.mission-section {
  background: var(--navy-dark);
  padding-top: 40px;
}
.mission-section .container { max-width: 1480px; }
.mission-section .section-title-center { color: var(--white); }
.mission-section .section-lead { color: rgba(255,255,255,0.75); margin-bottom: 40px; }
@media (max-width: 640px) { .mission-section { padding-top: 24px; } }
.mission-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.mission-card {
  background: var(--white);
  border: 2px solid var(--navy-dark);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hard); }
.mission-icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 16px; }
.mission-icon svg { width: 100%; height: 100%; }
.mission-card h3 { font-size: 18px; margin-bottom: 8px; }
.mission-card p { font-size: 14px; line-height: 1.5; margin-bottom: 0; }
@media (max-width: 1100px) { .mission-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .mission-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .mission-grid { grid-template-columns: 1fr; } }

.section-team { padding-top: 40px; border-top: 3px solid var(--red); }
.section-team .section-photo-grid { grid-template-columns: 1fr 1.3fr; }
.section-team .section-photo-text p { font-size: 17.5px; line-height: 1.7; }
@media (max-width: 860px) {
  .section-team .section-photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-team { padding-top: 24px; }
  .section-team .section-photo-text p { font-size: 16px; }
}

/* CTA final */
.cta-banner {
  background: var(--white);
  border-top: 4px solid var(--red);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--navy); }
.cta-banner p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }
.cta-banner .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-ghost { color: var(--navy); border-color: var(--navy); }
.cta-banner .btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ===== Animações — página Sobre ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1300ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 1300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 220ms; }
  .reveal-delay-2 { transition-delay: 440ms; }

  .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1100ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal-stagger.is-visible .reveal-item { opacity: 1; transform: translateY(0); }
  .reveal-item:nth-child(1) { transition-delay: 0ms; }
  .reveal-item:nth-child(2) { transition-delay: 160ms; }
  .reveal-item:nth-child(3) { transition-delay: 320ms; }
  .reveal-item:nth-child(4) { transition-delay: 480ms; }
  .reveal-item:nth-child(5) { transition-delay: 640ms; }

  .hero-content .eyebrow,
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-actions {
    opacity: 0;
    animation: heroFadeUp 1400ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .hero-content .eyebrow { animation-delay: 200ms; }
  .hero-content .hero-title { animation-delay: 420ms; }
  .hero-content .hero-subtitle { animation-delay: 640ms; }
  .hero-content .hero-actions { animation-delay: 860ms; }

  .page-hero-content .breadcrumb,
  .page-hero-content .eyebrow,
  .page-hero-content h1 {
    opacity: 0;
    animation: heroFadeUp 1400ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .page-hero-content .breadcrumb { animation-delay: 100ms; }
  .page-hero-content .eyebrow { animation-delay: 340ms; }
  .page-hero-content h1 { animation-delay: 580ms; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hover — fotos e cards da página Sobre */
.history-photo { transition: transform 420ms var(--ease), box-shadow 420ms var(--ease); }
.history-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); }
.history-photo img { transition: transform 600ms var(--ease); }
.history-photo:hover img { transform: scale(1.05); }

.team-photo-frame { transition: transform 420ms var(--ease); }
.team-photo-frame:hover { transform: translateY(-4px); }
.team-photo-frame img { transition: transform 600ms var(--ease); }
.team-photo-frame:hover img { transform: scale(1.03); }

.team-bio { transition: transform 380ms var(--ease), box-shadow 380ms var(--ease); }
.team-bio:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -14px rgba(0,0,0,0.5); }

.section-team .section-photo-frame img { transition: transform 600ms var(--ease); }
.section-team .section-photo-frame:hover img { transform: scale(1.04); }

/* ===== Mobile — footer e página Sobre ===== */
@media (max-width: 640px) {
  .footer { padding-top: 44px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 32px;
  }
  .footer-brand { align-items: center; grid-column: 1 / -1; gap: 8px; text-align: center; }
  .footer-logo-img { margin: 0 auto; }
  .footer-brand p { font-size: 13.5px; margin-top: 2px; max-width: 280px; }
  /* Navegação e Contato lado a lado, centralizados; Endereço (4º filho) ocupa a linha toda */
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-col { gap: 8px; align-items: center; text-align: center; }
  .footer-col h4 { font-size: 13px; margin-bottom: 10px; }
  .footer-col a, .footer-col p { font-size: 13.5px; }
  .footer-address { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { padding: 16px 0; }

  .page-hero { min-height: 34vh; background-position: center 62%; }
  .page-hero-content { padding: 96px 0 32px; }
  .page-hero .eyebrow { margin-bottom: 8px; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 34px); max-width: 320px; }
  .breadcrumb { margin-bottom: 10px; font-size: 12px; gap: 6px; }

  .history-photo img { height: 200px; }
  .history-compare { gap: 12px; }

  .section-founders .section-lead { font-size: 16px; }
  .team-bio { padding: 22px 22px; }
  .team-bio h3 { font-size: 22px; }
  .team-bio p { font-size: 15.5px; }
  .founders-grid { margin-top: 32px; }

  .mission-card { padding: 24px 20px; }

  .cta-banner { padding: 56px 0; }
  .cta-banner .btn-row .btn {
    text-align: center;
    padding: 12px 20px;
    font-size: 13.5px;
    min-height: 38px;
  }
}
