/* Você Encontrou — estilos
   Cores aproximadas: confirmar com o arquivo original da marca. */
:root {
  --green: #206452;
  --green-dark: #17493c;
  --sand: #F0CCAF;
  --sand-soft: #f8ebdf;
  --white: #FFFFFF;
  --text: #24332E;
  --muted: #55655f;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(36, 51, 46, .10);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.2rem); color: var(--green-dark); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--sand); color: var(--text); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.section :focus-visible, .faq :focus-visible { outline-color: var(--green); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .2s, color .2s; min-height: 48px; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sand { background: var(--sand); color: var(--green-dark); }
.btn-sand:hover { background: #f5d9c3; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--sand); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(240, 204, 175, .15); }
.btn-outline-dark { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline-dark:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--green); color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.brand img { border-radius: 10px; width: 52px; height: 52px; object-fit: cover; }
.brand-text { font-weight: 800; line-height: 1.1; font-size: 1.05rem; }
.brand-text small { display: block; font-weight: 500; font-size: .72rem; color: var(--sand); letter-spacing: .04em; margin-top: 2px; }

.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--sand); margin: 5px auto; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; color: var(--white); text-decoration: none; font-size: .86rem; font-weight: 600; padding: .5rem .55rem; border-radius: 8px; }
.main-nav ul a:hover { background: rgba(255,255,255,.1); }
.main-nav ul a.active { color: var(--sand); box-shadow: inset 0 -3px 0 var(--sand); border-radius: 0; }
.nav-cta { padding: .55rem 1.1rem; min-height: 42px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); padding: clamp(3rem, 9vw, 6rem) 0; }
.hero-inner { display: grid; gap: 2.5rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.eyebrow.dark { color: var(--green); }
.hero h1 { color: var(--white); }
.lead { font-size: 1.08rem; opacity: .95; }
.hero-call { font-weight: 700; color: var(--sand); font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; align-content: center; }
.stats li { background: rgba(255,255,255,.08); border: 1px solid rgba(240,204,175,.35); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.stats strong { font-size: 2rem; font-weight: 800; color: var(--sand); min-width: 3.2rem; }
.stats span { font-weight: 600; }

/* Seções */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.alt { background: var(--sand-soft); }
.highlight { margin: 1.5rem 0; padding: 1.2rem 1.4rem; background: var(--sand-soft); border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; color: var(--green-dark); }
.section.alt .highlight { background: var(--white); }
.strong-line { font-weight: 700; font-size: 1.1rem; color: var(--green-dark); }
.small-note { font-size: .92rem; color: var(--muted); border-top: 1px solid rgba(32,100,82,.2); padding-top: 1rem; margin-top: 1.5rem; }

/* Cards de serviços */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.num { display: inline-block; font-weight: 800; color: var(--sand); background: var(--green); border-radius: 8px; padding: .1rem .55rem; font-size: .85rem; margin-bottom: .8rem; }

/* Riscos */
.risk-grid { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
.risk-grid li { background: var(--sand-soft); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: .95rem; color: var(--muted); }
.risk-grid strong { display: block; color: var(--green-dark); font-size: 1.02rem; margin-bottom: .25rem; }
.notice-box { background: var(--green); color: var(--white); border-radius: var(--radius); padding: 1.6rem; margin-top: 2rem; }
.notice-box h3 { color: var(--sand); font-size: 1.25rem; }
.notice-box p:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding: .9rem 1rem .9rem 3rem; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.check-list li::before { content: "✓"; position: absolute; left: 1rem; top: .85rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--green); color: var(--sand); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* Portfólio */
.portfolio-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
.p-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.p-card.extra { display: none; }
.portfolio-grid.show-all .p-card.extra { display: flex; }
.p-cover { position: relative; aspect-ratio: 4 / 3; background: var(--sand-soft); overflow: hidden; }
.p-cover img { width: 100%; height: 100%; object-fit: cover; }
.p-body { padding: 1rem 1.1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.p-body h3 { margin: 0; color: var(--green-dark); }
.p-body .btn { padding: .55rem 1.1rem; min-height: 42px; font-size: .9rem; }

.placeholder {
  width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: repeating-linear-gradient(45deg, #f4e4d4, #f4e4d4 12px, var(--sand-soft) 12px, var(--sand-soft) 24px);
  color: var(--green-dark); text-align: center; padding: 1rem; font-weight: 600; font-size: .9rem;
}
.placeholder svg { width: 38px; height: 38px; opacity: .6; }
.placeholder small { font-weight: 500; opacity: .75; }

/* Passos */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.2rem; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.3rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--green); color: var(--sand); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3rem; color: var(--green-dark); }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(32,100,82,.2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; position: relative; color: var(--green-dark); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-size: 1.6rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; margin: 0; color: var(--muted); }

/* Contato */
.contact { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); }
.contact h2 { color: var(--white); }
.contact a:not(.btn) { color: var(--sand); font-weight: 700; }
.contact-line { margin-bottom: .4rem; }
.contact .btn { margin-top: 1.4rem; }

/* Rodapé */
.site-footer { background: #10382e; color: #cfe0da; padding: 2rem 0 5.5rem; font-size: .88rem; text-align: center; }
.site-footer strong { color: var(--sand); }
.footer-legal { max-width: 860px; margin: 1rem auto 0; opacity: .8; font-size: .8rem; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 90; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 30, 25, .86); z-index: 300; display: flex; align-items: center; justify-content: center; padding: .75rem; }
.lightbox[hidden] { display: none; }
.lb-panel { background: var(--white); border-radius: var(--radius); width: min(980px, 100%); max-height: 96vh; overflow: auto; display: flex; flex-direction: column; }
.lb-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-bottom: 1px solid #e6ece9; }
.lb-head h3 { margin: 0; color: var(--green-dark); }
.lb-close { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--green-dark); width: 48px; height: 48px; }
.lb-body { display: grid; gap: .8rem; padding: 1rem 1.2rem; grid-template-columns: 1fr; }
.lb-fig { margin: 0; }
.lb-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sand-soft); }
.lb-img img { width: 100%; height: 100%; object-fit: cover; }
.lb-fig figcaption { font-weight: 700; margin-top: .4rem; color: var(--green-dark); font-size: .95rem; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem 1.2rem 1.2rem; font-weight: 600; }
.lb-foot .btn { padding: .55rem 1rem; min-height: 44px; font-size: .9rem; }

/* Desktop / tablet */
@media (min-width: 640px) {
  .cards, .risk-grid, .portfolio-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .lb-body { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { flex-direction: column; text-align: center; gap: .2rem; }
  .stats strong { min-width: 0; }
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .stats { grid-template-columns: 1fr; }
  .stats li { flex-direction: row; text-align: left; gap: 1rem; }
  .stats strong { min-width: 3.2rem; }
  .cards.services { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .risk-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Menu recolhível (celular e tablet) */
@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--green-dark); flex-direction: column; align-items: stretch; padding: .5rem 1rem 1.2rem; gap: .5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: .9rem .6rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .main-nav ul a.active { box-shadow: none; color: var(--sand); }
  .nav-cta { margin-top: .6rem; }
}
@media (max-width: 380px) { .brand-text small { display: none; } }

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