/* ============ Design tokens ============ */
:root {
  --primary: #14A159;
  --primary-dark: #0E7C42;
  --primary-tint: #E6F7EC;
  --ink: #121212;
  --ink-soft: #5B5F5C;
  --bg: #FFFFFF;
  --bg-alt: #F6F8F6;
  --border: #E6E8E5;

  --dark-bg: #10150F;
  --dark-card: #181F19;
  --dark-line: rgba(255, 255, 255, 0.08);
  --dark-text-soft: rgba(255, 255, 255, 0.7);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(18, 18, 18, 0.06);
  --shadow-md: 0 14px 32px rgba(18, 18, 18, 0.12);

  --ease: cubic-bezier(.22, 1, .36, 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.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--primary); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800;
  color: var(--primary); margin: 0 0 1rem;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow .icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 1.7rem; border-radius: var(--radius-full);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
  border: 1.5px solid transparent; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-dark { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(4px); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.btn-soft { background: var(--primary-tint); color: var(--primary-dark); width: 100%; }
.btn-soft:hover { background: var(--primary); color: #fff; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand-icon { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; color: var(--ink); }
.brand-tagline { font-family: var(--font-body); font-weight: 700; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: .2rem; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); transition: color .2s var(--ease); }
.main-nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s var(--ease); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #10150F; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,8,.5) 0%, rgba(8,12,8,.68) 60%, rgba(8,12,8,.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: clamp(3rem, 7vw, 5rem); }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-media { background: url('/images/hero-video-poster.webp') center 35% / cover no-repeat; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full); padding: .5rem 1.1rem;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  backdrop-filter: blur(6px); margin-bottom: 1.5rem;
}
.hero-badge .stars { color: var(--primary); letter-spacing: 1px; font-size: .85rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.7rem); letter-spacing: -0.01em; max-width: 16ch; }
.hero-lead { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.75rem 0 3rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 clamp(2.5rem, 6vw, 4rem); padding: 0; }
.hero-stats > div {
  flex: 1 1 180px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md); padding: 1.1rem 1.4rem; backdrop-filter: blur(6px);
}
.hero-stats dt { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; margin: 0; }
.hero-stats dd { margin: 0; font-size: .8rem; color: var(--dark-text-soft); }

/* ============ Sections ============ */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-lead { max-width: 60ch; margin-inline: auto; font-size: 1.05rem; }
.corp-subtitle { margin-top: 1.75rem; font-size: 1.1rem; }

/* Check list (used in service & recovery cards) */
.check-list { display: grid; gap: .55rem; margin: 0 0 1.4rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.check-badge { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.check-badge svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Mission / Vision / Values */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.mvv-card { background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: 2rem; }
.mvv-card h3 { color: var(--primary); font-size: 1.15rem; }
.values-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.values-list li { background: var(--primary-tint); color: var(--primary-dark); border-radius: var(--radius-full); padding: .4rem 1rem; font-size: .82rem; font-weight: 700; }

/* Services / Recovery cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.85rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .93rem; flex-grow: 0; }

.recovery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.recovery-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.recovery-card img { aspect-ratio: 4/3; object-fit: cover; }
.recovery-body { padding: 1.5rem; }
.recovery-body h3 { font-size: 1.15rem; }

/* Diferenciais — dark exception */
.diferenciais { background: var(--dark-bg); color: #fff; }
.diferenciais .eyebrow { color: var(--primary); }
.diferenciais h2 { color: #fff; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.diff-card {
  background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--radius-md);
  padding: 1.6rem; transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.diff-card:hover { transform: translateY(-3px); border-color: rgba(20,161,89,0.5); }
.diff-icon {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(20,161,89,0.16);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.diff-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.diff-card p { color: #fff; font-weight: 700; font-size: .98rem; margin: 0; }

/* Corporativo */
.corp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.corp-media img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); aspect-ratio: 1/1; object-fit: cover; }
.corp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.75rem 0; }
.corp-check-pill {
  display: flex; align-items: center; gap: .6rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: .7rem 1.1rem; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .92rem;
}
.corp-services-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.corp-services-list li { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-full); padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }

/* Galeria */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.gallery-grid img { border-radius: var(--radius-md); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.gallery-grid img:last-child { aspect-ratio: 4/3; }
.gallery-grid img:hover { transform: scale(1.02); }

/* Google rating */
.google-rating {
  display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap;
  max-width: 560px; margin: 2.5rem auto 0; padding: .85rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--bg); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.google-rating:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.google-g { width: 20px; height: 20px; flex-shrink: 0; }
.google-rating-score { font-weight: 800; font-size: 1.02rem; }
.google-rating-stars { color: var(--primary); letter-spacing: 1px; font-size: .95rem; }
.google-rating-text { font-weight: 700; font-size: .82rem; color: var(--ink-soft); }

/* Testimonial */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.testimonial { text-align: left; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink); flex-grow: 1; }
.testimonial figcaption { display: flex; flex-direction: column; }
.testimonial-name { font-weight: 700; }
.testimonial-role { font-size: .8rem; color: var(--ink-soft); }

/* Instagram CTA */
.instagram-cta .btn { margin-top: 1.5rem; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0; }
.contact-list dt { font-weight: 700; margin-bottom: .3rem; color: var(--primary); }
.contact-list dd { margin: 0; color: var(--ink-soft); }
.contact-list a:hover { color: var(--primary); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 260px; aspect-ratio: 4/3; border: 0; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-soft); }
.footer-inner a:hover { color: var(--primary); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: #fff; padding: 2rem 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); overflow-y: auto; }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 1.5rem; }
  .main-nav a { font-size: 1.2rem; }
  .header-cta .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .recovery-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .corp-checks { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
