/* ===========================================================
   Speculum × Samsung — Landing Page (redesign, flat / editorial)
   Sem gradientes. Cores sólidas + tipografia serif/sans.
   =========================================================== */
:root{
  --navy:#0B2E4F;         /* azul-marinho principal */
  --navy-deep:#082036;    /* fundos escuros / rodapé */
  --blue:#1C6EA4;         /* acento */
  --blue-ink:#155887;
  --surface:#F5F8FB;      /* fundo suave */
  --tint:#E9F1F8;         /* tint de acento */
  --border:#E2EAF2;
  --text:#213a52;
  --muted:#647688;
  --white:#fff;
  --radius:14px;
  --radius-lg:22px;
  --shadow:0 14px 40px rgba(11,46,79,.08);
  --shadow-lg:0 26px 60px rgba(11,46,79,.16);
  --container:1180px;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,Arial,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--text);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{overflow-wrap:break-word;hyphens:auto}
.container{width:min(var(--container),92%);margin-inline:auto}
.hero-grid>*,.r20-grid>*,.model-panel>*,.trust-item{min-width:0}

/* ---------- Icons base ---------- */
svg{display:block}
.ic,.tech-ic svg,.contact-ic svg,.contact-arrow,.ic-sm{fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.ic-sm{width:1.1em;height:1.1em;stroke-width:2}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.55em;justify-content:center;font-family:var(--sans);
  font-weight:600;font-size:1rem;padding:.85em 1.6em;border-radius:10px;cursor:pointer;
  border:1.5px solid transparent;transition:.2s ease;white-space:nowrap}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-deep);transform:translateY(-2px)}
.btn-outline{background:transparent;border-color:var(--border);color:var(--navy)}
.btn-outline:hover{border-color:var(--navy);background:var(--surface)}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.btn.sm{padding:.7em 1.3em;font-size:.95rem}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0}
.brand-logo{height:42px}
.nav{display:flex;align-items:center;gap:2rem}
.nav a{font-weight:500;color:var(--navy);font-size:.98rem;transition:.2s}
.nav a:not(.nav-cta):hover{color:var(--blue)}
.nav .nav-cta{color:#fff;font-weight:600}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{width:26px;height:2.5px;background:var(--navy);border-radius:3px;transition:.3s}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:.7rem;font-weight:600;letter-spacing:.4px;
  font-size:.82rem;color:var(--blue);text-transform:uppercase;margin-bottom:1.4rem}
.eyebrow .rule{width:30px;height:2px;background:var(--blue);display:inline-block}
.eyebrow.light{color:#8fc0e4}
.eyebrow.light .rule{background:#8fc0e4}
.kicker{display:block;font-weight:600;letter-spacing:.6px;text-transform:uppercase;font-size:.82rem;color:var(--blue);margin-bottom:.7rem}
.sec-num{font-family:var(--serif);font-size:1rem;font-weight:600;color:var(--blue);opacity:.55;display:block;margin-bottom:.4rem}

/* ---------- Hero ---------- */
.hero{background:var(--surface);border-bottom:1px solid var(--border);padding:clamp(2.8rem,6vw,5rem) 0}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:3.5rem;align-items:center}
.hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(2.1rem,4.7vw,3.6rem);line-height:1.08;letter-spacing:-.5px;color:var(--navy)}
.hero h1 em{font-style:italic;color:var(--blue)}
.lead{font-size:clamp(1.02rem,1.5vw,1.18rem);color:var(--muted);margin:1.5rem 0 2.2rem;max-width:33em}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap}

/* ---------- Stage (painel navy plano com anéis) ---------- */
.stage{position:relative;background:var(--navy);border-radius:var(--radius-lg);
  min-height:480px;display:flex;align-items:flex-end;justify-content:center;
  overflow:hidden;padding:2rem;box-shadow:var(--shadow-lg)}
.stage.dark{background:var(--navy-deep)}
.stage .rings{position:absolute;top:50%;left:50%;transform:translate(-50%,-52%);width:118%;height:auto;
  fill:none;stroke:rgba(255,255,255,.07);stroke-width:1.4}
.stage-machine,.stage img,.model-media img,.r20-visual img{position:relative;z-index:2;width:auto;
  filter:drop-shadow(0 22px 40px rgba(0,0,0,.5))}
.stage-machine{max-height:440px}
.stage-tag{position:absolute;top:24px;right:26px;z-index:3;color:#fff;font-weight:700;letter-spacing:3px;font-size:1.1rem;opacity:.9}
.stage-model{position:absolute;left:26px;bottom:22px;z-index:3;font-family:var(--serif);font-weight:600;
  font-size:2.4rem;color:rgba(255,255,255,.14);line-height:1}

/* ---------- Trust ---------- */
.trust{background:var(--navy);color:#fff;padding:2.4rem 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.trust-item{display:flex;gap:1rem;align-items:flex-start;padding-right:1rem}
.trust-item+.trust-item{border-left:1px solid rgba(255,255,255,.12);padding-left:1.5rem}
.trust-item .ic{width:34px;height:34px;color:#7db6e0;flex:0 0 auto;margin-top:2px}
.trust-item strong{display:block;font-family:var(--serif);font-weight:600;font-size:1.3rem;color:#fff;line-height:1.1}
.trust-item span{color:#b7cee0;font-size:.9rem}

/* ---------- Sections ---------- */
.section{padding:clamp(3.5rem,8vw,6rem) 0}
.section-alt{background:var(--surface)}
.section-head{max-width:46em;margin:0 auto 3rem;text-align:center}
.section-head h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.8rem,3.4vw,2.6rem);color:var(--navy);line-height:1.14;letter-spacing:-.4px}
.section-head p{color:var(--muted);margin-top:1rem;font-size:1.08rem}

/* ---------- Gama / Tabs ---------- */
.tabs{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;margin-bottom:2.6rem}
.tab{font-family:var(--sans);font-weight:700;font-size:1.02rem;color:var(--navy);background:#fff;
  border:1.5px solid var(--border);padding:.65em 1.5em;border-radius:9px;cursor:pointer;transition:.2s}
.tab:hover{border-color:var(--blue)}
.tab.is-active{background:var(--navy);color:#fff;border-color:var(--navy)}
.model-panel{display:none;grid-template-columns:1fr 1.08fr;gap:3rem;align-items:center;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(1.4rem,3.5vw,2.6rem);box-shadow:var(--shadow)}
.model-panel.is-active{display:grid;animation:fade .4s ease}
@keyframes fade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.model-media{position:relative;background:var(--navy);border-radius:var(--radius);min-height:380px;
  overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding:1.6rem}
.model-media .rings{position:absolute;top:50%;left:50%;transform:translate(-50%,-52%);width:120%;stroke:rgba(255,255,255,.07);stroke-width:1.4;fill:none}
.model-media img{max-height:360px}
.model-media .stage-tag{font-size:.95rem;top:18px;right:20px}
.spec-pill{display:inline-block;background:var(--tint);color:var(--blue-ink);font-weight:700;letter-spacing:.4px;
  text-transform:uppercase;font-size:.76rem;padding:.5em 1.1em;border-radius:40px;margin-bottom:1rem}
.model-info h3{font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,3.4vw,2.6rem);color:var(--navy);line-height:1}
.model-info h3 span{color:var(--blue)}
.anchor{font-family:var(--serif);font-style:italic;font-size:1.22rem;font-weight:500;color:var(--navy);
  margin:1rem 0;padding-left:1rem;border-left:3px solid var(--blue)}
.model-desc{color:var(--muted);margin-bottom:1.3rem}
.feat{list-style:none;display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.7rem}
.feat li{position:relative;padding-left:2rem;font-weight:500;color:var(--text)}
.feat li::before{content:"";position:absolute;left:0;top:.1em;width:1.4rem;height:1.4rem;border-radius:50%;
  background:var(--tint);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/></svg>");}
.feat li::after{content:"";position:absolute;left:.32em;top:.42em;width:.78rem;height:.5rem;
  border-left:2.4px solid var(--blue);border-bottom:2.4px solid var(--blue);transform:rotate(-45deg)}

/* ---------- Tecnologias ---------- */
.tech-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.tech-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:2rem 1.8rem;
  position:relative;transition:.25s}
.tech-card::before{content:"";position:absolute;left:0;top:0;height:3px;width:0;background:var(--blue);
  border-radius:3px 3px 0 0;transition:width .3s ease}
.tech-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.tech-card:hover::before{width:100%}
.tech-ic{display:inline-flex;width:58px;height:58px;border-radius:14px;background:var(--tint);color:var(--navy);
  align-items:center;justify-content:center;margin-bottom:1.2rem}
.tech-ic svg{width:30px;height:30px}
.tech-card h4{font-family:var(--serif);font-weight:600;font-size:1.24rem;color:var(--navy);margin-bottom:.5rem}
.tech-card p{color:var(--muted);font-size:.98rem}

/* ---------- R20 destaque ---------- */
.r20{background:var(--navy-deep);color:#fff;padding:clamp(3.5rem,8vw,6rem) 0}
.r20-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:3.5rem;align-items:center}
.r20-visual .stage{background:transparent;box-shadow:none;min-height:520px}
.r20-visual .stage .rings{stroke:rgba(255,255,255,.09)}
.r20-visual img{max-height:520px}
.r20-copy h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.8rem,3.4vw,2.6rem);line-height:1.14;margin-bottom:1rem}
.r20-copy p{color:#c3d6e6;margin-bottom:1.5rem}
.r20-list{list-style:none;display:flex;flex-direction:column;gap:.8rem;margin-bottom:1.9rem}
.r20-list li{padding-left:2rem;position:relative;color:#e6eff7;font-weight:500}
.r20-list li::before{content:"";position:absolute;left:0;top:.5em;width:1rem;height:1px;background:var(--blue);}
.r20-list li::after{content:"";position:absolute;left:.72rem;top:.28em;width:6px;height:6px;border-top:1.6px solid var(--blue);border-right:1.6px solid var(--blue);transform:rotate(45deg)}

/* ---------- Contacto ---------- */
.cta-box{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(2.4rem,5vw,3.8rem)}
.cta-box h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.5rem,2.9vw,2.2rem);color:var(--navy);line-height:1.15;margin-bottom:1rem}
.cta-lead{color:var(--muted);max-width:40em;margin:0 auto 2.4rem}
.contact-cards{display:flex;gap:1.4rem;justify-content:center;flex-wrap:wrap}
.contact-card{display:flex;align-items:center;gap:1.1rem;text-align:left;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius);padding:1.3rem 1.6rem;min-width:300px;transition:.25s;box-shadow:var(--shadow)}
.contact-card:hover{transform:translateY(-4px);border-color:var(--blue);box-shadow:var(--shadow-lg)}
.contact-ic{flex:0 0 auto;width:54px;height:54px;border-radius:13px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center}
.contact-ic svg{width:28px;height:28px}
.contact-meta{display:flex;flex-direction:column;flex:1}
.contact-label{font-size:.8rem;font-weight:500;color:var(--muted)}
.contact-value{font-size:1.18rem;font-weight:700;color:var(--navy)}
.contact-arrow{width:20px;height:20px;color:var(--blue);opacity:0;transform:translate(-4px,4px);transition:.25s}
.contact-card:hover .contact-arrow{opacity:1;transform:none}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep);color:#c3d6e6;padding:3.5rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-logo{height:44px;margin-bottom:1rem}
.footer-brand p{color:#8fa9bf;max-width:34em;font-size:.95rem}
.footer-col h5{color:#fff;font-size:.82rem;letter-spacing:.8px;text-transform:uppercase;margin-bottom:1rem}
.footer-col a{display:block;color:#8fa9bf;padding:.3rem 0;font-size:.96rem;transition:.2s}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.5rem;font-size:.82rem;color:#6f89a0}
.disclaimer{max-width:40em}

/* ---------- Tech "ver detalhes" ---------- */
.tech-more{margin-top:1.1rem;display:inline-flex;align-items:center;gap:.4rem;background:none;border:0;
  font-family:var(--sans);font-weight:600;font-size:.95rem;color:var(--blue);cursor:pointer;padding:0;transition:.2s}
.tech-more:hover{gap:.7rem;color:var(--blue-ink)}
.tech-more .ic-sm{width:16px;height:16px}

/* ---------- Modal ---------- */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:1.2rem}
.modal.open{display:flex}
.modal-backdrop{position:absolute;inset:0;background:rgba(8,32,54,.55);backdrop-filter:blur(4px);animation:mfade .25s ease}
.modal-dialog{position:relative;background:#fff;border-radius:var(--radius-lg);max-width:760px;width:100%;
  max-height:88vh;overflow:hidden;box-shadow:0 40px 90px rgba(8,32,54,.35);animation:mrise .3s cubic-bezier(.2,.8,.2,1)}
@keyframes mfade{from{opacity:0}to{opacity:1}}
@keyframes mrise{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}
.modal-close{position:absolute;top:14px;right:14px;z-index:3;width:40px;height:40px;border-radius:50%;
  border:1px solid var(--border);background:#fff;color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s}
.modal-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.modal-close:hover{background:var(--navy);color:#fff;border-color:var(--navy);transform:rotate(90deg)}
.modal-body{overflow-y:auto;max-height:88vh;padding:clamp(1.6rem,4vw,2.8rem)}

/* conteúdo da ficha */
.md-head{border-bottom:1px solid var(--border);padding-bottom:1.2rem;margin-bottom:1.6rem}
.md-tag{display:inline-block;background:var(--tint);color:var(--blue-ink);font-weight:700;letter-spacing:.4px;
  text-transform:uppercase;font-size:.74rem;padding:.45em 1em;border-radius:40px;margin-bottom:.9rem}
.md-title{font-family:var(--serif);font-weight:600;font-size:clamp(1.6rem,3.2vw,2.2rem);color:var(--navy);line-height:1.05}
.md-anchor{font-family:var(--serif);font-style:italic;color:var(--blue);font-size:1.12rem;margin-top:.5rem}
.md-intro{color:var(--muted);margin-bottom:1.7rem;font-size:1.02rem}
.md-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}
.md-block{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.3rem 1.4rem}
.md-block h4{font-family:var(--sans);font-weight:700;font-size:1.02rem;color:var(--navy);margin-bottom:.5rem}
.md-block p{color:var(--muted);font-size:.94rem;margin-bottom:.6rem}
.md-block ul{list-style:none;display:flex;flex-direction:column;gap:.45rem}
.md-block li{position:relative;padding-left:1.3rem;font-size:.94rem;color:var(--text)}
.md-block li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--blue)}
body.modal-open{overflow:hidden}

/* ---------- Reveal (só oculta se o JS estiver ativo) ---------- */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .nav{position:fixed;inset:62px 0 auto 0;flex-direction:column;background:#fff;border-bottom:1px solid var(--border);
    padding:1.5rem 6%;gap:1.2rem;transform:translateY(-140%);transition:.35s;box-shadow:var(--shadow)}
  .nav.open{transform:none}
  .nav-toggle{display:flex}
  .nav-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .nav-toggle.open span:nth-child(2){opacity:0}
  .nav-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  .hero-grid,.model-panel.is-active,.r20-grid{grid-template-columns:1fr}
  .hero-visual{order:-1}
  .stage{min-height:auto;padding:1.5rem}
  .stage-machine{max-height:320px}
  .r20-visual .stage{min-height:auto}
  .r20-visual img{max-height:380px;margin-inline:auto}
  .trust-grid{grid-template-columns:1fr 1fr;gap:1.6rem}
  .trust-item:nth-child(3){border-left:0;padding-left:0}
  .tech-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .tech-grid{grid-template-columns:1fr}
  .contact-card{min-width:100%}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
  .tab{padding:.6em 1.15em;font-size:.96rem}
  .trust-item+.trust-item{border-left:0;padding-left:0}
  .section-head{text-align:left}
  .md-grid{grid-template-columns:1fr}
}
