/* ===== Custom Fonts ===== */
@font-face {
  font-family: "TrajanPro";
  src: url("./fonts/TrajanPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TrajanPro";
  src: url("./fonts/TrajanPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: bold;
}

 :root {
    --navy-900: #0B2E4F;
    --navy-800: #123C63;
    --navy-050: #EEF3F7;
    --gold-500: #C89B3C;
    --gold-100: #F3E7CB;
    --paper: #F7F6F3;
    --surface: #FFFFFF;
    --ink: #132433;
    --ink-soft: #4A5D6C;
    --line: #E1DFD9;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow: 0 16px 35px -20px rgba(11,46,79,0.3);
    --maxw: 1180px;
  }
  
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: 17px; 
    -webkit-font-smoothing: antialiased;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy-900);
    margin: 0;
  }
  
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img, video { max-width: 100%; display: block; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
 
  /* ---------- Topbar ---------- */
  .topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247,246,243,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }

  .topbar .wrap {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px; padding-bottom: 10px;
  }

  .brand { 
    display: flex; align-items: center; gap: 12px; 
    text-decoration: none;
  }

  .brand-text {
    display: flex; flex-direction: column; gap: 2px;
  }

  .brand-title {
    font-family: 'TrajanPro', sans-serif;
    font-weight: 870;
    color: var(--navy-900);
    font-size: 17px;
    letter-spacing: -0.01em;
    line-height: 1.1;
  }
  
  .brand-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--navy-900);
    line-height: 1;
  }

  .top-cta {
    display: flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff;
    padding: 8px 16px; border-radius: 999px;
    font-size: 16px; font-weight: 600;
    transition: background .2s ease, transform .2s ease;
  }
  .top-cta:hover { background: #1DA851; transform: translateY(-1px); }
  .top-cta svg { width: 18px; height: 18px; }

  /* ---------- Eyebrow ---------- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--navy-800); background: var(--navy-050);
    border: 1px solid #D7E2EA; padding: 6px 14px; border-radius: 999px;
  }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
 
  /* ---------- Eyebrow celular ---------- */
  .eyebrow2 {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--navy-800); background: var(--navy-050);
    border: 1px solid #D7E2EA; padding: 6px 14px; border-radius: 999px;
    display: none; /* Inicialmente escondido, será mostrado em telas menores */
  }
  .dot2 { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); display: none; /* Inicialmente escondido, será mostrado em telas menores */ }

  /* ---------- Seção 1: Hero ---------- */
  section.hero { padding: 48px 0 64px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
  .hero h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.15; margin-top: 16px; }
  .hero h1 im { font-style: italic; font-weight: 500; font-size: 36px; }
  .hero .sub { margin-top: 56px; font-size: 24px; color: var(--ink-soft); max-width: 48ch; line-height: 1.45; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
  .btn-primary {
    background: #25D366; color: #fff; padding: 14px 26px; border-radius: 10px;
    font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px;
    border: none; cursor: pointer; transition: transform .2s ease, background .2s ease;
  }
  .btn-primary:hover { background: #1DA851; transform: translateY(-2px); }
  .btn-primary svg { width: 22px; height: 22px; }
  
  .video-panel {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/5; box-shadow: var(--shadow);
    background: linear-gradient(160deg, var(--navy-900) 0%, #1A4A73 55%, var(--gold-500) 165%);
    display: block;
  }
  .video-panel .video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .video-frame { position: absolute; inset: 0; }
  .video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
  .play-btn {
    position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.95); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25); transition: transform .2s ease;
  }
  .play-btn:hover { transform: scale(1.06); }
  .play-btn svg { width: 26px; height: 26px; margin-left: 4px; color: var(--navy-900); }
 
  /* ---------- Seção 2: Sobre & Cards ---------- */
  section.about { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .about-head { max-width: 800px; }
  .about-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-top: 16px; line-height: 1.2; }
  .about-head p { margin-top: 16px; color: var(--ink-soft); font-size: 19px; line-height: 1.5; }
  
  .fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .fact {
    display: flex; flex-direction: column; gap: 12px;
    padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  }
  .fact-icon {
    width: 48px; height: 48px; border-radius: 10px; background: var(--navy-050);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .fact-icon svg { width: 24px; height: 24px; color: var(--navy-900); }
  .fact h4 { font-weight: 800; font-size: 20px; color: var(--navy-900); }
  .fact p { font-size: 16px; color: var(--ink-soft); line-height: 1.5; }
 
  /* Callout Trabalhista */
  .labor-callout {
    margin-top: 40px; background: var(--navy-050); border: 1px solid #D7E2EA;
    border-radius: var(--radius-lg); padding: 36px 32px;
  }
  .labor-callout-head h3 { font-size: clamp(22px, 2.5vw, 28px); margin-top: 12px; color: var(--navy-900); }
  .labor-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
  .labor-item h4 { font-weight: 800; font-size: 18px; color: var(--navy-900); margin-bottom: 8px; }
  .labor-item p { font-size: 16px; color: var(--ink-soft); line-height: 1.5; }

  /* Tipos de Acidente */
  .accident-types {
    margin-top: 32px;
    padding: 36px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }
  .accident-types h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    color: var(--navy-900);
    text-align: center;
    margin-bottom: 28px;
  }
  .types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  .type-card {
    text-align: center;
    padding: 20px 16px;
    background: var(--paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
  }
  .type-card svg {
    width: 36px; height: 36px; color: var(--gold-500); margin-bottom: 12px;
  }
  .type-card h4 {
    font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px;
  }
  .type-card p {
    font-size: 15px; color: var(--ink-soft); line-height: 1.45;
  }
 
  /* ---------- Seção FAQ (Duas colunas compactas) ---------- */
  section.faq { padding: 64px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .faq-head { text-align: center; max-width: 800px; margin: 0 auto 32px; }
  .faq-head h2 { font-size: clamp(26px, 3.5vw, 33px); line-height: 1.2; }
  
  .faq-list { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px; 
    align-items: start; 
  }
  
  .faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .faq-item summary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy-900);
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::before {
    content: '▶';
    font-size: 12px;
    color: var(--gold-500);
    margin-right: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .faq-item[open] summary::before { transform: rotate(90deg); }
  .faq-answer {
    padding: 0 20px 20px 42px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.5;
  }
  .faq-answer ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
  }
  .faq-answer li {
    margin-bottom: 5px;
  }

  /* ---------- Seção 3: CTA ---------- */
  section.cta { padding: 64px 0; background: var(--navy-900); position: relative; overflow: hidden; }
  section.cta::before {
    content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, rgba(200,155,60,0.22), transparent 70%);
  }
  .cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
  .cta h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; margin-top: 16px; }
  .cta .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--gold-100); }
  .cta .sub { color: #C6D3DD; margin-top: 16px; font-size: 19px; max-width: 48ch; line-height: 1.5; }
  
  .trust-row { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
  .trust-item { display: flex; align-items: center; gap: 10px; color: #DCE6EC; font-size: 16px; font-weight: 500; }
  .trust-item svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }
 
  .cta-card {
    background: var(--surface); border-radius: var(--radius-lg); padding: 36px 30px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
  }
  .cta-card h3 { font-size: 24px; margin-bottom: 10px; }
  .cta-card p.lead { color: var(--ink-soft); font-size: 17px; margin-bottom: 24px; line-height: 1.45; }
  .cta-card .wa-icon {
    width: 56px; height: 56px; border-radius: 12px; background: #E8F8EE;
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  }
  .cta-card .wa-icon svg { width: 28px; height: 28px; color: #1DA851; }
  .btn-whatsapp {
    width: 100%; justify-content: center;
    background: #25D366; color: #fff; padding: 15px 24px; border-radius: 10px;
    font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px;
    border: none; cursor: pointer; transition: transform .2s ease, background .2s ease;
  }
  .btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }
  .btn-whatsapp svg { width: 22px; height: 22px; }
  .fine { font-size: 14px; color: #8B99A3; margin-top: 16px; text-align: center; }
 
  /* ==========================================================================
   FOOTER (RODAPÉ)
   ========================================================================== */
.site-footer {
  background-color:var(--navy-900); /* Fundo azul bem escuro da imagem */
  color: #C6D3DD;
  padding: 0px 0 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.site-footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  border-top: 1px solid #202634; /* Linha sutil separando as áreas */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding-top: 50px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 500px;
}

.footer-logo {
  border: 1px solid #2a303c;
  padding: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  opacity: 0.8; /* Dá o tom prateado discreto da imagem */
}

.footer-desc p {
  margin: 0 0 6px 0;
  line-height: 1.5;
  color: #C6D3DD;
}

.oab-text {
  color: #c49950; /* Dourado */
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--navy-800); /* Fundo discreto das redes sociais */
  color: #C6D3DD;
  border-radius: 12px; /* Cantos arredondados como na imagem */
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(#042d51);
  color: #ffffff;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #202634; /* Linha sutil separando as áreas */
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-logo {
  height: 28px; /* Ajuste conforme o tamanho da sua logo (Valter Goes) */
  filter: grayscale(100%) opacity(0.8);
  transition: opacity 0.3s ease;
}

.dev-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ==========================================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* Responsividade (Celular) */

  
@media (max-width: 860px) {

  body { font-size: 16px; } 
    .brand img {
    width: 50px; /* Reduz o tamanho do logo em telas menores */
    height: auto;
  }

  .brand-text {
    display: none; /* Oculta o texto da marca em telas menores */
  }

  .topbar .top-cta {
    padding: 6px 12px;
    font-size: 14px;
    gap: 6px;
  }
  
  .topbar .top-cta svg {
    width: 16px;
    height: 16px;
  }
    section.hero { padding-top: 15px; }
    .hero-text-col { text-align: center;}
    .hero-text-col h1 { margin-top: 0;}
    .hero-grid, .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: clamp(31px, 6vw, 40px); }
    .hero h1 im { font-size: 24px; }
    .hero .sub { font-size: 20px; margin-top: 28px; text-align: left;}
    .eyebrow {display: none;}
    .eyebrow2 {display: flex; max-width: 270px; margin-left: 15px; margin-bottom: 20px;}
    .dot2 {display: block;}
    .fact-list { grid-template-columns: 1fr; }
    .labor-items { grid-template-columns: 1fr; gap: 20px; }
    .faq-list { grid-template-columns: 1fr; }

    .hero-actions { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    margin-top: 18px;
  }
    .video-panel { aspect-ratio: 16/10; order: -1;}
    .about, .faq, .cta { padding: 48px 0; }
    .labor-callout { padding: 28px 20px; }
    .accident-types { padding: 28px 20px; }
    .cta-card { padding: 28px 20px; }
    .faq-answer { padding: 0 16px 20px 16px; font-size: 15px; }
    .faq-item summary { font-size: 16px; padding: 14px 16px; }
    footer .wrap { justify-content: center; text-align: center; }
    .footer-info { align-items: center; }
    .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-top {
    justify-content: center;
    align-items: center;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .cta-card .btn-whatsapp{
    font-size: 16px;
    text-wrap: nowrap;
  }
}