:root{
  --bg: #F7F6F1;
  --surface: #FFFFFF;
  --ink: #16150F;
  --ink-soft: #58554A;
  --primary: #121110;
  --primary-dark: #000000;
  --accent: #F2B705;
  --accent-dark: #C99400;
  --accent-soft: #FBE29A;
  --line: #E4E1D6;
  --radius: 8px;
  --wrap: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
p{ margin: 0 0 1em; color: var(--ink-soft); max-width: 60ch; }
a{ color: inherit; }
img, svg{ display: block; max-width: 100%; }
.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section{ padding: 88px 0; }

/* Skip link (acessibilidade) */
.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--primary-dark);
  padding: 10px 16px; border-radius: 6px; z-index: 200;
  font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus{ top: 12px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Reveal on scroll */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary{ background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn-primary:hover{ background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost{ background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--primary); }
.btn-ghost-light{ background: transparent; color: #fff; border-color: #34322C; }
.btn-ghost-light:hover{ border-color: var(--accent); color: var(--accent); }
.btn:active{ transform: scale(.98); }

/* Header */
header{
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,246,241,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.logo{
  display: flex; align-items: baseline; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
.logo .dot{ color: var(--accent); }
.nav-links{
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a{
  position: relative;
  text-decoration: none; color: var(--ink-soft);
  font-size: 15px; font-weight: 500;
  padding-bottom: 4px;
}
.nav-links a:hover{ color: var(--primary); }
.nav-links a[aria-current="page"]{ color: var(--ink); }
.nav-links a[aria-current="page"]::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
}
.nav-cta{ display: flex; align-items: center; gap: 12px; }
.menu-toggle{
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle svg{ width: 20px; height: 20px; color: var(--ink); }
.mobile-panel{
  display: none;
}

/* Hero */
.hero{ padding: 88px 0 64px; overflow: hidden; }
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow-line{
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.eyebrow-line span{
  width: 30px; height: 2px; background: var(--accent);
}
.eyebrow-line p{
  margin: 0; color: var(--primary); font-weight: 600; font-size: 14px;
  letter-spacing: .02em; text-transform: uppercase;
}
.hero h1{
  font-size: clamp(32px, 4.2vw, 46px);
  max-width: 15ch;
}
.hero .lede{
  font-size: 17px; max-width: 46ch; margin-top: 18px; margin-bottom: 28px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust-list{
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none; margin: 0; padding: 0;
}
.hero-trust-list li{
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500;
}
.hero-trust-list svg{ width: 16px; height: 16px; color: var(--accent-dark); flex-shrink: 0; }
.hero-art{ position: relative; }

/* Page intro (Sobre / Serviços / Contato / 404) */
.page-intro{ background: var(--primary-dark); color: #fff; padding: 56px 0 48px; }
.page-intro .eyebrow-line p{ color: var(--accent); }
.page-intro h1{
  font-size: clamp(30px, 4vw, 42px);
  color: #fff; max-width: 18ch; margin-bottom: 14px;
}
.page-intro .lede{ color: #C6C3B8; max-width: 58ch; font-size: 16px; margin: 0; }

/* Trust bar */
.trust{
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.trust-inner{
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.trust-stat{
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 40px; border-right: 1px solid var(--line);
}
.trust-stat strong{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--ink);
}
.trust-stat span{ font-size: 13px; color: var(--ink-soft); }
.trust-creds{ flex: 1; min-width: 260px; }
.trust-head{
  font-size: 14px; color: var(--ink-soft); margin-bottom: 18px;
  font-weight: 500;
}
.trust-row{
  display: flex; flex-wrap: wrap; gap: 14px;
}
.badge{
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
  background: var(--bg);
}

/* Section heading */
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(26px, 3vw, 34px); }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p{ margin-left: auto; margin-right: auto; }

/* Services */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(18,17,16,.08);
  border-color: #D2CDBE;
}
.service-icon{
  flex-shrink: 0;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.service-icon svg{ width: 23px; height: 23px; }
.service-card h3{ font-size: 17px; margin-bottom: 8px; }
.service-card p{ font-size: 14.5px; margin: 0; }

/* Como funciona */
.steps{ background: var(--surface); }
.steps-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step-card{ position: relative; padding-top: 8px; }
.step-num{
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px;
  margin-bottom: 16px;
}
.step-card h3{ font-size: 16px; margin-bottom: 6px; }
.step-card p{ font-size: 14px; margin: 0; }

/* Feature "desde 2002" */
.feature-2002{ background: var(--primary-dark); color: #fff; }
.feature-2002 .wrap{
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.feature-year{
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(64px, 9vw, 108px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin: 0;
}
.feature-year-label{ color: #C6C3B8; font-size: 15px; margin-top: 8px; }
.feature-2002 h2{ color: #fff; font-size: clamp(22px, 2.6vw, 28px); max-width: 20ch; }
.feature-2002 > .wrap > div:last-child p{ color: #C6C3B8; }
.feature-list{ list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-list li{
  display: flex; gap: 10px; align-items: flex-start;
  color: #E7E4D8; font-size: 15px;
}
.feature-list svg{ width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Why us / técnico */
.why{ background: var(--primary); color: #fff; }
.why .section-head h2{ color: #fff; }
.why .section-head p{ color: #C6C3B8; }
.why-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.why-item{ border-left: 2px solid var(--accent); padding-left: 24px; }
.why-item h3{ color: #fff; font-size: 19px; }
.why-item p{ color: #C6C3B8; }
.credentials{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.credentials span{
  font-size: 12.5px; font-weight: 500;
  padding: 6px 11px;
  border: 1px solid #34322C;
  border-radius: 4px;
  color: #C6C3B8;
}

/* Técnico — foto placeholder */
.tech-card{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.tech-photo{
  width: 220px; height: 220px;
  border-radius: 12px;
  border: 1.5px dashed #34322C;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: #7A776C; font-size: 12.5px; text-align: center; padding: 16px;
  background: #0A0A09;
}
.tech-photo svg{ width: 36px; height: 36px; color: #4A4840; }

/* About / mission */
.mission .wrap{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.mission h2{ font-size: clamp(24px, 3vw, 30px); max-width: 12ch; }
.mission-body p{ font-size: 17px; }

/* Pillars: visão / missão / filosofia */
.pillars{ background: var(--primary-dark); color: #fff; }
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar{
  padding: 28px 24px;
  border-top: 2px solid var(--accent);
}
.pillar svg{ width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.pillar h3{ color: #fff; font-size: 18px; margin-bottom: 8px; }
.pillar p{ color: #B7B4A9; font-size: 15px; margin: 0; max-width: 32ch; }

/* Reviews */
.reviews-placeholder{
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.reviews-placeholder p{ margin: 0 auto 20px; }

/* Contact */
.contact{ background: var(--surface); }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-cards{ display: grid; gap: 16px; }
.contact-card{
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: 10px;
}
.contact-card .service-icon{ margin-bottom: 0; }
.contact-card h3{ font-size: 15px; margin-bottom: 4px; color: var(--ink-soft); font-weight: 500; font-family: 'IBM Plex Sans', sans-serif; }
.contact-card p{ font-size: 16px; color: var(--ink); margin: 0 0 12px; font-weight: 500; }
.contact-card a.btn{ margin-top: 2px; }
.contact-card .link-plain{ text-decoration: none; }
.contact-card .link-plain:hover p{ color: var(--primary); }

.action-panels{ display: flex; flex-direction: column; gap: 16px; }
.action-panel{
  padding: 22px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.action-panel h3{ font-size: 16px; margin-bottom: 6px; }
.action-panel p{ font-size: 14px; margin-bottom: 16px; }
.action-panel .btn{ padding: 10px 18px; font-size: 14px; }

.map-block{ margin-top: 24px; }
.map-frame{
  position: relative; width: 100%; padding-bottom: 46%;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg);
}
.map-frame iframe{
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* CTA banner */
.cta-banner{ background: var(--primary); }
.cta-banner .wrap{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 52px 24px;
}
.cta-banner h2{ color: #fff; font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; max-width: 26ch; }
.cta-banner p{ color: #C6C3B8; margin: 0; max-width: 44ch; }

/* Footer */
footer{ background: var(--primary-dark); color: #B7B4A9; padding: 56px 0 28px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #26251F;
}
.footer-brand .logo{ color: #fff; margin-bottom: 10px; }
.footer-brand p{ color: #8A8779; font-size: 14px; max-width: 34ch; }
.footer-col h3{ color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a{ color: #ADAA9D; text-decoration: none; font-size: 14px; }
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 24px;
}
.footer-bottom p{ margin: 0; color: #8A8779; font-size: 13px; }
.footer-social{ display: flex; gap: 14px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #34322C;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.footer-social svg{ width: 17px; height: 17px; color: #B7B4A9; }
.footer-social a:hover{ border-color: var(--accent); }
.footer-social a:hover svg{ color: var(--accent); }

/* WhatsApp flutuante */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  text-decoration: none;
  animation: wa-pulse 3.2s ease-in-out infinite;
}
.whatsapp-float svg{ width: 28px; height: 28px; }
.whatsapp-float:hover{ background: #1EBE5A; }
@keyframes wa-pulse{
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.35); }
  50% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 8px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float{ animation: none; }
}

/* 404 */
.error-hero{ text-align: center; padding: 120px 0 90px; }
.error-hero .code{
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(64px, 12vw, 120px); color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.error-hero h1{ max-width: none; }
.error-hero .hero-actions{ justify-content: center; margin-top: 28px; }

/* Prose (política de privacidade) */
.prose{ max-width: 720px; }
.prose h2{ margin-top: 1.4em; }
.prose p{ max-width: none; }
.prose ul{ color: var(--ink-soft); padding-left: 20px; }

@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .steps-grid{ grid-template-columns: repeat(3, 1fr); }
  .feature-2002 .wrap{ grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; max-width: 340px; margin: 0 auto; }
  .why-grid{ grid-template-columns: 1fr; gap: 32px; }
  .mission .wrap{ grid-template-columns: 1fr; }
  .pillars-grid{ grid-template-columns: 1fr; gap: 28px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 8px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .tech-card{ grid-template-columns: 1fr; }
  .tech-photo{ width: 140px; height: 140px; }
}

@media (max-width: 720px){
  .nav-links{ display: none; }
  .nav-cta{ display: none; }
  .menu-toggle{ display: flex; }
  section{ padding: 60px 0; }
  .trust-stat{ border-right: none; padding-right: 0; }
  .cta-banner .wrap{ flex-direction: column; align-items: flex-start; }
  .services-grid{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .whatsapp-float{ width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg{ width: 25px; height: 25px; }

  .mobile-panel{
    display: block;
    max-height: 0; overflow: hidden;
    background: var(--surface); border-bottom: 1px solid var(--line);
    transition: max-height .25s ease;
  }
  .mobile-panel.is-open{ max-height: 320px; }
  .mobile-panel ul{ list-style: none; margin: 0; padding: 18px 24px 22px; display: grid; gap: 4px; }
  .mobile-panel a{
    display: block; padding: 12px 4px; text-decoration: none;
    color: var(--ink); font-size: 16px; font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .mobile-panel a[aria-current="page"]{ color: var(--accent-dark); }
  .mobile-panel .btn{ display: flex; justify-content: center; margin: 8px 24px 20px; }
}

@media (max-width: 480px){
  .steps-grid{ grid-template-columns: 1fr; }
  .wrap{ padding: 0 18px; }
  .hero-actions .btn, .cta-banner .btn{ width: 100%; justify-content: center; }
  .hero-actions{ flex-direction: column; }
}
