/* ==========================================================================
   ProtectIT — design system (recriado do handoff do Claude Design)
   Tokens, chrome (topbar/header/footer), hero, marquee, seções e cards.
   ========================================================================== */

:root {
  --primary:        #3FA98A;   /* teal-green — CTAs, links, ícones */
  --primary-dark:   #1F6B57;   /* 2ª cor dos gradientes */
  --accent-claro:   #8FD9BE;   /* eyebrow/badge sobre fundo escuro */
  --muted-dark:     #9FBFB4;   /* label secundário sobre fundo escuro */
  --dark:           #0E2B26;   /* fundo escuro principal / headings */
  --darker:         #081D19;   /* topbar e footer */
  --card-dark:      #123830;   /* cards de depoimento */
  --light-alt:      #F5F7FB;   /* seção clara alternada */
  --white:          #FFFFFF;
  --text:           #475569;   /* corpo em fundo claro */
  --text-muted:     #64748B;
  --text-muted2:    #94A3B8;
  --line:           #E6E9F0;   /* borda sutil */
  --line2:          #EDF0F6;
  --grad: linear-gradient(135deg, #3FA98A, #1F6B57);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--dark);
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; }

a { color: var(--primary); }
a:hover { color: var(--primary); }

img { max-width: 100%; }

section[id] { scroll-margin-top: 88px; }

.wrap { max-width: var(--maxw); margin: 0 auto; }

/* eyebrow (label de seção em maiúsculas) */
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 14px;
}
.eyebrow.claro  { color: var(--primary-dark); }
.eyebrow.escuro { color: var(--accent-claro); }
.eyebrow.mute   { color: var(--text-muted2); }

.sec-title { font-size: 38px; letter-spacing: -.01em; margin: 0 0 16px; line-height: 1.15; }
.sec-title.branco { color: #fff; }
.sec-title.escuro { color: var(--dark); }

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: 16px 30px; font-size: 16px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--grad); color: var(--dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31,107,87,.35); color: var(--dark); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--darker); color: #8593AD; font-size: 13px;
  padding: 8px 5%; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-left  { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .tb-fone  { color: var(--primary); font-weight: 600; white-space: nowrap; }

/* ── Header / nav ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,30,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 179px; height: auto; display: block; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a {
  color: #E2E8F0; text-decoration: none; font-weight: 600; font-size: 15px;
}
.desktop-nav a:hover, .desktop-nav a.ativo { color: var(--primary); }
.menu-btn { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }

/* drawer mobile */
.mobile-nav { display: none; flex-direction: column; gap: 18px; padding: 20px 6%;
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: #E2E8F0; text-decoration: none; font-weight: 600; }
.mobile-nav a.cta { color: var(--dark); background: var(--primary); text-align: center; padding: 12px; border-radius: 999px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 100px 5% 120px;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(31,107,87,.35), transparent),
    radial-gradient(1000px 500px at 100% 20%, rgba(63,169,138,.25), transparent),
    var(--dark);
}
.hero .blob { position: absolute; border-radius: 50%; }
.hero .blob.a { width: 420px; height: 420px; top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(63,169,138,.18), transparent 70%);
  animation: floatBlob 9s ease-in-out infinite; }
.hero .blob.b { width: 380px; height: 380px; bottom: -140px; left: -60px;
  background: radial-gradient(circle, rgba(31,107,87,.2), transparent 70%);
  animation: floatBlob 11s ease-in-out infinite reverse; }
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
.hero-copy { animation: fadeUp .8s ease both; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(63,169,138,.1); border: 1px solid rgba(63,169,138,.35);
  color: var(--accent-claro); padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 26px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulseRing 1.8s infinite; }
.hero h1 { font-size: 54px; line-height: 1.08; color: #fff; margin: 0 0 24px; letter-spacing: -.02em; }
.hero h1 .grad { background: linear-gradient(135deg,#3FA98A,#8FD9BE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--text-muted2); max-width: 520px; margin: 0 0 36px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #fff; }
.hero-stats .lbl { font-size: 13px; color: var(--muted-dark); }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.float-card {
  position: absolute; bottom: -24px; left: -24px; background: var(--card-dark);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(63,169,138,.15); display: flex; align-items: center; justify-content: center; }
.float-card .t1 { color: #fff; font-weight: 700; font-size: 14px; }
.float-card .t2 { color: var(--muted-dark); font-size: 12px; }

/* placeholder de imagem (fotos pendentes) */
.img-slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, rgba(63,169,138,.12), rgba(31,107,87,.18));
  color: var(--muted-dark); font-size: 13px; font-weight: 600; padding: 16px;
  border: 1px dashed rgba(255,255,255,.18);
}
.img-slot.claro { background: #EAF0F4; color: #94A3B8; border-color: #D8DEE9; }
/* imagem real que ocupa o espaço do placeholder */
.ph-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Faixa de logos (marquee) ───────────────────────────────────────────── */
.logos { background: #fff; padding: 64px 5%; }
.logos .inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 34s linear infinite; }
.logo-card {
  flex-shrink: 0; width: 170px; height: 88px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; align-items: center; justify-content: center;
}
.logo-card img { max-width: 100%; max-height: 44px; object-fit: contain; }
.logo-card img.big { max-height: 60px; }

/* ── Seções genéricas ───────────────────────────────────────────────────── */
.sec { padding: 100px 5%; }
.sec.light { background: #fff; }
.sec.alt   { background: var(--light-alt); }
.sec.dark  { background: var(--dark); position: relative; overflow: hidden; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head p.lead { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* about */
.about-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo .img-slot { height: 440px; border-radius: 20px; }
.about-badge { position: absolute; bottom: -28px; right: -28px; background: var(--dark); border-radius: 18px; padding: 22px 26px; color: #fff; box-shadow: 0 24px 50px rgba(10,15,30,.35); }
.about-badge .n { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: var(--primary); }
.about-badge .l { font-size: 13px; color: var(--text-muted2); }
.about-copy p.txt { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0 0 20px; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 12px; }
.mini-stat { background: #fff; border-radius: 16px; padding: 22px 18px; border: 1px solid var(--line); }
.mini-stat .n { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: var(--dark); }
.mini-stat .l { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* grid de serviços/soluções (cards claros) */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.svc-card { background: var(--light-alt); border-radius: 20px; padding: 32px; border: 1px solid var(--line2); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,23,42,.08); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.svc-card h3 { font-size: 19px; color: var(--dark); margin: 0 0 12px; }
.svc-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* parceiros (estático) */
.partners { background: var(--light-alt); padding: 64px 5%; }
.partners .inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.partners .row { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 24px; height: 64px; display: flex; align-items: center; justify-content: center; }
.partner-card img { max-width: 130px; max-height: 34px; object-fit: contain; }

/* depoimentos */
.sec.dark .blob-soft { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(31,107,87,.18), transparent 70%); top: -200px; right: 10%; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; position: relative; }
.testi { background: var(--card-dark); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.testi .thumb { position: relative; }
.testi .thumb .img-slot { height: 180px; }
.testi .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,15,30,.25); pointer-events: none; }
.testi .play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; }
.testi .body { padding: 24px; }
.testi .quote { color: #CBD5E1; font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.testi .name { font-weight: 700; color: #fff; font-size: 14px; }
.testi .role { color: var(--muted-dark); font-size: 13px; }

/* blog */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.blog-head h2 { font-size: 34px; color: var(--dark); margin: 0; letter-spacing: -.01em; }
.blog-head a { color: var(--primary-dark); font-weight: 700; text-decoration: none; font-size: 15px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.blog-card { text-decoration: none; color: inherit; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; display: block; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,23,42,.08); }
.blog-card .img-slot { height: 180px; }
.blog-card .body { padding: 22px; }
.blog-card .date { color: var(--text-muted2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.blog-card h3 { font-size: 18px; color: var(--dark); margin: 0 0 10px; line-height: 1.35; }
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ── Bloco de contato (CTA card 2 colunas) ──────────────────────────────── */
.contact-card {
  max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr;
  border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(15,23,42,.12);
}
.contact-info { background: linear-gradient(150deg,#0E2B26,#1E2745); padding: 56px 44px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.contact-info h2 { font-size: 32px; margin: 0 0 16px; letter-spacing: -.01em; }
.contact-info .sub { color: var(--text-muted2); font-size: 16px; line-height: 1.6; }
.contact-lines { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(63,169,138,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line .k { font-size: 12px; color: var(--muted-dark); }
.contact-line .v { font-weight: 700; color: #fff; }
.contact-form { background: #fff; padding: 56px 44px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 10px; border: 1px solid #D8DEE9; font-size: 15px; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(63,169,138,.15); }
.field textarea { resize: vertical; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-btn { background: var(--grad); color: var(--dark); font-weight: 700; font-size: 16px; padding: 15px; border: none; border-radius: 12px; cursor: pointer; margin-top: 6px; }
.form-ok { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; min-height: 260px; }
.form-ok .check { width: 56px; height: 56px; border-radius: 50%; background: rgba(63,169,138,.15); display: flex; align-items: center; justify-content: center; }
.form-ok h3 { font-size: 22px; color: var(--dark); margin: 0; }
.form-ok p { color: var(--text-muted); font-size: 15px; margin: 0; }
.alerta { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 4px; }
.alerta-erro { background: #FDECEC; color: #B42318; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--darker); color: var(--text-muted2); padding: 64px 5% 0; }
.footer-stats { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-stats .n { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: #fff; }
.footer-stats .l { font-size: 13px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-brand .it { color: var(--primary); }
.footer-grid p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: 14px; margin: 0 0 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a, .footer-col span { color: var(--text-muted2); text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-copy { max-width: var(--maxw); margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--text-muted2); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-legal { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal a { color: var(--text-muted2); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ── Página interna: hero secundário ────────────────────────────────────── */
.hero-sub { background: radial-gradient(1000px 500px at 100% 0, rgba(63,169,138,.22), transparent), var(--dark); padding: 90px 5% 80px; text-align: center; }
.hero-sub h1 { font-size: 44px; color: #fff; margin: 0 auto 18px; max-width: 780px; line-height: 1.12; letter-spacing: -.02em; }
.hero-sub p { color: var(--text-muted2); font-size: 18px; max-width: 620px; margin: 0 auto; line-height: 1.6; }

/* ── Páginas internas: blocos ───────────────────────────────────────────── */
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.svc-card.lg { padding: 36px; }
.svc-card.lg h3 { font-size: 21px; }
.svc-list { margin: 18px 0 0; padding-left: 20px; color: var(--text); font-size: 14px; line-height: 2; }

.stats-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.stat-box { background: #fff; border-radius: 18px; padding: 32px 20px; border: 1px solid var(--line); text-align: center; }
.stat-box .n { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--dark); }
.stat-box .l { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.plain-card { background: var(--light-alt); border-radius: 20px; padding: 32px; border: 1px solid var(--line2); }
.plain-card.white { background: #fff; }
.plain-card h3 { font-size: 19px; color: var(--dark); margin: 0 0 12px; }
.plain-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.cta-band { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; color: #fff; margin: 0 0 10px; letter-spacing: -.01em; }
.cta-band p { color: var(--text-muted2); font-size: 16px; margin: 0; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.step { background: #fff; border-radius: 18px; padding: 28px 22px; border: 1px solid var(--line); }
.step .num { font-family: 'Space Grotesk', sans-serif; color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin: 0 0 8px; color: var(--dark); }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }

.sol-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 64px; align-items: center; max-width: var(--maxw); margin: 0 auto 100px; }
.sol-row.last { margin-bottom: 0; }
.sol-row h2 { font-size: 32px; color: var(--dark); margin: 0 0 20px; letter-spacing: -.01em; }
.sol-row p.txt { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 24px; }
.sol-row .link { color: var(--primary-dark); font-weight: 700; text-decoration: none; font-size: 15px; }
.sol-row .img-slot { height: 340px; border-radius: 20px; }

.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto 56px; }
.info-card { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,23,42,.06); }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(63,169,138,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; }
.info-card .k { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.info-card .v { color: var(--text-muted); font-size: 15px; }

.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.contact-box { background: #fff; border-radius: 24px; padding: 48px; border: 1px solid var(--line); }
.contact-box h2 { font-size: 26px; color: var(--dark); margin: 0 0 24px; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.map-box { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 280px; }
.map-box .img-slot { height: 100%; }
.hours { background: var(--dark); border-radius: 24px; padding: 36px; color: #fff; }
.hours h3 { font-size: 19px; margin: 0 0 14px; }
.hours .hrow { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #CBD5E1; }
.hours .hrow:last-child { border-bottom: 0; }
.field select { width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 10px; border: 1px solid #D8DEE9; font-size: 15px; font-family: inherit; background: #fff; }

/* ── Animações ──────────────────────────────────────────────────────────── */
@keyframes floatBlob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,30px) scale(1.08); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(63,169,138,.45); } 100% { box-shadow: 0 0 0 18px rgba(63,169,138,0); } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ── Artigo do blog (/blog/<slug>) ──────────────────────────────────────── */
.post-hero { padding-bottom: 120px; }
.post-hero h1 { max-width: 820px; }
.post-back { color: var(--primary); text-decoration: none; font-weight: 700; }
.post-back:hover { text-decoration: underline; }
.post-meta { color: var(--text-muted2); font-size: 15px; margin-top: 14px; }
.post-shell { background: #fff; }
.post-wrap { max-width: 780px; margin: 0 auto; padding: 0 24px 80px; }
.post-cover { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; display: block; margin-top: -90px; box-shadow: 0 30px 70px rgba(8,29,25,.35); }
.post-body { margin-top: 44px; color: #33413E; font-size: 18px; line-height: 1.75; }
.post-body > *:first-child { margin-top: 0; }
.post-body .lede { font-size: 21px; line-height: 1.6; color: var(--dark); font-weight: 500; }
.post-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 27px; color: var(--dark); letter-spacing: -.01em; margin: 44px 0 14px; line-height: 1.25; }
.post-body p { margin: 0 0 20px; }
.post-body ul { margin: 0 0 24px; padding-left: 4px; list-style: none; }
.post-body ul li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.post-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.post-body strong { color: var(--dark); font-weight: 700; }
.post-cta { margin-top: 54px; padding: 40px; border-radius: 22px; background: var(--dark); text-align: center; }
.post-cta h3 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 24px; margin: 0 0 8px; }
.post-cta p { color: var(--text-muted2); margin: 0 0 24px; font-size: 16px; }

/* ── Blog: toolbar, categorias, destaque, cards ricos ───────────────────── */
.blog-toolbar { max-width: var(--maxw); margin: 0 auto 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--dark); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .18s, color .18s, background .18s; }
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip span { font-size: 12px; font-weight: 700; background: var(--light-alt); color: var(--text-muted); border-radius: 999px; padding: 1px 8px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.on span { background: rgba(255,255,255,.25); color: #fff; }
.blog-count { color: var(--text-muted2); font-size: 14px; font-weight: 600; margin: 0; white-space: nowrap; }

.cat-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; text-decoration: none; margin-bottom: 14px; }
.cat-badge.float { position: absolute; top: 14px; left: 14px; margin: 0; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.cat-badge.on-dark { background: rgba(63,169,138,.18); color: var(--primary); border: 1px solid rgba(63,169,138,.45); }

.blog-card-media { position: relative; }
.post-card-meta { margin-top: 14px; color: var(--text-muted2); font-size: 13px; font-weight: 600; }
.dot-sep { color: var(--line2); margin: 0 5px; }

.post-featured { max-width: var(--maxw); margin: 0 auto 30px; display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: transform .2s, box-shadow .2s; }
.post-featured:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(15,23,42,.12); }
.post-featured-media { position: relative; min-height: 330px; }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-destaque { position: absolute; top: 16px; left: 16px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.post-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.post-featured-body h2 { font-size: 30px; color: var(--dark); margin: 0 0 14px; line-height: 1.22; letter-spacing: -.01em; }
.post-featured-body p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0; }

.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line2); }
.post-tags .tag { font-size: 13px; font-weight: 600; color: var(--primary-dark); background: var(--light-alt); padding: 6px 13px; border-radius: 999px; }
.post-hero .post-author { font-weight: 700; color: #fff; }

/* ── Páginas legais (/privacidade, /termos) ─────────────────────────────── */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; color: #33413E; font-size: 16.5px; line-height: 1.75; }
.legal-wrap > *:first-child { margin-top: 0; }
.legal-lead { font-size: 18px; color: var(--dark); font-weight: 500; line-height: 1.6; margin: 0 0 26px; }
.legal-wrap h2 { font-family: 'Space Grotesk', sans-serif; font-size: 23px; color: var(--dark); letter-spacing: -.01em; margin: 40px 0 12px; }
.legal-wrap h3 { font-size: 17px; color: var(--dark); margin: 24px 0 6px; }
.legal-wrap p { margin: 0 0 16px; }
.legal-wrap ul { margin: 0 0 18px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a { color: var(--primary-dark); font-weight: 600; }
.legal-wrap strong { color: var(--dark); font-weight: 700; }
.legal-box { background: var(--light-alt); border: 1px solid var(--line2); border-radius: 14px; padding: 20px 24px; margin: 6px 0 30px; font-size: 15px; line-height: 1.95; }
.legal-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line2); font-size: 13.5px; color: var(--text-muted2); font-style: italic; }

/* ── Aviso de cookies (LGPD) ────────────────────────────────────────────── */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 880px; margin: 0 auto; background: var(--dark); color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px 22px; display: flex; align-items: center; gap: 20px; box-shadow: 0 20px 55px rgba(0,0,0,.4); z-index: 1000; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted2); }
.cookie-bar a { color: var(--primary); font-weight: 600; text-decoration: none; }
.cookie-btn { flex-shrink: 0; background: var(--primary); color: #fff; border: none; border-radius: 999px; padding: 11px 24px; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; transition: background .18s; }
.cookie-btn:hover { background: var(--primary-dark); }

/* ── FAQ (accordion — home + página /faq) ───────────────────────────────── */
.btn-outline.escuro { color: var(--dark); border-color: var(--line); }
.btn-outline.escuro:hover { border-color: var(--primary); color: var(--primary-dark); }

.faq-home, .faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-wrap { padding: 56px 24px 20px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: rgba(63,169,138,.45); box-shadow: 0 10px 30px rgba(14,43,38,.06); }
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 17.5px; font-weight: 600; color: var(--dark); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-dark); }
.faq-q { flex: 1; }
.faq-ic {
  flex-shrink: 0; position: relative; width: 22px; height: 22px;
  border-radius: 50%; background: var(--light-alt); transition: transform .25s, background .18s;
}
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 2px; border-radius: 2px; background: var(--primary-dark);
  transform: translate(-50%,-50%); transition: opacity .2s;
}
.faq-ic::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-ic { background: var(--primary); transform: rotate(180deg); }
.faq-item[open] .faq-ic::before { background: #fff; }
.faq-item[open] .faq-ic::after { opacity: 0; }
.faq-a { padding: 0 24px 24px; }
.faq-a p {
  margin: 0; color: var(--text); font-size: 16px; line-height: 1.7;
  max-width: 68ch;
}
.faq-a a { display: inline-block; margin-top: 10px; color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

.faq-more { text-align: center; margin: 30px 0 0; }
.faq-more a { color: var(--primary-dark); font-weight: 700; text-decoration: none; font-size: 16px; }
.faq-more a:hover { text-decoration: underline; }

.faq-cta {
  text-align: center; margin: 46px auto 70px; max-width: 620px;
  padding: 44px 32px; background: var(--light-alt);
  border: 1px solid var(--line2); border-radius: 20px;
}
.faq-cta h2 { font-size: 26px; color: var(--dark); margin: 0 0 10px; }
.faq-cta p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.faq-cta .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Ouvidoria (toggle anônimo + campos opcionais) ──────────────────────── */
.field .opt { font-weight: 500; color: var(--text-muted2); font-size: 12px; }
.field .req { color: #C0392B; font-weight: 700; }
.form-foot { margin: 8px 0 0; font-size: 12.5px; color: var(--text-muted2); }
.form-foot .req { color: #C0392B; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--light-alt); border: 1px solid var(--line2); border-radius: 12px; cursor: pointer; }
.switch-title { display: block; font-size: 14.5px; font-weight: 700; color: var(--dark); }
.switch-hint { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; background: #CBD5E1; border-radius: 999px; transition: background .2s; }
.switch-slider::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .switch-slider { background: var(--primary); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }
.switch input:focus-visible + .switch-slider { box-shadow: 0 0 0 3px rgba(63,169,138,.35); }

.anon-fields { display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.anon-fields.hidden { display: none; }

/* ── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .cards-3, .testi-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid, .footer-stats { grid-template-columns: repeat(2,1fr); }
  .desktop-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .about-badge { right: 0; }
  /* páginas internas */
  .cards-2, .sol-row, .info-cards, .contact-page { grid-template-columns: 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-media { min-height: 220px; }
  .post-featured-body { padding: 32px; }
  .blog-toolbar { justify-content: flex-start; }
  .stats-4, .process-grid { grid-template-columns: repeat(2,1fr); }
  .sol-row.reverse .sol-media { order: 2; }
  .cta-band { justify-content: center; text-align: center; }
  .hero-sub h1 { font-size: 36px; }
}
@media (max-width: 620px) {
  .cards-3, .testi-grid, .blog-grid, .mini-stats { grid-template-columns: 1fr; }
  .stats-4, .process-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 5% 90px; }
  .sec { padding: 72px 5%; }
  .hero h1 { font-size: 34px; }
  .sec-title { font-size: 30px; }
  .contact-box { padding: 32px; }
  .post-wrap { padding: 0 18px 60px; }
  .post-cover { height: 210px; margin-top: -60px; }
  .post-body { font-size: 17px; }
  .post-body .lede { font-size: 19px; }
  .post-body h2 { font-size: 24px; }
  .post-cta { padding: 28px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .footer-copy { justify-content: center; text-align: center; }
  .faq-item summary { padding: 18px 18px; font-size: 16px; gap: 12px; }
  .faq-a { padding: 0 18px 20px; }
  .faq-cta { padding: 34px 22px; }
}
