/* Advocacia Delandrea - demonstracao Simplifica Online
   Paleta: petroleo institucional + acao ambar (CTA). Corpo grande, alto contraste. */

:root{
  --petrol:#0f3d38;
  --petrol-2:#17564f;
  --petrol-3:#0b2c28;
  --ink:#1c2a27;
  --muted:#4a5754;
  --paper:#f6f3ec;
  --paper-2:#efe9dd;
  --card:#ffffff;
  --line:#d9d2c4;
  --accent:#b0491d;
  --accent-strong:#8f3a15;
  --focus:#1a73e8;
  --radius:12px;
  --wrap:1080px;
  --shadow:0 1px 2px rgba(12,44,40,.06), 0 8px 24px rgba(12,44,40,.06);
}

*{box-sizing:border-box}
html{font-size:112.5%} /* 18px base */
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-text-size-adjust:100%;
}
h1,h2,h3{
  font-family:"Fraunces",Georgia,"Times New Roman",serif;
  line-height:1.18;
  color:var(--petrol-3);
  font-weight:600;
  margin:0 0 .5em;
}
h1{font-size:2.1rem}
h2{font-size:1.55rem}
h3{font-size:1.2rem}
p{margin:0 0 1em}
a{color:var(--petrol);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--accent-strong)}
img,svg{max-width:100%}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.15rem}

/* Skip link + focus */
.skip{position:absolute;left:-999px;top:0;background:var(--petrol);color:#fff;padding:.6rem 1rem;z-index:200}
.skip:focus{left:.5rem;top:.5rem}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:52px;padding:.7rem 1.25rem;border-radius:var(--radius);
  font-size:1.02rem;font-weight:700;text-decoration:none;cursor:pointer;
  border:2px solid transparent;transition:background .15s,color .15s,border-color .15s;
}
.btn-wa{background:var(--accent);color:#fff}
.btn-wa:hover{background:var(--accent-strong);color:#fff}
.btn-outline{background:transparent;color:var(--petrol);border-color:var(--petrol)}
.btn-outline:hover{background:var(--petrol);color:#fff}
.btn-ghost{background:#fff;color:var(--petrol);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--petrol)}
.btn svg{width:20px;height:20px;flex:0 0 auto}

/* Top utility bar */
.topbar{background:var(--petrol-3);color:#eef3f1;font-size:.92rem}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:center;justify-content:space-between;padding-top:.4rem;padding-bottom:.4rem}
.topbar a{color:#fff;font-weight:600}
.topbar .loc{opacity:.9}

/* Header / nav */
.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.7rem;padding-bottom:.7rem}
.brand{display:flex;flex-direction:column;text-decoration:none;line-height:1.1}
.brand b{font-family:"Fraunces",Georgia,serif;font-size:1.3rem;color:var(--petrol-3);letter-spacing:.2px}
.brand span{font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.14em}
.nav-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:8px;min-height:44px;min-width:48px;align-items:center;justify-content:center;cursor:pointer}
.nav-toggle svg{width:24px;height:24px}
.main-nav ul{display:flex;gap:1.1rem;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap}
.main-nav a{text-decoration:none;font-weight:600;color:var(--ink);font-size:.96rem}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--accent-strong)}
.main-nav .btn{min-height:44px;padding:.45rem 1rem}

/* Hero */
.hero{background:linear-gradient(160deg,var(--petrol) 0%,var(--petrol-2) 100%);color:#f3f7f5;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.06) 1px,transparent 0);background-size:22px 22px;pointer-events:none}
.hero .wrap{position:relative;z-index:1;padding:3rem 1.15rem 3.2rem;max-width:920px}
.hero h1{color:#fff;font-size:2.4rem;margin-bottom:.35em}
.hero .lead{font-size:1.2rem;color:#dcebe7;max-width:44ch;margin-bottom:1.6rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9fd3c8;margin-bottom:.8rem}

/* Sections */
section{padding:2.8rem 0}
.section-tight{padding:2rem 0}
.bg-paper2{background:var(--paper-2)}
.bg-white{background:#fff}
.center{text-align:center}
.section-intro{max-width:60ch}
.section-intro.center{margin-left:auto;margin-right:auto}

/* Triage cards */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;margin-top:1.4rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card .card-top{height:6px}
.card .card-top.inss{background:var(--petrol)}
.card .card-top.trab{background:var(--accent)}
.card .card-body{padding:1.3rem 1.3rem 1.4rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.card .tag{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.card h3{margin:.1rem 0 .2rem}
.card p{margin:0 0 1rem}
.card .btn{margin-top:auto;align-self:flex-start}
.bridge{margin-top:1.1rem;background:#fff;border:1px dashed var(--petrol);border-radius:var(--radius);padding:1rem 1.2rem}
.bridge a{font-weight:700}

/* Feature / list blocks */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem}
.tile .ic{width:38px;height:38px;color:var(--petrol);margin-bottom:.5rem}
.checklist{list-style:none;padding:0;margin:1rem 0}
.checklist li{position:relative;padding:.35rem 0 .35rem 1.9rem;border-bottom:1px solid var(--line)}
.checklist li::before{content:"";position:absolute;left:0;top:.75rem;width:16px;height:16px;border-radius:50%;background:var(--petrol)}
.checklist li:last-child{border-bottom:0}

/* Steps */
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.2rem}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem}
.step .n{counter-increment:step;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--petrol);color:#fff;font-weight:700;font-family:"Fraunces",Georgia,serif;margin-bottom:.5rem}
.step .n::before{content:counter(step)}

/* Team */
.team{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;margin-top:1.3rem}
.member{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem;display:flex;gap:1rem;align-items:flex-start}
.mono{flex:0 0 auto;width:66px;height:66px;border-radius:12px;background:var(--petrol);color:#fff;display:flex;align-items:center;justify-content:center;font-family:"Fraunces",Georgia,serif;font-size:1.5rem;font-weight:600}
.member h3{margin:0 0 .15rem}
.member .oab{font-weight:700;color:var(--accent-strong);font-size:.95rem}
.member p{margin:.4rem 0 0;font-size:.96rem;color:var(--muted)}

/* Local / jurisdiction */
.local-box{background:var(--petrol);color:#eaf2ef;border-radius:var(--radius);padding:1.6rem 1.4rem}
.local-box h2{color:#fff}
.local-box .muni{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem;padding:0;list-style:none}
.local-box .muni li{background:rgba(255,255,255,.12);border-radius:999px;padding:.3rem .8rem;font-size:.9rem}

/* Cities */
.city-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-top:1.2rem;padding:0;list-style:none}
.city-grid li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:.8rem 1rem;font-weight:600}

/* FAQ */
.faq{margin-top:1.2rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:.7rem;overflow:hidden}
.faq summary{cursor:pointer;padding:1rem 1.15rem;font-weight:700;color:var(--petrol-3);list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--accent);line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq .ans{padding:0 1.15rem 1.1rem;color:var(--muted)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;margin-top:1.2rem}
.nap p{margin:.2rem 0}
.nap .label{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-top:.9rem;font-weight:700}
.mapart{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--radius);min-height:200px;display:flex;align-items:center;justify-content:center;color:var(--muted);text-align:center;padding:1rem}
form .field{margin-bottom:1rem;display:flex;flex-direction:column;gap:.35rem}
form label{font-weight:700;font-size:.95rem}
form input,form select,form textarea{font:inherit;padding:.7rem .8rem;border:1px solid var(--line);border-radius:8px;background:#fff;min-height:48px}
form textarea{min-height:110px}
.consent{flex-direction:row;align-items:flex-start;gap:.6rem}
.consent input{min-height:auto;width:22px;height:22px;margin-top:.2rem}
.consent label{font-weight:400;font-size:.9rem;color:var(--muted)}

/* Floating WhatsApp */
.fab{position:fixed;right:1rem;bottom:1rem;z-index:120;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.fab.btn{min-height:56px;border-radius:999px;padding:.6rem 1.25rem}

/* Demo notice */
.demo-modal{position:fixed;inset:0;background:rgba(12,28,26,.55);display:none;align-items:center;justify-content:center;z-index:300;padding:1rem}
.demo-modal.open{display:flex}
.demo-modal .box{background:#fff;border-radius:var(--radius);max-width:420px;padding:1.6rem;text-align:center;box-shadow:var(--shadow)}
.demo-modal h3{margin-top:0}
.demo-modal .btn{margin-top:.8rem}

/* Footer */
.site-footer{background:var(--petrol-3);color:#cdddd8;font-size:.92rem;padding:2.2rem 0 1.4rem;margin-top:1rem}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:1.4rem}
.site-footer h4{color:#fff;font-family:"Fraunces",Georgia,serif;margin:0 0 .6rem;font-size:1.05rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.3rem 0}
.oab-line{color:#9fd3c8;font-weight:600}
.disclaimer{border-top:1px solid rgba(255,255,255,.18);margin-top:1.6rem;padding-top:1rem;font-size:.82rem;color:#9fb3ad}
.disclaimer strong{color:#e6efec}
.prov{font-size:.8rem;color:#8fa8a2;margin-top:.5rem}

/* Utilities */
.mt0{margin-top:0}
.lead-muted{color:var(--muted);font-size:1.08rem}
.pill{display:inline-block;background:var(--paper-2);border:1px solid var(--line);border-radius:999px;padding:.2rem .7rem;font-size:.82rem;font-weight:600;color:var(--muted)}

/* Responsive */
@media (max-width:820px){
  .nav-toggle{display:inline-flex}
  .main-nav{display:none;width:100%;order:3}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:.2rem;padding:.6rem 0}
  .main-nav li a{display:block;padding:.7rem .2rem;border-bottom:1px solid var(--line)}
  .main-nav .btn{margin-top:.5rem}
  .site-header .wrap{flex-wrap:wrap}
  .grid-2,.contact-grid,.team{grid-template-columns:1fr}
  .grid-3,.steps,.city-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  html{font-size:106.25%} /* 17px base on mobile */
  .cards{grid-template-columns:1fr}
  .grid-3,.steps,.city-grid{grid-template-columns:1fr}
  .hero h1{font-size:1.95rem}
  .hero .lead{font-size:1.1rem}
  .hero-ctas .btn{width:100%}
  h1{font-size:1.8rem}
}

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