:root {
  --green-900: #0F3D2E;
  --green-700: #1C6B4C;
  --green-500: #2A8A63;
  --amber: #E8B04B;
  --espresso: #6B4226;
  --slate: #7A8A80;
  --sand-50: #FAF8F3;
  --sand-100: #F1EBDD;
  --ink: #14241C;
  --muted: #5E6E64;
  --line: #E4DECF;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 116px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--green-900); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .logo { height: 84px; width: auto; display: block; max-width: 100%; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: inline-block;
}
.nav { white-space: nowrap; }
.nav a { margin-left: 22px; color: var(--ink); font-size: 0.95rem; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 18px; position: relative; }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--green-900); padding: 4px 10px; user-select: none; }
body.coffee .nav-burger { color: #EAF3EC; }
.lang { display: flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.lang a { color: var(--muted); }
.lang a.on { color: var(--green-900); }
body.coffee .lang a { color: #cfe0d4; }
body.coffee .lang a.on { color: #fff; }

/* Hero */
.hero { padding: 28px 0 32px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; color: var(--green-900); letter-spacing: -0.5px; }
.hero p.lead { margin-top: 20px; font-size: 1.18rem; color: var(--muted); }
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-note { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.btn-soon {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; cursor: default;
  background: var(--sand-100); color: var(--muted); border: 1px dashed #cfc7b4;
}
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; transition: transform .08s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--amber); color: var(--green-900); }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232,176,75,.35); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { text-decoration: none; border-color: var(--green-500); }

/* Sections */
section { padding: 14px 0; }
.section-title { font-size: 1.8rem; color: var(--green-900); margin-bottom: 8px; }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; background: var(--amber); border-radius: 2px; margin-top: 12px; }
.section-sub { color: var(--muted); margin-bottom: 36px; }
.section-sub:last-child { margin-bottom: 0; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card .ico { font-size: 1.6rem; margin-bottom: 10px; }
.card .ico img { height: 40px; width: auto; display: inline-block; vertical-align: middle; }
.card h3 { font-size: 1.1rem; color: var(--green-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Compare (hoje vs com ATD) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.compare .col.atd { border-color: var(--green-700); background: #f2f8f3; }
.compare h3 { font-size: 1.05rem; color: var(--green-900); margin-bottom: 10px; }
.compare ul { margin: 0 0 0 18px; }
.compare li { color: var(--muted); font-size: 0.97rem; margin: 7px 0; }
.compare .col.atd li { color: #3c4f44; }
.compare .col p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.compare .col.atd p { color: #3c4f44; }

/* Versus table (hoje vs com ATD, row-paired) */
.vs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: 175px 1fr 1.05fr; }
.vs-head > div, .vs-row > div { padding: 13px 18px; }
.vs-head div { font-weight: 700; color: var(--green-900); font-size: .95rem; background: var(--sand-100); }
.vs-row { border-top: 1px solid var(--line); }
.vs-row .dim { font-weight: 700; color: var(--green-700); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; padding-top: 17px; }
body.coffee .vs-row .dim { color: var(--espresso); }
.vs-row .today { color: var(--muted); font-size: .95rem; }
.vs-row .with { background: #f2f8f3; color: #3c4f44; font-size: .95rem; }
.vs-row .today::before, .vs-row .with::before { content: none; }
@media (max-width: 760px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row .dim { padding-bottom: 0; }
  .vs-row .today::before { content: attr(data-l) " — "; font-weight: 700; color: var(--ink); }
  .vs-row .with::before { content: attr(data-l) " — "; font-weight: 700; color: var(--green-700); }
}

/* Audience */
.audience { background: var(--sand-100); }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  background: var(--white); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--green-900);
}

/* Contact */
.contact-box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: grid; gap: 8px;
}
.contact-box .row { display: flex; gap: 10px; align-items: baseline; }
.contact-box .label { font-weight: 600; min-width: 92px; color: var(--green-900); }
.contact-box .row > :last-child { min-width: 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: var(--green-900); color: #cfe0d4;
  padding: 40px 0; font-size: 0.9rem;
}
.site-footer a { color: #eaf3ec; }
.site-footer .legal { margin-top: 14px; color: #9fb6a7; line-height: 1.7; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* Legal pages */
.legal-page { padding: 28px 0 36px; }
.legal-page h1 { color: var(--green-900); font-size: 2rem; margin-bottom: 6px; }
.legal-page .updated { color: var(--muted); margin-bottom: 28px; }
.legal-page h2 { color: var(--green-900); font-size: 1.25rem; margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: #34403a; }
.legal-page ul { margin: 8px 0 8px 22px; }
.back { display: inline-block; margin-bottom: 24px; }

/* Kicker + vertical signature */
.kicker { display: inline-block; color: var(--espresso); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.vertical-badge { display: inline-block; margin-left: 12px; padding: 4px 11px; background: var(--espresso); color: #fff; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .4px; vertical-align: middle; }
.vertical-band { background: linear-gradient(180deg, #f4ede2, var(--sand-100)); }

/* Coffee vertical theme (espresso accent) */
body.coffee .btn-primary { background: var(--espresso); color: #fff; }
body.coffee .btn-primary:hover { box-shadow: 0 8px 20px rgba(107,66,38,.35); }
body.coffee .section-title::after { background: var(--espresso); }
body.coffee .pill { color: var(--espresso); }
body.coffee .site-header .container { height: 96px; }
body.coffee .brand .logo { height: 58px; }
body.coffee .site-header { background: #0F3D2E; border-bottom: 1px solid rgba(255,255,255,0.10); }
body.coffee .nav a { color: #EAF3EC; }
body.coffee .nav a:hover { color: #fff; }

/* Diferenciais strip */
.diff-strip { background: var(--green-900); color: #cfe0d4; padding: 26px 0; }
.diff-pills { font-weight: 800; font-size: 1.1rem; letter-spacing: .3px; color: #9fb6a7; }
.diff-pills span { color: var(--amber); }
.diff-note { color: #b9cabe; margin-top: 10px; font-size: .95rem; line-height: 1.6; }

/* Trust strip — verde medio (sinais de confiança), distinto da faja escura */
.trust-strip { background: var(--green-700); color: #eaf3ec; }
.trust-strip .diff-pills { color: #eaf3ec; }
.trust-strip .diff-pills span { color: var(--amber); }
.trust-strip .diff-note { color: #dbe7e0; }

/* Perfiles interactivos (CSS-only tabs) */
.profiles { position: relative; }
.profiles input { position: absolute; opacity: 0; pointer-events: none; }
.profile-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.profile-tabs label {
  background: var(--white); border: 1px solid var(--line); padding: 10px 18px;
  border-radius: 999px; font-weight: 600; color: var(--green-900); cursor: pointer; transition: all .15s;
}
.profile-tabs label:hover { border-color: var(--green-500); }
.profile-panels .panel {
  display: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.profile-panels .panel h3 { color: var(--green-900); font-size: 1.15rem; margin-bottom: 8px; }
.profile-panels .panel p { color: var(--muted); font-size: 1rem; }
.profile-panels .panel .lead-line { color: var(--green-900); font-weight: 700; }
#p-broker:checked ~ .profile-tabs label[for="p-broker"],
#p-imp:checked ~ .profile-tabs label[for="p-imp"],
#p-exp:checked ~ .profile-tabs label[for="p-exp"] {
  background: var(--green-700); color: #fff; border-color: var(--green-700);
}
#p-broker:checked ~ .profile-panels .panel-broker,
#p-imp:checked ~ .profile-panels .panel-imp,
#p-exp:checked ~ .profile-panels .panel-exp { display: block; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-burger { display: block; }
  .nav-toggle:checked ~ .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: calc(100% + 14px); right: 0; min-width: 200px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 18px; box-shadow: 0 10px 28px rgba(20, 36, 28, 0.16); z-index: 60;
  }
  .nav-toggle:checked ~ .nav a { margin-left: 0; padding: 6px 0; display: block; width: 100%; }
  body.coffee .nav-toggle:checked ~ .nav { background: var(--green-900); border-color: rgba(255,255,255,0.18); }
  .hero { padding: 24px 0 28px; }
  .site-header .container { height: 76px; }
  .brand .logo { height: 48px; }
  body.coffee .site-header .container { height: 64px; }
  body.coffee .brand .logo { height: 38px; }
  .contact-box { padding: 20px; }
  .contact-box .row { flex-direction: column; gap: 2px; }
  .contact-box .label { min-width: 0; }
}
