/* =========================================================
   OBJETIVO VALINHOS — design system oficial
   Cores: azul profundo #19448f · amarelo vivo #fde73c
          amarelo queimado #fcbc36 · azul claro #3bc2e6
   Tipografia: Neulis Neue (títulos) · Nitti Grotesk (texto) — Adobe Fonts
   Elementos: cantos arredondados, cards com selo de ícone,
   pattern institucional em 30% de opacidade sobre fundo escuro.
   ========================================================= */

:root{
  --blue:        #19448f;
  --blue-deep:   #0f2c61;
  --blue-light:  #3bc2e6;
  --yellow:      #fde73c;
  --yellow-burnt:#fcbc36;
  --white:       #ffffff;
  --ink:         #1b2333;
  --gray:        #5b6472;
  --gray-light:  #e7e2d6;
  --cream:       #fbf9f2;
  --radius-lg:   24px;
  --radius-md:   16px;
  --radius-sm:   10px;
  --shadow:      0 18px 40px rgba(15,44,97,.12);
  --container:   1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"nitti-grotesk","Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:"neulis-neue",Georgia,serif;
  color:var(--blue);
  line-height:1.12;
  margin:0 0 .5em;
  font-weight:600;
}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem);}
h2{font-size:clamp(1.6rem,3vw,2.3rem);}
h3{font-size:1.25rem;}
p{margin:0 0 1em;color:var(--gray);}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:"nitti-grotesk",sans-serif;font-weight:700;font-size:.78rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--yellow-burnt);
  margin-bottom:12px;
}
.eyebrow::before{content:"";width:20px;height:3px;background:var(--yellow-burnt);display:inline-block;border-radius:3px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 26px;border-radius:100px;font-weight:700;font-size:.94rem;
  border:2px solid transparent;cursor:pointer;transition:.2s ease;
  font-family:"nitti-grotesk",sans-serif;
}
.btn-primary{background:var(--yellow);color:var(--blue-deep);}
.btn-primary:hover{background:var(--yellow-burnt);transform:translateY(-2px);}
.btn-outline{border-color:rgba(255,255,255,.6);color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.14);}
.btn-blue{background:var(--blue);color:#fff;}
.btn-blue:hover{background:var(--blue-deep);}

/* ---------- Header (fixo em todas as páginas) ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(251,249,242,.94);backdrop-filter:blur(8px);border-bottom:1px solid rgba(25,68,143,.08);}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:20px;}
.logo img{height:38px;width:auto;}
.nav-links{display:flex;gap:26px;align-items:center;flex-wrap:wrap;}
.nav-links > a{font-size:.92rem;font-weight:700;color:var(--blue);padding:6px 0;position:relative;}
.nav-links > a.active,.nav-links > a:hover{color:var(--yellow-burnt);}
.has-sub{position:relative;}
.has-sub > span{font-size:.92rem;font-weight:700;color:var(--blue);cursor:pointer;display:flex;align-items:center;gap:4px;}
.submenu{
  position:absolute;top:100%;left:0;background:#fff;border-radius:var(--radius-sm);
  box-shadow:var(--shadow);min-width:210px;padding:8px;opacity:0;visibility:hidden;
  transform:translateY(6px);transition:.15s ease;
}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(0);}
.submenu a{display:block;padding:9px 12px;border-radius:8px;font-size:.88rem;font-weight:600;color:var(--blue);}
.submenu a:hover{background:var(--cream);color:var(--yellow-burnt);}
.menu-toggle{display:none;background:none;border:none;font-size:1.6rem;color:var(--blue);cursor:pointer;}
@media (max-width:980px){
  .nav-links{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;gap:0;max-height:0;overflow:hidden;transition:max-height .3s ease;box-shadow:var(--shadow);}
  .nav-links.open{max-height:600px;padding:10px 24px 20px;}
  .nav-links > a,.has-sub{width:100%;padding:12px 0;border-bottom:1px solid var(--gray-light);}
  .submenu{position:static;box-shadow:none;opacity:1;visibility:visible;transform:none;display:none;padding:0 0 0 12px;}
  .has-sub.open .submenu{display:block;}
  .menu-toggle{display:block;}
  .nav-cta span.long{display:none;}
}

/* ---------- Hero / banners rotativos ---------- */
.hero-carousel{position:relative;overflow:hidden;background:var(--blue);}
.hero-slide{
  display:none;position:relative;color:#fff;padding:64px 0 96px;
  background-size:cover;background-position:center;
}
.hero-slide.active{display:block;}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(15,44,97,.92) 30%,rgba(15,44,97,.55));}
.hero-slide .container{position:relative;z-index:2;max-width:720px;}
.hero-slide h1{color:#fff;margin-bottom:.4em;}
.hero-slide p.lead{color:rgba(255,255,255,.88);font-size:1.08rem;max-width:520px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;}
.carousel-dots{position:absolute;z-index:3;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:8px;}
.carousel-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.4);cursor:pointer;padding:0;}
.carousel-dots button.active{background:var(--yellow);width:22px;border-radius:6px;}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.4);color:#fff;width:38px;height:38px;border-radius:50%;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;}
.carousel-arrow.prev{left:20px;}
.carousel-arrow.next{right:20px;}

/* ---------- Page hero (subpáginas) ---------- */
.page-hero{background:var(--blue);color:#fff;padding:60px 0 84px;position:relative;overflow:hidden;}
.page-hero::after{content:"";position:absolute;right:0;top:0;bottom:0;width:42%;background:url(../assets/pattern.svg) center/cover;opacity:.18;}
.page-hero .container{position:relative;z-index:2;}
.page-hero .crumb{color:rgba(255,255,255,.6);font-size:.82rem;margin-bottom:14px;}
.page-hero h1{color:#fff;}
.page-hero p.lead{color:rgba(255,255,255,.85);max-width:620px;}

/* ---------- Sections ---------- */
section{padding:76px 0;}
.section-tight{padding:48px 0;}
.section-head{max-width:660px;margin:0 auto 40px;text-align:center;}
.bg-white{background:#fff;}
.bg-yellow{background:var(--yellow);}

.grid{display:grid;gap:24px;}
.grid-2{grid-template-columns:1fr 1fr;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;}
@media (max-width:900px){.split{grid-template-columns:1fr;}}
.split img{border-radius:var(--radius-lg);width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;}

/* ---------- Números ---------- */
.numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media (max-width:900px){.numbers{grid-template-columns:1fr 1fr;}}
.number-card{background:#fff;border-radius:var(--radius-md);padding:26px 20px;text-align:center;box-shadow:var(--shadow);}
.number-card .val{font-family:"neulis-neue",serif;font-size:1.8rem;color:var(--blue);}
.number-card .lab{font-size:.82rem;color:var(--gray);margin-top:4px;}

/* ---------- Fase cards (foto em cima, texto embaixo) ---------- */
.fase-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;height:100%;}
.fase-card-img{aspect-ratio:4/3;overflow:hidden;}
.fase-card-img img{width:100%;height:100%;object-fit:cover;}
.fase-card-body{padding:18px 18px 20px;flex:1;display:flex;flex-direction:column;}
.fase-card-body h3{color:var(--blue);font-size:1.1rem;margin-bottom:6px;}
.fase-card-body p{font-size:.85rem;line-height:1.4;color:var(--gray);margin-bottom:12px;flex:1;}
.fase-card-body a.more{font-weight:700;color:var(--yellow-burnt);font-size:.85rem;display:inline-flex;gap:6px;}

/* ---------- Ícone-cards (padrão do design system) ---------- */
.icon-band{background:var(--blue);border-radius:var(--radius-lg);padding:40px 30px;position:relative;overflow:hidden;}
.icon-band.on-yellow{background:var(--yellow);}
.icon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative;z-index:2;}
.icon-grid-3{grid-template-columns:repeat(3,1fr);}
@media (max-width:900px){.icon-grid,.icon-grid-3{grid-template-columns:1fr 1fr;}}
.icon-card{
  background:#fff;border-radius:var(--radius-md);padding:20px 16px 18px;position:relative;overflow:hidden;
  box-shadow:0 10px 20px rgba(15,44,97,.12);
}
.icon-card::after{
  content:"";position:absolute;right:0;bottom:0;width:56px;height:56px;
  background:url(../assets/pattern.svg) center/cover;opacity:.28;
  clip-path:polygon(100% 0,100% 100%,0 100%);
}
.icon-card .badge{width:42px;height:42px;border-radius:12px;background:var(--yellow);display:flex;align-items:center;justify-content:center;margin-bottom:12px;color:var(--blue);}
.icon-card .badge svg{width:22px;height:22px;stroke:var(--blue);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.icon-card p{font-weight:700;color:var(--blue);font-size:.9rem;margin:0;line-height:1.3;}
.icon-card p.desc{font-weight:400;color:var(--gray);font-size:.82rem;line-height:1.4;margin-top:8px;}

/* ---------- Diferenciais / comparativos ---------- */
.compare-card{background:#fff;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow);}
.compare-card img{aspect-ratio:4/3;object-fit:cover;width:100%;}
.compare-card .body{padding:18px 20px;}

/* ---------- Vídeo ---------- */
.video-wrap{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/9;background:#000;}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* ---------- Depoimentos ---------- */
.testi-card{background:#fff;border-radius:var(--radius-md);padding:26px;box-shadow:var(--shadow);height:100%;display:flex;flex-direction:column;}
.testi-card .stars{color:var(--yellow-burnt);letter-spacing:2px;margin-bottom:10px;font-size:.9rem;}
.testi-card p{color:var(--ink);font-style:italic;flex:1;font-size:.88rem;line-height:1.5;}
.testi-card .who{display:flex;align-items:center;gap:12px;margin-top:14px;}
.testi-card .avatar{width:42px;height:42px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex:none;}

/* ---------- Formulário ---------- */
.form-card{background:#fff;border-radius:var(--radius-lg);padding:34px;box-shadow:var(--shadow);}
.field{margin-bottom:16px;}
.field label{display:block;font-weight:700;font-size:.84rem;margin-bottom:6px;color:var(--blue);}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border-radius:var(--radius-sm);border:1.5px solid var(--gray-light);font-family:inherit;font-size:.95rem;background:var(--cream);}
.field textarea{min-height:100px;resize:vertical;}

/* ---------- Mapa / contato ---------- */
.info-list{list-style:none;padding:0;margin:0;}
.info-list li{display:flex;gap:14px;margin-bottom:18px;}
.info-list .ico{width:40px;height:40px;border-radius:10px;background:var(--cream);display:flex;align-items:center;justify-content:center;flex:none;color:var(--blue);}
.info-list .ico svg{width:20px;height:20px;stroke:var(--blue);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.map-frame{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/10;}
.map-frame iframe{width:100%;height:100%;border:0;}

/* ---------- CTA final (fixo em todas as páginas) ---------- */
.cta-final{background:var(--blue);position:relative;overflow:hidden;border-radius:var(--radius-lg);padding:56px 44px;text-align:center;color:#fff;}
.cta-final::before{content:"";position:absolute;left:-40px;bottom:-40px;width:260px;height:260px;background:url(../assets/pattern.svg) center/cover;opacity:.15;}
.cta-final .container{position:static;}
.cta-final h2{color:#fff;position:relative;z-index:2;}
.cta-final p{color:rgba(255,255,255,.82);max-width:520px;margin:0 auto 22px;position:relative;z-index:2;}
.cta-final p.oneline{white-space:nowrap;max-width:none;}
@media (max-width:700px){.cta-final p.oneline{white-space:normal;max-width:420px;}}
.cta-final .hero-actions{justify-content:center;position:relative;z-index:2;}

.newsletter-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;max-width:420px;margin:0 auto;position:relative;z-index:2;}
.newsletter-form input{flex:1;min-width:200px;padding:12px 16px;border-radius:100px;border:1.5px solid rgba(11,30,61,.2);font-family:inherit;font-size:.9rem;}

/* ---------- Blog ---------- */
.post-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);}
.post-card .thumb{aspect-ratio:16/10;background:var(--gray-light);}
.post-card .body{padding:22px;}
.post-card .tag{color:var(--yellow-burnt);font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;}
.example-tag{display:inline-block;background:var(--yellow);color:var(--blue-deep);font-weight:700;font-size:.72rem;padding:4px 10px;border-radius:100px;margin-bottom:10px;}
.note{background:#FFF4DA;border:1px dashed var(--yellow-burnt);border-radius:14px;padding:16px 20px;font-size:.86rem;color:#7a5107;}

/* artigo interno do blog */
.article p{color:var(--ink);font-size:1rem;line-height:1.75;margin-bottom:1.2em;}
.article h3{margin-top:1.6em;font-size:1.35rem;}
.article h4{color:var(--blue);font-family:"neulis-neue",serif;font-size:1.1rem;margin:1.4em 0 .5em;}
.article-list{margin:0 0 1.3em;padding-left:1.3em;color:var(--ink);}
.article-list li{margin-bottom:.5em;line-height:1.6;}
.article em{color:var(--blue);font-style:italic;}

/* ---------- Footer (fixo em todas as páginas) ---------- */
footer{background:var(--blue-deep);color:rgba(255,255,255,.92);padding:60px 0 24px;}
footer h4{color:var(--yellow);font-size:.95rem;}
footer p,footer li,footer span{color:#fff;}
footer a{color:#fff;}
footer a:hover{color:var(--yellow);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.12);}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-grid ul{list-style:none;padding:0;margin:0;}
.footer-grid li{margin-bottom:10px;font-size:.9rem;}
.footer-contact li{display:flex;align-items:flex-start;gap:10px;}
.footer-contact svg.fico{width:16px;height:16px;flex:none;margin-top:3px;stroke:var(--yellow);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:20px;font-size:.78rem;}
.social{display:flex;gap:10px;margin-top:16px;}
.social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;}
.social svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}

.text-center{text-align:center;}
.mt-0{margin-top:0;}
