/* Couto PPF Studio — design system */

:root {
  /* Preto/branco absolutos — usados no header, hero, rodapé e botões
     (o "chrome" escuro do site, como na Porsche/BMW) */
  --color-black: #0b0b0b;
  --color-graphite: #2b2b2b;
  --color-metal: #6e6e6e;
  --color-white: #ffffff;
  --color-accent: #a97c1d; /* dourado escurecido para legibilidade sobre fundo claro */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebd5a;

  /* Tema claro do conteúdo (corpo das páginas) */
  --color-bg: #ffffff;
  --color-bg-alt: #f3f2f0;
  --color-ink: #16140f;
  --color-ink-soft: #55524c;
  --color-line: rgba(20,18,15,0.12);

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --header-h: 84px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 16px; color: var(--color-ink-soft); }
.section-lede { font-size: 1.1rem; color: var(--color-ink-soft); max-width: 680px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(11,11,11,0.85), rgba(11,11,11,0));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(11,11,11,0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: auto;
  width: 220px;
}

.logo-img--footer {
  height: auto;
  width: 190px;
}

/* ---------- Back arrow (páginas internas) ---------- */

.back-arrow {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  left: 24px;
  z-index: 90;
  height: 38px;
  padding: 0 18px 0 14px;
  border-radius: 20px;
  background: rgba(11,11,11,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.back-arrow .back-arrow-chevron { font-size: 1.1rem; line-height: 1; }
.back-arrow:hover { background: rgba(11,11,11,0.85); border-color: rgba(255,255,255,0.6); }

/* ---------- Buttons / CTA ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-whatsapp);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-whatsapp-dark); }

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-outline:hover { border-color: var(--color-ink); background: var(--color-bg-alt); }

.btn-outline[href*="wa.me"] {
  color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
}
.btn-outline[href*="wa.me"]:hover {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.btn-block { width: 100%; }


.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 90px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(169,124,29,0.12), transparent 60%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 55%, var(--color-bg) 100%);
  z-index: 0;
}

.hero-bg .car-silhouette {
  position: absolute;
  right: -4%;
  bottom: 6%;
  width: 62%;
  min-width: 460px;
  opacity: 0.9;
}

.hero-bg--photo {
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-content h1 {
  color: var(--color-ink);
}

.hero-content .section-lede {
  color: var(--color-ink);
}

.hero.hero-sm { min-height: 56vh; padding: 150px 0 70px; align-items: flex-end; }
.hero.hero-sm .hero-bg .car-silhouette { width: 46%; opacity: 0.55; }

/* ---------- Hero dividido (páginas de sub-serviço) ---------- */

.hero-split {
  display: flex;
  height: 92vh;
  background: var(--color-bg);
}

.hero-split-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 56px 64px 64px;
}

.hero-split-content-inner { max-width: 560px; }

.hero-split-media {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background: var(--color-graphite);
}

.hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-split-media--fade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--color-black) 0%, rgba(11,11,11,0.65) 14%, rgba(11,11,11,0) 36%);
}

/* A home mantém o hero escuro (pedido explícito do cliente), diferente do
   restante do site, que passou a usar fundo claro. */
.hero-split--home {
  background: var(--color-black);
}
.hero-split--home h1,
.hero-split--home .section-lede {
  color: var(--color-white);
}

.hero-split-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-metal);
}
.hero-split-note svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-mobile-logo { display: none; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--color-metal);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--color-metal); }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { color: var(--color-ink); }

/* ---------- Sections ---------- */

section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-tight { padding: 64px 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }

/* ---------- Pillar grid (home) — cards com foto ---------- */

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

.pillar-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20,18,15,0.1);
}

.pillar-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #1c1c1c 0%, #0b0b0b 100%);
  overflow: hidden;
}

.pillar-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-card-media .pillar-card-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40%;
  height: 40%;
  color: rgba(255,255,255,0.18);
}
.pillar-card-media .pillar-card-icon svg { width: 100%; height: 100%; }

.pillar-card-title {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  margin: 0;
  color: var(--color-white);
  font-size: 1.5rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.pillar-card-body {
  padding: 18px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pillar-card-body .one-liner {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

.pillar-card-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-size: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pillar-card:hover .pillar-card-arrow {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

/* ---------- Carrossel de fotos ---------- */

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  background: var(--color-bg-alt);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11,11,11,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.carousel-btn:hover { background: rgba(11,11,11,0.85); border-color: rgba(255,255,255,0.6); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active { background: var(--color-white); transform: scale(1.3); }

/* ---------- Institutional banner ---------- */

.value-banner {
  background: var(--color-bg-alt);
  padding: 96px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
}
.checklist li:last-child { border-bottom: none; }
.checklist .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--color-accent);
}

/* ---------- Brand badges ---------- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.badge {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  border: 1px solid var(--color-line);
  border-radius: 2px;
  padding: 9px 16px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.proof-item .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-ink);
  display: block;
  margin-bottom: 6px;
}
.proof-item .label {
  font-size: 0.85rem;
  color: var(--color-metal);
  letter-spacing: 0.02em;
}

/* ---------- B2B partnership ---------- */

.b2b-banner {
  background: linear-gradient(120deg, #141414, #0b0b0b);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  color: var(--color-white);
}
.b2b-banner p { color: rgba(255,255,255,0.78); }
.b2b-banner .b2b-text { max-width: 560px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  text-align: center;
  padding: 100px 0;
}
.final-cta h2 { max-width: 620px; margin: 0 auto 28px; }
.final-cta .cta-row { justify-content: center; }

/* ---------- Service page blocks ---------- */

.service-block { max-width: 760px; }

.tag-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  background: var(--color-accent);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  color: var(--color-ink);
}
.list-plain li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-metal);
}

/* ---------- Comparison grid (variações do pilar) ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.compare-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.compare-card h3 { margin-bottom: 6px; }
.compare-card .btn { margin-top: 24px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-metal);
  margin-bottom: 18px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-metal);
}

/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.info-card {
  background: var(--color-bg-alt);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 20px;
}
.info-card h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-metal);
  margin-bottom: 10px;
}

.info-card--cta {
  padding: 40px;
  border: 1px solid rgba(37,211,102,0.35);
}
.info-card--cta h4 {
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .logo-img { width: 150px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .value-grid { grid-template-columns: 1fr; gap: 32px; }
  .proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .b2b-banner { padding: 40px; flex-direction: column; align-items: flex-start; }

  section { padding: 64px 0; }
  .hero { padding: 130px 0 60px; min-height: 80vh; }

  /* Aba de serviço/pilar: foto em cima, texto embaixo no mobile. */
  .hero-split:not(.hero-split--home) {
    flex-direction: column;
    height: auto;
  }
  .hero-split:not(.hero-split--home) .hero-split-media {
    order: -1;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .hero-split:not(.hero-split--home) .hero-split-content {
    padding: 40px 24px 40px;
  }

  .hero-split--home { flex-direction: column; height: auto; padding-top: var(--header-h); }
  .hero-split--home .hero-split-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-split--home .hero-split-content { align-items: center; text-align: center; padding-top: 40px; }
  .hero-split--home .hero-split-content-inner { display: flex; flex-direction: column; align-items: center; }
  .hero-split--home .hero-split-content-inner .cta-row { justify-content: center; }
  .hero-split--home .hero-split-note { justify-content: center; }
  .hero-split--home .hero-mobile-logo {
    display: block;
    width: 108px;
    height: auto;
    margin: 0 auto 28px;
    filter: drop-shadow(0 4px 14px rgba(20,18,15,0.18));
  }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillar-grid { grid-template-columns: 1fr; }
}

