:root{
  --navy: #0F36AF;
  --navy-deep: #081F73;
  --blue: #1F4FEF;
  --blue-bright: #3685FE;
  --amber: #FFB522;
  --gold: #FFCC00;
  --gold-light: #FDE72F;
  --amber-deep: #E8960F;
  --pastel-yellow: #FBE7A6;
  --red: #C1272D;
  --paper: #F5F7FC;
  --ink: #0A1633;
  --ink-soft: #46557A;
  --white: #FFFFFF;

  --display: 'Sora', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --poster: 'Anton', sans-serif;

  --container: min(2000px, max(1320px, 88vw));
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0; font-family: var(--body); color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3{ font-family: var(--display); margin:0; letter-spacing:-0.02em; }
p{ margin:0; }
.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section{ position: relative; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

::selection{ background: var(--amber); color: var(--navy-deep); }

/* ================= NAV ================= */
header.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(10,22,51,0.0);
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
header.nav.scrolled{
  background: rgba(8,31,115,0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(8,20,60,0.25);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding: 14px 32px; max-width: var(--container); margin:0 auto; }
.brand{ display:flex; align-items:center; }
.nav-logo{ height: 52px; width:auto; }
@media (max-width:560px){ .nav-logo{ height:40px; } }
nav.links{ display:flex; align-items:center; gap:34px; }
nav.links a{ color: var(--blue); font-size: 14.5px; font-weight:600; transition: color .2s ease; }
nav.links a:hover{ color: var(--red); }
header.nav.scrolled nav.links a{ color: rgba(255,255,255,0.85); }
header.nav.scrolled nav.links a:hover{ color:#fff; }
.nav-cta{
  background: var(--amber); color: var(--navy-deep); font-weight:700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; display:inline-flex; align-items:center; gap:8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,181,34,0.35); }
.menu-toggle{ display:none; background:none; border:none; color: var(--blue); font-size:26px; cursor:pointer; }
header.nav.scrolled .menu-toggle{ color:#fff; }

/* ================= HERO ================= */
.hero{
  position:relative;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(255,255,255,0.25), transparent 60%),
    linear-gradient(180deg, var(--amber-deep) 0%, var(--amber) 28%, var(--gold) 62%, #FFF6D8 100%);
  color: var(--blue); padding: 148px 0 0 0; overflow:hidden;
}
.hero-inner{ position:relative; z-index:3; min-height: 640px; padding-bottom: 0; }
.hero-copy{ position:relative; max-width: 560px; padding: 5vh 0 4vh clamp(32px, 10vw, 200px); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-family: var(--mono); font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color: var(--amber); margin-bottom:26px;
  background: var(--blue); padding: 8px 16px; border-radius: 999px;
  animation: badge-pulse 2s ease-in-out infinite;
}
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background: var(--amber); box-shadow:0 0 0 5px rgba(255,181,34,0.25); animation: pulse-dot 2.2s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(1.3); opacity:.65;} }
@keyframes badge-pulse{ 0%,100%{ transform:scale(1);} 50%{ transform:scale(1.03);} }

.hero-headline{ font-family: var(--poster); text-transform:uppercase; line-height:0.92; }
.hl-line{ display:block; font-size: clamp(38px, 5.4vw, 68px); letter-spacing:0.01em; }
.hl-white{ color: rgba(255,255,255,0.8); text-shadow: none; }
.hl-yellow{
  color: var(--gold-light); -webkit-text-stroke: 2px var(--blue); paint-order: stroke fill;
  font-style:italic; transform: skewX(-6deg); display:inline-block; margin: 6px 0;
}

.hero p.lede{ font-size: 17px; line-height:1.65; color: rgba(31,79,239,0.85); margin-top:28px; }
.hero-ctas{ display:flex; gap:16px; margin-top: 42px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px; padding: 15px 26px; border-radius: 999px;
  font-weight:700; font-size: 15px; transition: all .22s ease; border: 1.5px solid transparent;
  cursor:pointer;
}
.btn-download{
  display:inline-flex; align-items:center; gap:14px; padding: 17px 28px;
  border-radius: 999px; border:0; border-bottom: 5px solid var(--navy-deep);
  background: linear-gradient(105deg, var(--gold-light) 0%, var(--gold) 45%, var(--amber-deep) 100%);
  color: var(--navy-deep); font-weight:800; font-size:16.5px; text-transform:uppercase; letter-spacing:.01em;
  box-shadow: 0 14px 30px rgba(8,20,71,0.28); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-download:hover{ transform: translateY(-3px); filter:brightness(1.04); box-shadow: 0 18px 36px rgba(8,20,71,0.34); }
.btn-download:active{ transform: translateY(1px); }
.btn-download-icon{
  width:30px; height:30px; flex:none; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background: var(--navy-deep); color: var(--gold-light);
}

/* --- hero visual: one full-bleed photograph, bottom-anchored to the Home/Jornal divide --- */
.hero-visual{ position:absolute; z-index:2; top:0; right:0; bottom:0; width:46%; overflow:hidden; }
.hero-photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 0%;
}
.hero-id{
  position:absolute; z-index:2; left:50%; bottom:0; width:min(74%,460px);
  transform:translateX(-50%); display:flex; flex-direction:column; align-items:center;
}
.hero-id-number{ width:100%; display:block; position:relative; }

.hero-wave{ margin-top: 0; position:relative; z-index:5; }
.hero-wave svg{ display:block; width:100%; height:auto; }

/* ================= STRIP ================= */
.strip{ background: var(--paper); padding: 20px 0; overflow:hidden; border-bottom: 1px solid #E6EAF6; }
.strip-track{ display:flex; gap:56px; white-space:nowrap; animation: scroll-left 26s linear infinite; width: max-content; }
.strip-track span{ font-family: var(--mono); font-size:13px; color: var(--ink-soft); letter-spacing:.04em; display:flex; align-items:center; gap:10px; }
.strip-track span::before{ content:"•"; color: var(--amber); font-size:18px; }
@keyframes scroll-left{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ================= SECTION HEADS ================= */
.kicker{
  font-family: var(--mono); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
  color: var(--blue); font-weight:600; margin-bottom:14px; display:flex; align-items:center; gap:10px;
}
.kicker::before{ content:""; width: 28px; height:2px; background: var(--amber); display:inline-block; }
.section-title{ font-size: clamp(28px, 3.4vw, 42px); font-weight:800; line-height:1.12; color: var(--navy-deep); }
.section-sub{ font-size: 16.5px; color: var(--ink-soft); line-height:1.6; margin-top:14px; max-width: 560px; }

/* ================= JORNAL (evidenced) ================= */
.jornal{ padding: 40px 0 120px; background: #fff; }
.jornal-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom: 46px; }
.jornal-title{ font-family: var(--display); font-weight:800; font-size: clamp(32px, 4.4vw, 52px); color: var(--navy-deep); line-height:1.05; }
.jornal-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:26px;
}
.jornal-head .carousel-nav{ display:none; }
.article-card{
  background:var(--paper); border-radius: 22px; overflow:hidden; border:1px solid #E6EAF6; transition: transform .3s ease, box-shadow .3s ease;
}
.article-card:hover{ transform: translateY(-8px); box-shadow: 0 24px 48px rgba(15,54,175,0.16); }
.article-thumb{ aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--gold), var(--amber-deep)); position:relative; overflow:hidden; }
.article-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.article-card-btn{ display:block; text-align:left; font:inherit; color:inherit; cursor:pointer; padding:0; }
.article-body .read{ display:inline-flex; margin-top:14px; font-size:13px; color: var(--blue); font-weight:700; align-items:center; gap:6px; }

/* ---------- ARTICLE MODAL ---------- */
.modal-overlay{
  position:fixed; inset:0; background: rgba(8,20,51,0.72); backdrop-filter: blur(4px);
  display:none; align-items:center; justify-content:center; z-index: 1000; padding: 24px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:#fff; border-radius: 30px; max-width: 720px; width:100%; max-height: 86vh; overflow-y:auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4); position:relative;
}
.modal-close{
  position:absolute; top:16px; right:16px; z-index:2; width:38px; height:38px; border-radius:50%;
  background: rgba(8,20,51,0.55); color:#fff; border:none; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition: background .2s ease;
}
.modal-close:hover{ background: var(--navy-deep); }
.modal-hero{ width:100%; aspect-ratio: 16 / 9; object-fit:cover; display:block; border-radius: 30px 30px 0 0; }
#modalVideo{ height: 460px; object-fit:contain; }
@media (max-width:640px){ #modalVideo{ height: 380px; } }
.modal-content{ padding: 32px 36px 40px; }
.modal-tag{ font-family: var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--blue); background: var(--paper); padding:5px 12px; border-radius:999px; display:inline-block; }
.modal-title{ font-family: var(--display); font-weight:800; font-size: clamp(22px,3vw,30px); color: var(--navy-deep); margin-top:16px; line-height:1.25; }
.modal-body p{ font-size:15.5px; line-height:1.75; color: var(--ink-soft); margin-top:16px; }
.modal-gallery{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:24px; }
.modal-gallery img{ width:100%; height:110px; object-fit:cover; border-radius:12px; cursor:pointer; transition: transform .2s ease, opacity .2s ease; }
.modal-gallery img:hover{ transform: scale(1.03); opacity:0.9; }
@media (max-width:480px){
  .modal-gallery{ grid-template-columns: repeat(2, 1fr); }
  .modal-gallery img{ height:130px; }
}
@media (max-width:640px){
  .modal-content{ padding: 26px 22px 32px; }
}
.article-thumb .tag{ position:absolute; top:12px; left:12px; background: rgba(255,255,255,0.92); color:var(--navy-deep); font-family:var(--mono); font-size:10px; padding:4px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.06em; }
.article-body{ padding: 22px 24px 26px; }
.article-body h3{ font-size:18px; line-height:1.35; font-weight:800; color: var(--navy-deep); font-family: var(--body); }
.article-body .read{ margin-top:14px; font-size:13.5px; color: var(--blue); font-weight:700; display:flex; align-items:center; gap:6px; }

/* ================= HORIZONTAL TIMELINE ================= */
.timeline-section{ background: var(--paper); padding: 120px 0; }
.timeline-scroll{ margin-top: 70px; overflow-x: auto; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
.timeline{ position:relative; display:flex; min-width: max-content; padding: 0 10px; }
.timeline-line{ position:absolute; top: 9px; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--amber-deep)); }
.t-item{ position:relative; width: 260px; flex: none; padding: 34px 26px 0 0; }
.t-dot{
  position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%;
  background: var(--white); border: 3px solid var(--amber); box-shadow: 0 0 0 5px var(--paper); z-index:2;
}
.t-item.milestone .t-dot{ background: var(--amber); border-color: var(--amber-deep); }
.t-year{ font-family: var(--mono); font-size:13px; color: var(--amber-deep); font-weight:600; letter-spacing:.04em; }
.t-title{ font-family: var(--display); font-size: 18px; font-weight:700; color: var(--navy-deep); margin-top:8px; line-height:1.3; }

/* ================= CARROSSEL (setas compartilhadas: Jornal + Vidas cuidadas) ================= */
.carousel-nav{ display:flex; gap:10px; }
.carousel-arrow{
  width:44px; height:44px; border-radius:50%; border:1.5px solid #D7DEF0; background:#fff;
  display:flex; align-items:center; justify-content:center; font-size:22px; line-height:1; color: var(--blue);
  cursor:pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; flex:none;
}
.carousel-arrow:hover{ background: var(--blue); border-color: var(--blue); color:#fff; }

/* ================= VIDAS CUIDADAS ================= */
.testimonials{ padding: 120px 0; background: #fff; }
.testimonials-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:46px; }
.testimonials-track{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:8px; scrollbar-width:none;
}
.testimonials-track::-webkit-scrollbar{ display:none; }
.testimonial-card{
  flex:none; width:270px; aspect-ratio: 9 / 16; border-radius:22px; overflow:hidden;
  background:#0A1633; scroll-snap-align:start; box-shadow: 0 20px 40px rgba(15,54,175,0.2);
}
.testimonial-card video{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:640px){
  .testimonial-card{ width:230px; }
}

/* ================= FOOTER ================= */
footer{ background: var(--ink); color: rgba(255,255,255,0.6); padding: 60px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand{ display:flex; flex-direction:column; align-items:flex-start; }
.footer-logo{ height: 46px; width:auto; margin-bottom:10px; }
.footer-brand small{ display:block; font-family: var(--mono); font-size:10.5px; color: var(--amber); text-transform:uppercase; letter-spacing:.1em; margin-top:2px; }
.footer-official{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.footer-official img.prd{ height:30px; width:auto; }
.footer-official .fnum{ font-family: var(--mono); font-size:13px; color:#fff; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16); padding:6px 14px; border-radius:999px; }
.footer-official .fnum b{ color: var(--amber); }
.footer-social{ display:flex; gap:12px; }
.footer-social a{ width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,0.18); display:flex; align-items:center; justify-content:center; transition: all .2s ease; }
.footer-social a:hover{ background: var(--amber); border-color: var(--amber); }
.footer-social a:hover svg{ fill: var(--navy-deep); }
.footer-social svg{ width:16px; height:16px; fill:#fff; }
.footer-handle{ font-family: var(--mono); font-size:12.5px; color: rgba(255,255,255,0.55); margin-top:10px; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:26px; font-size:13px; flex-wrap:wrap; gap:10px; }
.footer-legal{ margin-top:14px; font-family: var(--mono); font-size:10.5px; letter-spacing:.03em; color: rgba(255,255,255,0.35); text-align:center; }

/* ================= CNPJ (letra miÃºda) ================= */
.cnpj-strip{ text-align:center; padding:5px 0; font-family: var(--mono); font-size:10px; letter-spacing:.04em; color: rgba(31,79,239,0.55); transition: color .35s ease; }
header.nav.scrolled .cnpj-strip{ color: rgba(255,255,255,0.4); }

/* ================= reveal ================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px){
  nav.links{ display:none; }
  .menu-toggle{ display:block; }
  .hero{ padding-top:132px; }
  .hero-inner{ min-height:0; padding-bottom:0; }
  .hero-copy{ max-width:none; padding:0 24px 4vh; text-align:center; }
  .eyebrow{ justify-content:center; }
  .hero-ctas{ justify-content:center; }
  .hero-visual{ position:relative; top:auto; right:auto; bottom:auto; width:100%; height:76vw; max-height:500px; margin-top:8px; }
  .hero-id{ width:min(58%,320px); }
}
@media (max-width: 1080px){
  .jornal-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .wrap{ padding: 0 20px; }
  .hero-visual{ height:92vw; max-height:420px; }
  .hero-id{ width:min(64%,260px); }
  .jornal-grid{ grid-template-columns: 1fr; gap:20px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .btn-download{ justify-content:center; }
  .jornal-head{ align-items:flex-start; }
  .testimonials-head{ align-items:flex-start; }
  .footer-official{ order:3; }
}
