@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");

/* Dr. Alexandre Zobiole: wireframe (base pra Lais evoluir).
   Paleta de 4 cores (branco/gelo, azul, azul petroleo, dourado suave) + 3 fontes
   (DM Sans corpo, Manrope UI/subtitulos, Playfair Display so nos titulos grandes).
   Visual limpo, muito respiro, botoes quadrados e grossos. Espaco pra imagem nos .ph. */
:root {
  /* 4 cores */
  --white: #F4F0E8;
  --ice: #f4f7fa;        /* branco gelo (fundos alternados) */
  --blue: #1f63c9;       /* azul (acoes, links, destaques) */
  --petrol: #0f2c39;     /* azul petroleo (fundos escuros, titulos fortes) */
  --gold: #808f9b;       /* cinza-azulado (detalhes, eyebrow, hover) */
  /* derivados de texto/linha */
  --ink: #14313b;        /* texto principal (petroleo quase preto) */
  --ink-2: #5a6b73;      /* texto secundario */
  --line: #e3e9ee;       /* linhas finas */
  /* fontes */
  --font-body: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-ui: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  /* medidas */
  --maxw: 1140px;
  --pad: clamp(20px, 6vw, 104px);
  --radius: 6px;
  --radius-btn: 3px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Titulos grandes = Playfair (display). Subtitulos menores = Manrope. */
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .45em; }
h3, h4 { font-family: var(--font-ui); font-weight: 700; line-height: 1.25; margin: 0 0 .4em; }
h1 { font-size: clamp(38px, 6.2vw, 66px); }
h2 { font-size: clamp(29px, 4.2vw, 44px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
/* Container unico (header + main), mobile-first: 90% no mobile (<768),
   85% no meio, 80% em telas grandes (>=1500). Sempre cresce ate o teto de 1900px. */
.wrap { width: 90%; max-width: 1900px; margin-inline: auto; }
@media (min-width: 1500px) { .wrap { width: 80%; } }
/* replica o flex que o Bootstrap aplica em .navbar > .container, pro nosso .wrap */
.navbar > .wrap { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }

/* header/navbar: mais respiro vertical (top e bottom) */
.navbar { padding: 0.7em 0em; background: var(--white); box-shadow: 0 2px 12px rgba(20,49,59,.06); }
.navbar-brand { display: inline-flex; align-items: center; gap: 12px; padding: 0; color: var(--petrol); }
.navbar-brand img { width: 60px; height: auto; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-ui); }
.brand-name b { font-weight: 700; font-size: 1em; letter-spacing: -.01em; }
.brand-name small { font-size: .68em; font-weight: 500; opacity: .72; }
@media (max-width: 768px) {
  .navbar { padding: 0.9em 0em; }
  .navbar-brand { gap: 9px; }
  .navbar-brand img { width: 42px; }
  .brand-name b { font-size: .82em; }
  .brand-name small { font-size: .56em; }
}
/* navbar: sem borda no botao hamburguer */
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }
/* breakpoint custom do menu = 1252px (Bootstrap nativo so tem 992 e 1200) */
/* expandido (>= 1252): menu horizontal */
@media (min-width: 1252px) {
  .navbar-expand-custom { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-custom .navbar-nav { flex-direction: row; gap: 1.5em; }
  .navbar-expand-custom .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-custom .navbar-toggler { display: none; }
  .navbar-expand-custom .box-3 { margin-left: 1.5em; }
}
/* colapsado (< 1252): dropdown vertical, itens centralizados e respiro */
@media (max-width: 1251.98px) {
  .navbar-nav { text-align: center; margin-top: 1.4em; gap: 1.2em; }
  #navmenu .btn { display: block; margin: 1.4em auto 0; }
}
/* padding dos links (area de clique) */
.navbar-nav .nav-link { padding: 0.6em 1em; }
/* hover do item de menu (global) */
.navbar-nav .nav-link:hover { background-color: rgba(234,228,216,.45); color: black; }
.eyebrow { display: inline-block; font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 18px; }

/* skip link (a11y) */
.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* botoes: quadrados (radius baixo) e grossos (padding alto, peso forte) */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-ui); padding: 17px 36px; border-radius: var(--radius-btn); font-weight: 700; font-size: 15.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { transform: translateY(-2px); background: #184f9f; border-color: #184f9f; }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: #fff; }

/* btn-three: efeito de borda animada (por enquanto so no botao do header).
   background provisorio (--petrol) so pra o texto/borda brancos aparecerem; a cor final voce define depois. */
.btn-three { color: #fff; background-color: var(--petrol); transition: all 0.5s; position: relative; padding: 12px 28px; }
.btn-three span { position: relative; z-index: 2; }
.btn-three::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; background-color: rgba(255,255,255,0.1); transition: all 0.3s;
}
.btn-three:hover::before { opacity: 0; transform: scale(0.5, 0.5); }
.btn-three::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; opacity: 0; transition: all 0.3s;
  border: 1px solid var(--petrol); transform: scale(1.2, 1.2);
}
.btn-three:hover::after { opacity: 1; transform: scale(1, 1); }

/* navbar */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-ui); font-weight: 800; text-decoration: none; letter-spacing: -0.01em; color: var(--petrol); }
.brand .dot { width: 30px; height: 30px; border-radius: 4px; background: var(--petrol); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-ui); text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--petrol); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--petrol); cursor: pointer; }

/* hero: 100vh em todas as telas, video tocando ao fundo (sem pin/scrub) */
.hero { position: relative; height: 100vh; overflow: hidden; }
@media (max-width: 767.98px) {
  .hero-address { display: none; }
}
.hero-sticky { position: relative; height: 100%; overflow: hidden; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-sticky::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--petrol); opacity: 0.8; }
.hero-overlay { position: relative; z-index: 2; color: #fff; text-align: center; }
.hero-overlay > div { max-width: 42ch; margin: 0 auto; }
.hero-overlay h1 { color: #fff; font-size: 2em; font-weight: 400; margin-top: 2em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-spec { font-family: var(--font-body); font-weight: 300; font-size: clamp(18px, 2.6vw, 28px); color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-overlay .eyebrow { text-transform: uppercase; color: #c6a868; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-cta { margin-top: 1.2em; }
/* endereco na hero: pin + texto, branco, sutil */
.hero-address { position: absolute; right: 12%; bottom: 7%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-family: var(--font-ui); font-size: .85em; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero-address svg { width: 18px; height: 18px; flex: 0 0 auto; color: #c6a868; }
/* endereco no footer: rua em dourado, detalhe em branco */
.foot-address { display: block; margin-bottom: 12px; }
.foot-address .fa-street { display: block; color: #c6a868; font-weight: 700; }
.foot-address .fa-detail { display: block; color: var(--white); font-size: 13px; margin-top: 2px; }
.foot-address:hover .fa-street { opacity: .85; }
/* CTA lateral fixa, no meio da tela, texto de baixo pra cima */
.side-cta { display: none; }
@media (min-width: 981px) {
  .side-cta { display: block; position: fixed; top: 58%; right: auto; left: 0; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 50; background: none; color: #c6a868; font-family: var(--font-ui); font-weight: 600; font-size: 0.8em; text-transform: capitalize; letter-spacing: .06em; text-decoration: none; padding: 16px 10px; transition: color .2s ease; }
}
.side-cta.on-petrol { color: var(--petrol); }
/* desktop: o nome (h1) cresce pra preencher 100% da largura do container */
@media (min-width: 768px) {
  .hero-overlay > div { max-width: none; }
  .hero-overlay h1 { font-size: 4.8em; margin-bottom: 0em; }
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 34px; color: var(--petrol); }
.hero-stats span { font-size: 13px; color: var(--ink-2); }

/* placeholder de imagem (sobe depois) */
.ph { position: relative; background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #9aa7ae; font-family: var(--font-ui); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; min-height: 280px; background-image: linear-gradient(135deg, transparent 46%, #dde4ea 46%, #dde4ea 54%, transparent 54%); }
.ph.tall { min-height: 440px; }
.ph.round { border-radius: 50%; aspect-ratio: 1; min-height: 0; background-image: none; }

/* secoes alternadas em gelo */
.alt { background: var(--ice); }

/* grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; gap: 11px; padding: clamp(26px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; min-height: 190px; width: 100%; max-width: 380px; margin-inline: auto; }
.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,75,90,.08); }
.card-kicker { font-family: var(--font-ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.card-num { font-family: var(--font-display); font-size: 22px; color: var(--gold); }
.card h3 { margin: 0; color: var(--petrol); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card-cta { margin-top: auto; font-family: var(--font-ui); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }

/* sobre */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split h2 { color: var(--petrol); }
.split ul { padding-left: 0; list-style: none; }
.split li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }
/* linha dourada vertical fina entre a imagem e o texto (so no desktop) */
@media (min-width: 981px) {
  #sobre .split { gap: clamp(24px, 3vw, 44px); }
  #sobre .split > :first-child { align-self: stretch; display: flex; align-items: center; border-right: 1px solid var(--gold); padding-right: clamp(18px, 2.5vw, 36px); }
}
/* Secao Sobre: espacamento + frase de destaque + lista de destaques (marcador dourado) */
#sobre, #especialidades, #como-funciona, #blog { padding: 3em 0; }
#blog { padding: 3em 0em 1em; }
#sobre { background-color: var(--white); background-image: url("/dralexandre/assets/45-degree-fabric-light.png"); background-repeat: repeat; }
/* Especialidades: fundo azul petroleo (cards serao redesenhados) */
#especialidades { background-color: var(--petrol); background-image: url("/dralexandre/assets/45-degree-fabric-light.png"); background-repeat: repeat; background-blend-mode: soft-light; color: #fff; border-top-left-radius: 26px; border-top-right-radius: 26px; padding-bottom: 1.5em; }
#especialidades h2 { color: #fff; }
#especialidades .muted { color: rgba(255,255,255,.72); }
/* carrossel de especialidades: 4 visiveis, 5 no total (scroll-snap, sem lib) */
.esp-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; margin-top: 40px; scrollbar-width: none; -ms-overflow-style: none; }
.esp-carousel::-webkit-scrollbar { display: none; }
.esp-carousel .card { scroll-snap-align: start; flex: 0 0 calc((100% - 60px) / 4); }
/* setas de navegacao do carrossel */
.esp-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.esp-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #c6a868; background: transparent; color: #c6a868; font-family: var(--font-ui); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, color .15s ease; }
.esp-arrow:hover { background: #c6a868; color: var(--petrol); }
.esp-arrow:disabled { opacity: .35; cursor: default; }

/* Especialidades: bento irregular (desktop) x carrossel (mobile) */
.esp-bento { display: none; }
@media (min-width: 986px) {
  .esp-mobile { display: none; }
  .esp-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 250px; gap: 14px; margin-top: 24px; }
  .esp-bento .esp-tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .esp-bento .esp-tile:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .esp-bento .esp-tile:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
  .esp-bento .esp-tile:nth-child(4) { grid-column: 4; grid-row: 1 / 3; }
}
.esp-tile { position: relative; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.esp-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.esp-tile:hover .esp-tile-img { transform: scale(1.06); }
.esp-tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.5); }
.esp-tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.6); transition: opacity .3s ease; }
.esp-tile-num { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--gold); }
.esp-tile-cap h3 { margin: 4px 0 0; color: #fff; font-weight: 400; }
.esp-bento .esp-tile:nth-child(3) h3, .esp-bento .esp-tile:nth-child(4) h3 { font-size: 1.1em; }
.esp-vermais { display: block; text-align: right; margin-top: 8px; font-family: var(--font-ui); font-size: .74em; font-weight: 400; text-transform: uppercase; letter-spacing: .07em; color: #fff; opacity: .85; }
.esp-tile-hover { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 20px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; opacity: 0; transition: opacity .3s ease; }
.esp-tile:hover .esp-tile-hover { opacity: 1; }
.esp-tile:hover .esp-tile-cap { opacity: 0; }
.esp-tile-hover h3 { margin: 0; color: #fff; font-weight: 400; }
.esp-tile-hover p { margin: 0; color: rgba(255,255,255,.85); font-size: .9em; }
.esp-tile-link { position: absolute; inset: 0; z-index: 4; }
@media (max-width: 1200px) { .esp-carousel .card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 900px)  { .esp-carousel .card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px)  { .esp-carousel .card { flex-basis: 82%; } }
/* cards de especialidades: icone dourado + numero decorativo no canto */
#especialidades .card { position: relative; overflow: hidden; }
#especialidades .esp-img { display: block; width: 100%; height: 190px; object-fit: cover; background: rgba(15,44,57,.08); }
/* Tecnologias e recursos: faixa de chips sempre visivel */
.esp-tech { margin-top: 44px; }
.esp-tech-title { display: block; font-family: var(--font-ui); font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.72); margin-bottom: 16px; }
.esp-tech-list { display: flex; flex-wrap: wrap; gap: 12px; }
.esp-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: .85em; }
.esp-chip svg { width: 18px; height: 18px; flex: 0 0 auto; color: #c6a868; }
.esp-carousel .card { padding: 0; gap: 0; overflow: hidden; min-height: 340px; }
.esp-carousel .card-body { padding: 1em; display: flex; flex-direction: column; gap: 8px; }
#especialidades .card-ico { color: var(--gold); display: block; margin-bottom: 14px; }
#especialidades .card-num { position: absolute; top: 4px; right: 20px; margin: 0; font-size: 64px; line-height: 1; color: var(--gold); opacity: .1; }
#especialidades .card:hover .card-ico { color: var(--petrol); }
/* cards do blog: cantos 20px; "Ler" aparece so no hover */
.blog-card { position: relative; border: 1px solid #EAE4D8; border-radius: 20px; padding: 0; min-height: 310px; overflow: hidden; box-shadow: 0 6px 14px rgba(14,75,90,.16); }
/* pagina de listagem do blog (só ela): padding e h1 menor (fundo papel vem do .alt) */
#blog.blog-page { padding: 10em 0em 4em; }
/* carrossel da listagem: ate 6 artigos, setas pra navegar */
.blog-pages { margin-top: 36px; }
.blog-grid { gap: 24px; }
.blog-nav { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 3em; }
.blog-nav-arrows { display: flex; gap: 12px; }
.blog-nav .esp-arrow { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.blog-nav .esp-arrow:hover { background: #fff; color: var(--petrol); }
.blog-back { margin: 0; }
.blog-page h1 { font-size: clamp(26px, 3.4vw, 38px); }
.blog-card .card-cover-wrap { position: relative; display: block; height: 170px; overflow: hidden; }
.blog-card .card-cover-wrap.is-placeholder { background: linear-gradient(135deg, var(--petrol), #0a3b47); }
.blog-card .card-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
/* overlay escuro (ajustavel: mude a opacidade abaixo) */
.blog-card .card-cover-wrap::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.blog-card .card-cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--white); color: var(--petrol); font-family: var(--font-ui); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.blog-card .card-body { display: flex; flex-direction: column; gap: 10px; padding: 1.4em 1.4em 1.3em; flex: 1; }
.blog-card .card-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .card-cta { margin-top: auto; opacity: 0; transition: opacity .2s ease; align-self: flex-end; color: var(--petrol); }
.blog-card:hover .card-cta { opacity: 1; }
/* cabecalho do blog: h2 a esquerda, "ver mais" a direita */
.blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.blog-head h2 { margin-bottom: 0; }
.blog-vermais { font-family: var(--font-ui); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--petrol); text-decoration: none; white-space: nowrap; }
.blog-vermais:hover { color: var(--gold); }
.blog-sub { display: block; margin-top: .5em; color: var(--muted, #52616b); font-size: .95em; max-width: 60ch; }
/* blog: textura de papel + borda superior branca */
#blog.alt { background-color: var(--white); background-image: url("/dralexandre/assets/45-degree-fabric-light.png"); background-repeat: repeat; border-top: 1px solid rgba(255,255,255,.5); }
#como-funciona { padding-top: 4em; background: var(--white); }
.sobre-foto { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.sobre-lead { font-family: var(--font-ui); font-size: 1em; font-weight: 600; color: var(--petrol); line-height: 1.5; margin-bottom: 1em; }
.sobre-destaques { list-style: none; padding-left: 0; margin-top: 1.5em; display: grid; gap: 14px; }
.sobre-destaques li { position: relative; padding: 0 0 0 26px; border-bottom: 0; line-height: 1.45; }
.sobre-destaques li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); }
.sobre-destaques strong { color: var(--petrol); font-weight: 700; }
.sobre-crm { margin-top: 1.4em; display: flex; align-items: center; justify-content: flex-end; gap: 14px; font-family: var(--font-ui); font-size: .9em; font-weight: 600; letter-spacing: .04em; color: var(--petrol); }
.sobre-crm::before { content: ''; width: 44px; height: 1px; background: var(--petrol); opacity: .35; }
.sobre-crm .dot-sep { color: var(--petrol); }

/* passos */
/* Como funciona: subtitulo abaixo do h2 */
#como-funciona h2 { margin-bottom: 0; }
.cf-sub { display: block; text-align: center; font-size: 0.9em; color: var(--ink); margin-top: .5em; }
/* Como funciona: stepper numerado (circulos + linhas conectando) */
.cf-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 2.8em 0; }
.cf-step { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font-ui); }
.cf-step-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(20,49,59,.35); color: rgba(20,49,59,.65); font-weight: 600; font-size: 15px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.cf-step-sep { width: 24px; height: 1px; background: rgba(20,49,59,.35); transition: background .2s ease; }
.cf-step-label { text-transform: uppercase; letter-spacing: .08em; font-size: .8em; font-weight: 700; color: rgba(20,49,59,.65); transition: color .2s ease; }
.cf-step:hover .cf-step-num { border-color: var(--petrol); color: var(--petrol); }
.cf-step.is-active .cf-step-num { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.cf-step.is-active .cf-step-sep { background: var(--petrol); }
.cf-step.is-active .cf-step-label { color: var(--petrol); }
.cf-connector { width: 42px; height: 1px; background: rgba(20,49,59,.15); }
@media (max-width: 504px) {
  .cf-steps { flex-direction: column; align-items: flex-start; gap: 1.3em; }
  .cf-connector { display: none; }
}

.cf-panels { max-width: 1000px; margin: 3.5em auto 0; }
.cf-panel { display: none; grid-template-columns: 2fr auto; gap: clamp(48px, 9vw, 140px); align-items: center; }
.cf-panel.is-active { display: grid; animation: cf-fade .35s ease; }
@keyframes cf-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* linha dourada curta acima do titulo */
.cf-panel-text h3::before { content: ''; display: block; width: 40px; height: 2px; background: var(--petrol); margin-bottom: 24px; }
.cf-panel-text h3 { color: var(--petrol); margin-bottom: .5em; font-size: clamp(26px, 3.2vw, 36px); }
.cf-panel-text p { max-width: 42ch; color: var(--ink); }
.cf-panel-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 1.8em; padding: 13px 26px; font-size: .9em; background: var(--petrol); border-color: var(--petrol); }
.cf-panel-cta:hover { background: #0a3b47; border-color: #0a3b47; }

/* icone dentro de circulo suave + arco dourado + ponto */
.cf-panel-ico { display: flex; align-items: center; justify-content: center; }
/* FLIP CARD · versao compativel entre navegadores: o INNER nao gira; cada FACE gira sozinha */
.cf-card { position: relative; z-index: 5; width: 400px; height: 224px; -webkit-perspective: 1100px; -moz-perspective: 1100px; perspective: 1100px; }
.cf-card-inner { position: relative; width: 100%; height: 100%; }
.cf-card-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 1em; border-radius: 14px; background: linear-gradient(145deg, #17414f 0%, var(--petrol) 55%, #0a2129 100%); color: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: 0px 4px 5px rgba(15,44,57,.55); -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-transition: -webkit-transform 1.2s cubic-bezier(.2,.7,.2,1); -moz-transition: -moz-transform 1.2s cubic-bezier(.2,.7,.2,1); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); -webkit-transform-origin: center center; -moz-transform-origin: center center; transform-origin: center center; }
.cf-card-face > * { position: relative; z-index: 1; }
.cf-card-front { justify-content: space-between; -webkit-transform: rotateY(0deg); -moz-transform: rotateY(0deg); transform: rotateY(0deg); pointer-events: auto; }
.cf-card-back { -webkit-transform: rotateY(180deg); -moz-transform: rotateY(180deg); transform: rotateY(180deg); justify-content: space-between; pointer-events: none; }
.cf-card:hover .cf-card-front, .cf-card.is-flipped .cf-card-front { -webkit-transform: rotateY(-180deg); -moz-transform: rotateY(-180deg); transform: rotateY(-180deg); pointer-events: none; }
.cf-card:hover .cf-card-back, .cf-card.is-flipped .cf-card-back { -webkit-transform: rotateY(0deg); -moz-transform: rotateY(0deg); transform: rotateY(0deg); pointer-events: auto; }
.cf-card-crm { position: absolute; z-index: 2; top: 14px; right: 16px; font-family: var(--font-ui); font-size: .62em; font-weight: 700; letter-spacing: .04em; color: #c6a868; }
.cf-card-logo { width: 100px; height: auto; margin-bottom: 10px; }
.cf-card-name { display: block; font-family: var(--font-display); font-size: 1.2em; line-height: 1.1; }
.cf-card-spec { font-family: var(--font-ui); font-size: .72em; opacity: .78; }
.cf-card-addr { font-family: var(--font-ui); font-size: .86em; line-height: 1.55; opacity: .92; }
.cf-card-foot { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cf-card-btn { position: relative; z-index: 2; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-btn); background: #c6a868; color: var(--petrol); font-family: var(--font-ui); font-weight: 700; font-size: .72em; text-decoration: none; transition: background .15s ease; }
.cf-card-btn:hover { background: #d4b878; }
@media (max-width: 760px) { .cf-panel { grid-template-columns: 1fr; text-align: left; } .cf-panel-ico { display: none; } }

/* assinatura: linha dourada + frase serifada italica + subtitulo */
.cf-footer { text-align: right; margin-top: 3em; }
.cf-sign-line { display: inline-block; width: 40px; height: 2px; background: var(--petrol); margin-bottom: 6px; }
.cf-sign-title { font-family: var(--font-ui); font-weight: 600; font-size: 1em; color: var(--petrol); margin: 0; }
.cf-sign-sub { color: var(--ink); font-size: .95em; margin: .25em 0 0; }

/* depoimentos */
.quote { padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote p { font-family: var(--font-display); font-size: 20px; font-style: italic; color: var(--ink); line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.quote .who .ph.round { width: 46px; height: 46px; min-height: 0; }
.quote .who b { display: block; font-family: var(--font-ui); }
.quote .who span { font-size: 13px; color: var(--ink-2); }

/* contato / CTA (petroleo) */
/* Contato: card claro que flutua sobre o topo do footer (petroleo) */
#contato { padding: 0; position: relative; z-index: 3; background-color: var(--white); background-image: url("/dralexandre/assets/45-degree-fabric-light.png"); background-repeat: repeat; }
.contato-card { position: relative; z-index: 3; width: 95%; max-width: 1000px; margin-inline: auto; transform: translateY(96px); background: var(--white); border: 1px solid rgba(15,44,57,.45); border-radius: 24px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(15,44,57,.45), 0 30px 70px rgba(14,75,90,.18); padding: 2.4em; display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; gap: clamp(28px, 5vw, 64px); }
.contato-card-text { max-width: 46ch; }
.contato-card .eyebrow { color: var(--gold); }
.contato-card h2 { color: var(--petrol); margin: 0; font-size: 1.6em; }
.contato-card p { color: var(--muted, #52616b); margin: 1.3em 0 0; }
.contato-card-action { display: flex; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 0; padding: 11px 22px; font-size: .9em; background: var(--petrol); color: #fff; border-color: var(--petrol); }
.cta-btn:hover { background: var(--gold); color: var(--petrol); border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 760px) { .contato-card { grid-template-columns: 1fr; margin-bottom: -80px; } }

/* footer */
.foot { background-color: var(--petrol); background-image: url("/dralexandre/assets/45-degree-fabric-light.png"); background-repeat: repeat; background-blend-mode: soft-light; color: #fff; border-top: 1px solid rgba(255,255,255,.4); padding: calc(96px + 5em) 0 30px; }
@media (max-width: 768px) {
  .contato-card h2 { font-size: 1.5em; }
  .foot { padding-top: calc(96px + 9em); }
}
.foot-logo { display: inline-block; margin-bottom: 20px; }
.foot-logo-badge { display: grid; place-items: center; width: 96px; height: 96px; }
.foot-logo-badge img { width: 96px; height: 96px; display: block; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot .brand { color: #fff; }
.foot .brand .dot { background: var(--gold); color: var(--petrol); }
.foot .muted { color: rgba(255,255,255,.65); }
.foot h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 16px; }
.foot a { display: block; text-decoration: none; color: rgba(255,255,255,.72); font-size: 1em; margin-bottom: 9px; }
.foot a:hover { color: var(--gold); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }

/* post (artigo) */
/* pagina de post: conteudo ~60% + sidebar de relacionados */
/* header do post: titulo 60% + imagem 40%, lado a lado */
.post-head { display: grid; grid-template-columns: 45fr 50fr; grid-template-areas: "title cover"; column-gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1260px; margin: 11em auto 0; }
.post-title-col { grid-area: title; align-self: center; }
.post-back { display: inline-block; text-decoration: none; font-size: 14px; margin: 0 0 12px; }
.post-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; margin: 0; }
.post-cover { grid-area: cover; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(14,75,90,.14); }
/* conteudo do post: corpo + sumario, com margem maior separando do header */
.post-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: clamp(32px, 5vw, 72px); align-items: start; max-width: 1260px; margin: clamp(52px, 7vw, 96px) auto 0; }
/* indice do artigo (so os h2), sticky na lateral */
.post-toc { position: sticky; top: 110px; }
.post-toc-title { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 14px; }
.toc-item { display: block; text-decoration: none; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); padding: 8px 0 8px 14px; border-left: 2px solid var(--line); line-height: 1.35; transition: color .15s ease, border-color .15s ease; }
.toc-item:hover { color: var(--petrol); border-left-color: var(--gold); }
/* posts relacionados: agora abaixo do artigo, em grade */
.post-related-block { max-width: 1232px; margin: clamp(36px, 5vw, 64px) auto 0; padding-bottom: clamp(48px, 8vw, 100px); }
/* tela muito grande: 4 cards por linha (blog da home, pagina de blog e relacionados) */
@media (min-width: 1600px) { .post-related-block { max-width: 1640px; } .post-related-block .grid-3, #blog .grid-3 { grid-template-columns: repeat(4, 1fr); } }
/* home + pagina de post: de 1600 pra baixo, esconde o 4o post (fica 3 posts; as colunas quebram sozinhas ao diminuir) */
@media (max-width: 1600px) { #blog:not(.blog-page) .grid-3 > .card:nth-child(4), .post-related-block .grid-3 > .card:nth-child(4) { display: none; } }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 28px; margin-top: 16px; }
.post-related-grid .rel-item { border-bottom: 0; padding: 0; }
.post-related-title { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 14px; }
.rel-item { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rel-item:last-child { border-bottom: 0; }
.rel-thumb { flex: 0 0 auto; width: 118px; height: 82px; border-radius: 10px; overflow: hidden; background: rgba(15,44,57,.08); }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--petrol), #0a3b47); }
.rel-t { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rel-item:hover .rel-t { color: var(--petrol); }
/* mobile: uma coluna, ordem imagem -> titulo -> conteudo (sumario some) */
@media (max-width: 820px) {
  .post-head { grid-template-columns: 1fr; grid-template-areas: "cover" "title"; max-width: 640px; row-gap: 20px; }
  .post-content { grid-template-columns: 1fr; max-width: 640px; margin-top: clamp(32px, 6vw, 56px); }
  .post-title { align-self: auto; }
  .post-cover { aspect-ratio: 16 / 10; }
  .post-toc { display: none; }
}
.post-body { font-size: 17.5px; }
.post-body h2 { font-size: clamp(24px, 3vw, 32px); color: var(--petrol); margin-top: 1.6em; }
.post-body ul { padding-left: 20px; }
.post-body li { margin-bottom: .4em; }

/* reveal on scroll (leve) */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVIDADE: cascata de 7 niveis (do celular ao ultra-wide >= 2000px).
   Tipografia e padding fluidos via clamp(); os breakpoints ajustam container e grids.
   ───────────────────────────────────────────────────────────────────── */
@media (min-width: 2000px) {
  :root { --maxw: clamp(1560px, 74vw, 1840px); --pad: clamp(120px, 9vw, 220px); }
  body { font-size: 19px; }
}
@media (min-width: 1600px) and (max-width: 1999px) {
  :root { --maxw: 1440px; --pad: clamp(96px, 8vw, 160px); }
  body { font-size: 18px; }
}
@media (max-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-2, .steps, .foot-grid { grid-template-columns: 1fr; }
  .foot-grid { gap: 28px; }
}
@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--pad) 18px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .btn { width: 100%; padding: 13px 0; }
  .nav-links .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 28px; }
}
