/* ============================================================
   Proficio 360 — p360-site.css
   Identidade visual compartilhada com Cruz Carvalho Contabilidade
   Cores: #07519B · #FF6F3C · #FFD700
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #07519B;
  --blue-dark:  #054282;
  --blue-light: #e8f1fb;
  --orange:     #FF6F3C;
  --orange-lt:  #fff2ed;
  --yellow:     #FFD700;
  --bg:         #f5f7fa;
  --text:       #1a2a3a;
  --muted:      #4a5e73;
  --border:     #dce4ef;
  --white:      #ffffff;
  --nav-h:      72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAVBAR ───────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 16px rgba(7,81,155,.10);
  z-index: 1000;
  display: flex;
  align-items: center;
}

#navbar .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  column-gap: 1.5rem;
}

.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo img {
  height: 3rem;
  width: auto;
}

.nav-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-self: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-self: end;
}

/* itens simples */
.nav-menu > li > a {
  display: block;
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { background: var(--blue-light); color: var(--blue-dark); }

/* dropdown wrapper */
.nav-menu li.has-dropdown { position: relative; }

.nav-menu li.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}

.nav-menu li.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--blue);
  transition: transform .2s;
  flex-shrink: 0;
}

.nav-menu li.has-dropdown.open > a::after { transform: rotate(180deg); }

/* dropdown panel */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--white);
  border: .5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(7,81,155,.13);
  padding: .4rem;
  z-index: 100;
}

.nav-menu li.has-dropdown.open .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: .55rem .9rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--blue);
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--orange-lt); color: var(--orange); }

/* CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: #25D366;
  color: var(--white) !important;
  font-size: .86rem;
  font-weight: 700;
  border-radius: 7px;
  transition: background .15s;
  white-space: nowrap;
  margin-left: .5rem;
}
.btn-nav:hover { background: #1da855; }

/* nav icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: .25rem;
}
.nav-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--blue);
  font-size: 1rem;
  transition: background .15s;
}
.nav-icons a:hover { background: var(--blue-light); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────── */
#top {
  padding-top: var(--nav-h);
}

.hero {
  position: relative;
  min-height: 540px;
  background: linear-gradient(135deg, #054282 0%, #07519B 55%, rgba(255,111,60,.18) 100%);
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Caso tenha uma imagem de fundo futuramente, coloque o caminho abaixo */
  /* background: url('../logo/hero-bg.jpg') center/cover no-repeat; */
  background: radial-gradient(ellipse at 70% 50%, rgba(255,111,60,.12) 0%, transparent 65%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 6rem;
  max-width: 660px;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .9rem;
}

.hero-content h1 em { font-style: normal; color: var(--orange); }

.hero-content p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 8px;
  transition: background .15s, transform .15s;
}
.hero-btn:hover { background: #e55a28; transform: translateY(-2px); }

.hero-btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}
.hero-btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); transform: translateY(-2px); }

/* ── TRUST BAR ────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  min-height: 52px; /* evita CLS por font-swap */
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-items li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--blue);
}
.trust-items li::before { content: '✓'; color: var(--orange); font-size: .9rem; }

/* ── SECTION HELPERS ──────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }

.eyebrow {
  font-size: .7rem;
  font-weight: 700;
  color: #b84000; /* era var(--orange)/#FF6F3C — contraste insuficiente; #b84000 ≈ 5.2:1 no fundo branco */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--blue);
  margin-bottom: 2rem;
}

/* ── SOBRE ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

.about-text .section-title { margin-bottom: 1.25rem; }
.about-text .section-title::after {
  content: '';
  display: block;
  width: 52px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 10px;
}

.about-text p {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ── SERVIÇOS ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
}
.svc-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(255,111,60,.12);
  transform: translateY(-3px);
}

.svc-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.svc-icon.o { background: var(--orange-lt); }
.svc-icon.g { background: #edfbf3; }
.svc-icon.y { background: #fffbeb; }

.svc-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}

.svc-card p { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ── DIFERENCIAIS ─────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.diff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.diff-card:hover { border-color: var(--blue); transform: translateY(-3px); }

.diff-ico {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .85rem;
}

.diff-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}

.diff-card p { font-size: .83rem; color: var(--muted); line-height: 1.55; }

/* ── CONTATO ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }

.form-group { margin-bottom: .75rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7,81,155,.1);
}

.form-group textarea { min-height: 110px; resize: vertical; }

.btn-submit {
  width: 100%;
  padding: .8rem;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
}
.btn-submit:hover { background: #e55a28; }

.form-alert { display: none; padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .88rem; }
.form-alert.success { background: #dcfce7; color: #166534; display: block; }
.form-alert.error   { background: #fee2e2; color: #991b1b; display: block; }

.contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.contact-list { margin-bottom: 1.5rem; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--muted);
  padding: .5rem 0;
  border-bottom: .5px solid var(--border);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list li a { color: var(--blue); transition: color .15s; }
.contact-list li a:hover { color: var(--orange); }

.contact-list .ico {
  width: 20px; flex-shrink: 0;
  text-align: center;
  color: var(--orange);
  margin-top: .1rem;
}

.map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 260px; border: none; display: block; }

/* ── REDES SOCIAIS ────────────────────────────── */
.social-section {
  background: var(--blue);
  padding: 3rem 0;
  text-align: center;
}

.social-section .eyebrow { color: var(--yellow); }
.social-section .section-title { color: var(--white); margin-bottom: 1.5rem; }
.social-section p { color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 1.5rem; }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.4rem;
  transition: background .2s, transform .2s, color .2s;
  text-decoration: none;
}
.social-icon:hover { transform: scale(1.12); }
.social-icon.si-instagram:hover { background: #E4405F; color: var(--white); }
.social-icon.si-facebook:hover  { background: #1877F2; color: var(--white); }
.social-icon.si-whatsapp:hover  { background: #25D366; color: var(--white); }

/* Font Awesome icon sizing fix */
.nav-icons a i,
.footer-social a i { font-size: 1rem; line-height: 1; }
.social-icon i { font-size: 1.4rem; line-height: 1; }
.btn-nav i { font-size: .9rem; margin-right: .3rem; }

/* ── CTA FINAL ────────────────────────────────── */
.cta-final {
  background: var(--white);
  border-top: 4px solid var(--yellow);
  padding: 3rem 0;
}

.cta-final .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-final h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: .35rem;
}

.cta-final p { font-size: .9rem; color: var(--muted); }

.cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  border-radius: 8px;
  transition: background .15s;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}
.btn-blue:hover { background: var(--blue-dark); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.4rem;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  border-radius: 8px;
  transition: background .15s;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}
.btn-wa:hover { background: #1da855; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: #0a2547;
  border-top: 4px solid var(--orange);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange); }

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }

footer p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  margin-top: 1.25rem;
  text-align: center;
}

/* ── POPUP DE CONSENTIMENTO DE COOKIES (estilo Cookiebot) ── */
#p360-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,37,71,.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
#p360-cookie-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* Janela principal */
.cookie-popup {
  background: var(--white);
  border-radius: 10px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  transform: translateY(18px) scale(.98);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
#p360-cookie-overlay.visible .cookie-popup {
  transform: translateY(0) scale(1);
}

/* Cabeçalho */
.cpop-header {
  display: flex;
  align-items: center;
  padding: .8rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cpop-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.cpop-logo i { color: var(--orange); font-size: 1rem; }

/* Abas */
.cpop-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cpop-tab {
  flex: 1;
  padding: .65rem .5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.cpop-tab:hover  { color: var(--text); }
.cpop-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Painéis */
.cpop-panel {
  display: none !important;
  padding: 1.1rem 1.25rem 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.cpop-panel.active { display: block !important; }
.cpop-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.cpop-desc {
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

/* Grid de categorias (aba Consentir) */
.cpop-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem .25rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
}
.cpop-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .4rem .25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .73rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Toggle (popup) */
.cpop-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
  flex-shrink: 0;
}
.cpop-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cpop-toggle-slider {
  position: absolute;
  inset: 0;
  background: #cdd5e0;
  border-radius: 22px;
  transition: background .2s;
}
.cpop-toggle-slider::before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.cpop-toggle input:checked  + .cpop-toggle-slider          { background: var(--blue); }
.cpop-toggle input:checked  + .cpop-toggle-slider::before  { transform: translateX(18px); }
.cpop-toggle input:disabled + .cpop-toggle-slider          { background: var(--blue); opacity: .8; cursor: not-allowed; }
.cpop-toggle input:disabled + .cpop-toggle-slider::before  { transform: translateX(18px); }
.cpop-toggle-locked { cursor: not-allowed; }

/* Acordeão (aba Detalhes) */
.cpop-detail-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: .5rem;
  overflow: hidden;
}
.cpop-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .85rem;
  cursor: pointer;
  gap: .75rem;
  background: var(--bg);
  user-select: none;
}
.cpop-detail-header:hover { background: var(--blue-light); }
.cpop-detail-left {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1;
}
.cpop-detail-chevron {
  font-size: .65rem;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}
.cpop-detail-item.open .cpop-detail-chevron { transform: rotate(90deg); }
.cpop-detail-name {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}
.cpop-detail-count { font-size: .72rem; color: var(--muted); }
.cpop-detail-body  { display: none; border-top: 1px solid var(--border); }
.cpop-detail-item.open .cpop-detail-body { display: block; }

.cpop-detail-table { width: 100%; border-collapse: collapse; }
.cpop-detail-table th {
  background: #f8fafc;
  padding: .38rem .75rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .69rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cpop-detail-table td {
  padding: .4rem .75rem;
  font-size: .77rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.cpop-detail-table td:first-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--blue-dark);
  white-space: nowrap;
}

/* Aba Sobre */
.cpop-about-text { font-size: .82rem; color: var(--muted); line-height: 1.7; }
.cpop-about-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text);
  margin: .9rem 0 .25rem;
}
.cpop-about-text h4:first-child { margin-top: 0; }
.cpop-about-text a { color: var(--blue); text-decoration: underline; }
.cpop-about-text a:hover { color: var(--orange); }

/* Rodapé com os três botões */
.cpop-footer {
  display: flex;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.cpop-btn-deny,
.cpop-btn-selection {
  flex: 1;
  padding: .62rem .4rem;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.cpop-btn-deny:hover      { border-color: #c0392b; color: #c0392b; }
.cpop-btn-selection:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.cpop-btn-all {
  flex: 1.4;
  padding: .62rem .75rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.cpop-btn-all:hover { background: var(--blue-dark); }

@media (max-width: 500px) {
  .cpop-categories { grid-template-columns: repeat(2, 1fr); gap: .75rem .5rem; }
  .cpop-footer { flex-wrap: wrap; }
  .cpop-btn-deny, .cpop-btn-selection { flex: 1 0 calc(50% - .25rem); }
  .cpop-btn-all { flex: 1 0 100%; order: -1; }
}

/* ── PAINEL DE GERENCIAMENTO DE CONSENTIMENTO ──── */

/* Status atual */
.consent-status-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--blue-light);
  border-radius: 12px;
  border-left: 4px solid var(--blue);
  margin-bottom: 1.5rem;
}
.consent-status-card .cs-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.consent-status-card .cs-info { flex: 1; }
.consent-status-card .cs-info strong { display: block; font-size: .92rem; color: var(--blue-dark); }
.consent-status-card .cs-info span  { font-size: .8rem; color: var(--muted); }
.consent-status-card.no-consent { background: #fff8f0; border-color: var(--orange); }

/* Cartão de categoria */
.consent-category {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: .85rem;
  overflow: hidden;
}
.consent-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
  cursor: default;
}
.consent-category-meta {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  flex: 1;
}
.consent-category-meta .cc-icon {
  font-size: 1.3rem;
  margin-top: .1rem;
  flex-shrink: 0;
}
.consent-category-meta strong { display: block; font-size: .92rem; color: var(--text); margin-bottom: .2rem; }
.consent-category-meta p       { font-size: .81rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Badge "Sempre ativo" */
.consent-badge-always {
  font-size: .72rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #1e8a4a;
  background: #e6f7ee;
  padding: .3rem .7rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle switch */
.consent-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.consent-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.consent-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: background .2s;
}
.consent-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.consent-toggle input:checked + .consent-toggle-slider { background: var(--blue); }
.consent-toggle input:checked + .consent-toggle-slider::before { transform: translateX(20px); }
.consent-toggle input:focus-visible + .consent-toggle-slider { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Botão "Ver cookies" */
.consent-details-toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1.25rem .65rem;
  font-size: .78rem;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.consent-details-toggle i { font-size: .7rem; transition: transform .2s; }
.consent-details-toggle.open i { transform: rotate(180deg); }

/* Tabela de cookies */
.consent-cookies-table {
  display: none;
  width: 100%;
  border-top: 1.5px solid var(--border);
  font-size: .79rem;
}
.consent-cookies-table.visible { display: table; }
.consent-cookies-table th {
  background: var(--bg);
  padding: .5rem .75rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
.consent-cookies-table td {
  padding: .55rem .75rem;
  color: var(--text);
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.consent-cookies-table tr:last-child td { border-bottom: none; }
.consent-cookies-table td:first-child { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--blue-dark); white-space: nowrap; }

/* Ações do painel */
.consent-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.consent-save-btn {
  padding: .75rem 1.75rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.consent-save-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.consent-revoke-btn {
  padding: .75rem 1.25rem;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.consent-revoke-btn:hover { border-color: #c0392b; color: #c0392b; }
.consent-saved-msg {
  display: none;
  margin-top: .85rem;
  padding: .6rem 1rem;
  background: #e6f7ee;
  color: #1e8a4a;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
}
.consent-saved-msg.visible { display: block; }

/* Responsivo */
@media (max-width: 600px) {
  .consent-category-header { flex-wrap: wrap; gap: .6rem; }
  .consent-cookies-table th:nth-child(3),
  .consent-cookies-table td:nth-child(3) { display: none; }
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .services-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: .1rem;
  }

  body.nav-open .nav-menu { display: flex; }

  .nav-menu > li > a { font-size: .95rem; padding: .6rem .75rem; width: 100%; }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    border-radius: 8px;
    margin: .25rem 0 .25rem .5rem;
    padding: .25rem;
  }

  .btn-nav { margin: .5rem 0 0; }
  .nav-icons { display: none; }

  .cta-final .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
  .diff-grid { grid-template-columns: 1fr; }
  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .hero .container { padding: 2.5rem 1.5rem; }
}

/* ══════════════════════════════════════════════════
   PÁGINAS DE SERVIÇO — hero interno, cards, FAQ
   ══════════════════════════════════════════════════ */

/* Espaçador para navbar fixa */
.p360-page-spacer { height: var(--nav-h); }

/* ── Hero interno ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #054282 0%, #07519B 60%, #0a6bc2 100%);
  padding: 4.5rem 0 0;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.page-breadcrumb a {
  color: rgba(255,255,255,.6);
  font-size: .83rem;
  text-decoration: none;
  transition: color .15s;
}
.page-breadcrumb a:hover { color: rgba(255,255,255,.9); }
.page-breadcrumb .sep { color: rgba(255,255,255,.3); font-size: .8rem; }
.page-breadcrumb .current { color: var(--yellow); font-size: .83rem; font-weight: 600; }

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
  padding-bottom: .5rem;
}

.page-hero p.subtitle {
  color: rgba(255,255,255,.65);
  font-size: .97rem;
  margin: 0;
  padding-bottom: 2.5rem;
  max-width: 640px;
  line-height: 1.75;
}

.page-hero-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

/* ── Conteúdo interno ─────────────────────────── */
.page-content {
  background: var(--bg);
  padding: 3.5rem 0 4rem;
}

/* Badge de contexto */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  border: 1px solid #b5d4f4;
  border-radius: 8px;
  padding: 7px 14px;
  margin-bottom: 1.75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  font-family: 'Open Sans', sans-serif;
}

/* Card principal */
.page-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 24px rgba(7,81,155,.07);
  max-width: 880px;
  margin: 0 auto;
}

.page-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--blue-light);
}

.page-card-icon {
  width: 50px; height: 50px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.page-card-icon.o { background: var(--orange-lt); }
.page-card-icon.g { background: #edfbf3; }

.page-card-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue);
  margin: 0 0 3px;
}
.page-card-header p {
  font-size: .83rem;
  color: var(--muted);
  margin: 0;
}

/* Intro */
.page-intro {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* Label de seção */
.page-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-lt);
  border: 1px solid #ffd0bc;
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

/* Seções internas */
.svc-section { margin-bottom: 1.75rem; }

.svc-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: .55rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-section h3::before {
  content: '';
  display: inline-block;
  width: 4px; height: 16px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.svc-section p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.svc-section ul {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.8;
  margin: .5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.svc-section ul li { margin-bottom: 4px; }

.svc-divider {
  border: none;
  border-top: 1px solid var(--blue-light);
  margin: 1.75rem 0;
}

/* Card extra */
.svc-extra-card {
  background: var(--blue-light);
  border: 1px solid #b5d4f4;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.75rem;
}
.svc-extra-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  margin-bottom: .5rem;
}
.svc-extra-card ul {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.25rem;
  margin: 0;
  list-style: disc;
}
.svc-extra-card ul li { margin-bottom: 3px; }

/* Rodapé do card */
.page-card-footer {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--blue-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-card-footer p {
  font-size: .86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.page-card-footer a { color: var(--orange); font-weight: 600; }
.page-card-footer a:hover { text-decoration: underline; }

/* ── FAQ ──────────────────────────────────────── */
.faq-section { padding: 3rem 0; }
.faq-section .section-title { margin-bottom: 1.5rem; }

.faq-list { max-width: 880px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue);
  text-align: left;
  transition: background .15s;
}
.faq-question:hover { background: var(--blue-light); }

.faq-question .faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .25s, background .15s;
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.1rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ── Serviços relacionados ────────────────────── */
.related-services { padding: 3rem 0 4rem; background: var(--white); }
.related-services .section-title { margin-bottom: 1.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
}

.related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(255,111,60,.1);
  transform: translateY(-2px);
}

.related-card-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.related-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .2rem;
}
.related-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.related-card .rel-link {
  display: inline-block;
  margin-top: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange);
}

/* ── CTA final subpáginas ─────────────────────── */
.p360-cta-final {
  background: var(--white);
  border-top: 4px solid var(--yellow);
  padding: 3rem 0;
}
.p360-cta-final .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.p360-cta-final h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: .35rem;
}
.p360-cta-final p { font-size: .9rem; color: var(--muted); margin: 0; }
.p360-cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── Responsive subpáginas ────────────────────── */
@media (max-width: 768px) {
  .page-card { padding: 1.5rem; }
  .p360-cta-final .container { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .page-hero { padding: 3rem 0 0; }
}
