/* CasusLab — seções da landing page */
.section { padding-block: 72px; position: relative; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head > p:not(.eyebrow) { color: var(--text-muted); font-size: 1.06rem; margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: grid; gap: 20px; }
@media (min-width: 960px) {
  .section-head { margin-bottom: 56px; }
  .section-head.split { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: end; }
  .section-head.split > p { margin-top: 0; }
}

/* ===== HERO ===== */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .hero { padding: 56px 0 104px; } }
.hero::before { /* malha suave de profundidade */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(31,176,143,.14), transparent 70%),
    radial-gradient(50% 45% at 100% 85%, rgba(11,55,97,.10), transparent 70%);
}
.hero::after { /* grade técnica discreta */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(11,31,59,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,59,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 30%, transparent 75%);
}
/* camadas isométricas — eco das camadas do símbolo */
.hero-planes { position: absolute; right: -120px; top: 40px; width: 560px; height: 560px; z-index: -1; pointer-events: none; display: none; }
.hero-planes span { position: absolute; left: 50%; width: 340px; height: 340px; border-radius: 40px; transform: translateX(-50%) rotateX(58deg) rotateZ(45deg); border: 1.5px solid rgba(31,176,143,.25); }
.hero-planes span:nth-child(1) { top: 40px; background: linear-gradient(135deg, rgba(31,176,143,.10), transparent); }
.hero-planes span:nth-child(2) { top: 110px; border-color: rgba(11,55,97,.14); }
.hero-planes span:nth-child(3) { top: 180px; border-color: rgba(11,55,97,.09); }
@media (min-width: 1024px) { .hero-planes { display: block; } }

.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { font-size: clamp(2.15rem, 1.4rem + 2.6vw, 3.35rem); letter-spacing: -0.035em; line-height: 1.05; }
.nowrap { white-space: nowrap; }
@media (min-width: 1024px) { .hero h1 em { text-wrap: wrap; } }
.hero h1 em { font-style: normal; color: var(--teal-ink); display: block; margin-top: .12em; }
.hero .lead { margin-top: 22px; font-size: 1.08rem; color: #3E5670; max-width: 560px; }
@media (min-width: 1024px) { .hero .lead { font-size: 1.16rem; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-trust { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }

.hero-visual { position: relative; margin: 0; padding-bottom: 36px; }
@media (min-width: 1024px) { .hero-visual { padding: 0 0 40px; } }

/* ===== DORES ===== */
.pains { background: var(--surface); border-block: 1px solid var(--border); }
.pain-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.pain { position: relative; padding: 28px 24px 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--teal) 45%, var(--border)); }
.pain .i { color: var(--teal-ink); margin-bottom: 22px; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--text-muted); font-size: .96rem; }
.pain-n { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: .75rem; color: var(--text-muted); }

/* ===== EXPERIÊNCIA ===== */
.experience { overflow: hidden; }
.customizer { max-width: 880px; margin: 0 auto 28px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
@media (min-width: 768px) { .customizer { padding: 24px 28px; } }
.cust-title { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 14px; }
.cust-title .i { color: var(--teal-ink); }
.cust-fields { display: grid; gap: 16px; }
@media (min-width: 768px) { .cust-fields { grid-template-columns: 1fr auto; align-items: end; gap: 28px; } }
.cust-note { font-size: .88rem; color: var(--text-muted); margin-top: 12px; min-height: 1.4em; }
.swatches { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swatches legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.sw { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s var(--ease); }
.sw:hover { transform: translateY(-2px); }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw:has(input:checked)::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2.5px solid var(--navy); }
.sw:has(input:checked)::before { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; }
.sw:has(input:focus-visible) { outline: 3px solid var(--teal-ink); outline-offset: 5px; }

.tabs { max-width: 1040px; margin-inline: auto; }
.tablist { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface-muted); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; }
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] { flex: 1 0 auto; min-height: 46px; padding: 0 18px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; font-size: .94rem; color: var(--text-muted); cursor: pointer; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.tablist [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-1); }
.tablist [role="tab"]:hover { color: var(--navy); }
.tabpanel:focus-visible { outline-offset: 6px; }
.panel-cap { text-align: center; color: var(--text-muted); font-size: .96rem; max-width: 620px; margin: 18px auto 0; }
.mid-cta { display: flex; justify-content: center; margin-top: 44px; }
@media (max-width: 479px) { .mid-cta .btn { width: 100%; font-size: .98rem; padding: 0 18px; } }

/* ===== BENEFÍCIOS ===== */
.benefits { background: var(--surface-muted); }
.ben-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .ben-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.ben { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.ben::after { content: ""; position: absolute; right: -36px; bottom: -36px; width: 120px; height: 120px; border-radius: 28px; transform: rotate(45deg); background: linear-gradient(135deg, var(--teal-soft), transparent 70%); transition: transform .4s var(--ease); }
.ben:hover::after { transform: rotate(45deg) scale(1.25); }
.ben h3 { font-size: 1.3rem; margin-bottom: 8px; }
.ben p:not(.ben-tag) { color: var(--text-muted); max-width: 440px; position: relative; z-index: 1; }
.ben-tag { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--teal-ink); background: var(--teal-soft); padding: 5px 10px; border-radius: 6px; margin-bottom: 18px; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: var(--text-muted); font-size: .92rem; }
.note .i { margin-top: 3px; }

/* ===== COMPARAÇÃO ===== */
.cmp { max-width: 980px; margin-inline: auto; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-row > [role="rowheader"] { grid-column: 1 / -1; padding: 14px 18px 0; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.cmp-row > [role="cell"] { padding: 10px 18px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.cmp-row + .cmp-row { border-top: 1px solid var(--border); }
.cmp-head > span { padding: 16px 18px; font-weight: 800; font-size: .95rem; }
.cmp-head > .cmp-corner { display: none; font-family: var(--mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); align-self: center; }
.cmp-us { background: color-mix(in srgb, var(--teal-soft) 60%, white); }
.cmp-head .cmp-us { background: var(--navy); color: #fff; }
.cmp i { flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 800; }
.cmp i.x { background: #EEF1F4; color: var(--text-muted); }
.cmp i.x::before { content: "—"; }
.cmp i.v { background: var(--teal); color: var(--navy); }
.cmp i.v::before { content: "✓"; }
@media (min-width: 768px) {
  .cmp-row { grid-template-columns: 180px 1fr 1fr; align-items: stretch; }
  .cmp-row > [role="rowheader"] { grid-column: auto; padding: 20px 22px; align-self: center; }
  .cmp-row > [role="cell"] { padding: 20px 22px; font-size: 1rem; }
  .cmp-head > .cmp-corner { display: block; }
  .cmp-head > span { padding: 20px 22px; }
}

/* ===== PARCEIROS FUNDADORES ===== */
.founders { background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.founders::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 10% 0%, rgba(31,176,143,.22), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(0,126,149,.25), transparent 70%); }
.founders-mark { position: absolute; right: -110px; bottom: -120px; width: 460px; opacity: .06; z-index: -1; filter: grayscale(1) brightness(3); pointer-events: none; }
.founders-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .founders-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.founders h2 { color: #fff; }
.founders-grid > div > p:not(.eyebrow) { color: var(--text-light); margin-top: 18px; font-size: 1.08rem; max-width: 560px; }
.founders-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 28px 24px; backdrop-filter: blur(6px); }
@media (min-width: 768px) { .founders-card { padding: 34px; } }
.fc-title { font-weight: 800; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: #E6EDF4; }
.checklist li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--teal); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: 1px; }

/* ===== FAQ ===== */
.faq { background: var(--surface); border-top: 1px solid var(--border); }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 64px; } }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); transition: border-color .2s, background .2s; }
.faq details[open] { background: var(--surface); border-color: color-mix(in srgb, var(--teal) 50%, var(--border)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-muted); }
.faq-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px dashed var(--border); }
.faq-cta p { font-weight: 600; }

/* ===== RODAPÉ ===== */
.site-footer { background: var(--navy); color: var(--text-light); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr .8fr; } }
.site-footer img { height: 44px; width: auto; }
.f-tag { color: #fff; font-weight: 600; margin-top: 14px; }
.f-desc { margin-top: 8px; font-size: .94rem; max-width: 360px; }
.f-h { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 14px; }
.f-line { margin-top: 10px; font-size: .95rem; overflow-wrap: anywhere; }
.f-line a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.f-line a:hover { text-decoration-color: var(--teal); }
.f-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #A9BACB; }

/* ===== CTA FIXO MOBILE ===== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .25s var(--ease); }
.sticky-cta.show { transform: none; }
@media (min-width: 960px) { .sticky-cta { display: none; } }
@media (max-width: 599px) {
  .tablist { overflow: visible; }
  .tablist [role="tab"] { flex: 1 1 0; white-space: normal; font-size: .84rem; line-height: 1.2; padding: 6px 8px; min-height: 52px; }
}
