/*
Theme Name: CEADV — Eduardo Cardoso Advogados
Theme URI: https://ceadv.com.br
Author: Eduardo Cardoso Advogados & Associados
Author URI: https://ceadv.com.br
Description: Tema temporário da homepage do escritório CEADV — Eduardo Cardoso Advogados & Associados. Paleta institucional com azul naval, bordô e dourado.
Version: 1.0
License: Privado
Tags: law, advocacia, one-page
*/


    /* ============================================================
       TOKENS — CEADV (paleta da logomarca)
       Azul naval:  #1C2654
       Bordô:       #6B1A1A
       Dourado:     #A08428  →  gradient metálico #C9A84C / #8B6914
    ============================================================ */
    :root {
      --gold:         #A08428;
      --gold-light:   #C9A84C;
      --gold-dark:    #7A6010;
      --navy:         #1A2354;
      --navy-dark:    #121840;
      --burgundy:     #6B1A1A;
      --burgundy-dark:#4A1010;
      --dark-gray:    #2C2C2C;
      --light-black:  #1A2354;   /* header/footer → azul naval */
      --off-black:    #121840;   /* mobile menu → navy escuro  */
      --white:        #ffffff;
      --gray:         #666666;
      --bg-section:   #F4F3EF;   /* creme levemente quente */
      --border-light: #DDD8CC;
    }

    /* ============================================================
       RESET / BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Barlow', sans-serif;
      background: var(--white);
      color: var(--dark-gray);
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

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

    /* ============================================================
       UTILITÁRIOS
    ============================================================ */
    .text-gold    { color: var(--gold) !important; }
    .text-white   { color: var(--white) !important; }
    .text-gray    { color: var(--gray) !important; }
    .bg-gold      { background: var(--gold); }
    .bg-dark      { background: var(--dark-gray); }
    .bg-black     { background: var(--navy); }
    .bg-off-black { background: var(--navy-dark); }
    .bg-light     { background: var(--bg-section); }

    .spacer-10  { height: 10px; }
    .spacer-20  { height: 20px; }
    .spacer-40  { height: 40px; }
    .spacer-60  { height: 60px; }
    .spacer-80  { height: 80px; }
    .spacer-100 { height: 100px; }

    /* ============================================================
       HEADER / NAV
    ============================================================ */
    #site-header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      background: var(--navy);
      border-bottom: 2px solid var(--gold-dark);
      transition: all 0.3s ease;
    }

    #site-header.scrolled {
      box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 0;
    }

    .header-logo img {
      height: 44px;
      width: auto;
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 0;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .header-nav li a {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      padding: 8px 16px;
      display: block;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .header-nav li a:hover {
      color: var(--gold-light);
      border-bottom-color: var(--gold);
    }

    .header-cta {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: var(--gold);
      color: var(--white);
      padding: 10px 22px;
      border: 2px solid var(--gold);
      transition: all 0.2s;
      margin-left: 16px;
    }

    .header-cta:hover {
      background: transparent;
      color: var(--gold);
    }

    /* Mobile hamburger */
    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      flex-direction: column;
      gap: 5px;
    }

    .hamburger-btn span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--gold);
      transition: all 0.3s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: var(--navy-dark);
      z-index: 999;
      padding: 80px 32px 40px;
      flex-direction: column;
      gap: 0;
    }

    .mobile-menu.open { display: flex; }

    .mobile-menu a {
      font-family: 'Barlow', sans-serif;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.8);
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      display: block;
    }

    .mobile-menu a:hover { color: var(--gold); }

    .mobile-menu-close {
      position: absolute;
      top: 20px; right: 24px;
      background: none;
      border: none;
      color: var(--gold-light);
      font-size: 28px;
      cursor: pointer;
    }

    .mobile-menu .mobile-cta {
      margin-top: 32px;
      background: linear-gradient(90deg, var(--navy) 0%, var(--burgundy) 100%);
      border: 1px solid var(--gold-dark);
      color: var(--white);
      text-align: center;
      padding: 16px;
      font-size: 13px;
    }

    /* ============================================================
       HERO
    ============================================================ */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: flex-end;
      padding-bottom: 80px;
      overflow: hidden;
      background: var(--navy-dark);
    }

    @keyframes kenburns {
      0%   { transform: scale(1.0) translate(0, 0); }
      33%  { transform: scale(1.06) translate(-1%, 1%); }
      66%  { transform: scale(1.04) translate(1%, -1%); }
      100% { transform: scale(1.0) translate(0, 0); }
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('https://ceadv.com.br/wp-content/uploads/2026/06/Gemini_Generated_Image_2khclw2khclw2khc-scaled-1.png');
      background-size: cover;
      background-position: center 20%;
      background-repeat: no-repeat;
      filter: saturate(0.9);
      animation: kenburns 18s ease-in-out infinite;
      transform-origin: center center;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(26,35,84,0.75) 0%, rgba(26,35,84,0.1) 60%, rgba(107,26,26,0.65) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.82) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-tag {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }

    .hero-tag::before {
      content: '';
      width: 40px;
      height: 1px;
      background: var(--gold);
    }

    .hero-title {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(38px, 5vw, 72px);
      font-weight: 800;
      line-height: 1.05;
      color: var(--white);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: -0.01em;
    }

    .hero-title em {
      font-style: italic;
      font-weight: 300;
      color: var(--gold);
    }

    .hero-subtitle {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(14px, 1.5vw, 17px);
      font-weight: 400;
      line-height: 1.7;
      color: rgba(255,255,255,0.75);
      max-width: 520px;
      margin-bottom: 40px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .btn-primary-gold {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: var(--gold);
      color: var(--white);
      padding: 14px 32px;
      border: 2px solid var(--gold);
      display: inline-block;
      transition: all 0.2s;
    }

    .btn-primary-gold:hover {
      background: transparent;
      color: var(--gold);
    }

    .btn-outline-gold {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: transparent;
      color: var(--white);
      padding: 14px 32px;
      border: 2px solid rgba(255,255,255,0.4);
      display: inline-block;
      transition: all 0.2s;
    }

    .btn-outline-gold:hover {
      border-color: var(--gold);
      color: var(--gold);
    }

    .hero-stats {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 40%, var(--burgundy) 100%);
      z-index: 2;
    }

    .hero-stats-inner {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

    .stat-item {
      padding: 22px 32px;
      border-right: 1px solid rgba(255,255,255,0.2);
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .stat-item:last-child { border-right: none; }

    .stat-number {
      font-family: 'Barlow', sans-serif;
      font-size: 28px;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
    }

    .stat-label {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      line-height: 1.4;
    }

    /* ============================================================
       SOBRE — SECTION
    ============================================================ */
    #sobre {
      padding: 100px 0;
      background: var(--white);
      border-top: 4px solid #1A2354;
    }

    .section-label {
      font-family: 'Barlow', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }

    .section-label::before {
      content: '';
      width: 32px;
      height: 1px;
      background: var(--gold);
    }

    .section-title {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(30px, 3.5vw, 48px);
      font-weight: 800;
      line-height: 1.1;
      color: var(--dark-gray);
      text-transform: uppercase;
      margin-bottom: 0;
    }

    .section-title em {
      font-style: italic;
      font-weight: 300;
      color: var(--navy);
      opacity: 0.45;
    }

    .sobre-text {
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.8;
      color: var(--gray);
    }

    .sobre-text p:first-child {
      border-left: 3px solid var(--burgundy);
      padding-left: 20px;
      margin-left: -20px;
    }

    .sobre-text p { margin-bottom: 20px; }
    .sobre-text p:last-child { margin-bottom: 0; }

    .sobre-photo-wrap {
      position: relative;
    }

    .sobre-photo-wrap img {
      width: 100%;
      height: 560px;
      object-fit: cover;
      object-position: center top;
    }

    .sobre-photo-badge {
      position: absolute;
      bottom: -24px;
      left: -24px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--burgundy) 100%);
      border-left: 4px solid var(--gold);
      padding: 24px 28px;
      max-width: 220px;
    }

    .sobre-photo-badge .badge-name {
      font-family: 'Barlow', sans-serif;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--white);
      display: block;
      margin-bottom: 4px;
    }

    .sobre-photo-badge .badge-oab {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 400;
      color: rgba(255,255,255,0.75);
      letter-spacing: 0.06em;
    }

    /* ============================================================
       SERVIÇOS
    ============================================================ */
    #servicos {
      padding: 100px 0;
      background: var(--navy);
    }

    #servicos .section-title { color: var(--white); }
    #servicos .section-title em { color: rgba(201,168,76,0.5); }

    /* Services section: burgundy accent on left edge */
    #servicos {
      border-left: 0;
      position: relative;
    }
    #servicos::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 5px;
      height: 100%;
      background: linear-gradient(to bottom, var(--navy) 0%, var(--burgundy) 100%);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1px;
      background: rgba(255,255,255,0.08);
      margin-top: 60px;
    }

    .service-card {
      background: var(--navy);
      padding: 40px 36px;
      border: 1px solid rgba(255,255,255,0.09);
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
    }

    .service-card::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 2px;
      background: var(--gold);
      transition: width 0.35s ease;
    }

    .service-card:hover::before { width: 100%; }

    .service-card:hover {
      background: rgba(160,132,40,0.1);
    }

    .service-number {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: var(--gold);
      opacity: 0.6;
      margin-bottom: 20px;
    }

    .services-grid .service-card:nth-child(even) .service-icon {
      color: #C9705A;
    }

    .services-grid .service-card:nth-child(3n) {
      border-left: 2px solid rgba(107,26,26,0.4);
    }

    .service-icon {
      font-size: 28px;
      color: var(--gold);
      margin-bottom: 20px;
      display: block;
    }

    .service-name {
      font-family: 'Barlow', sans-serif;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--white);
      margin-bottom: 14px;
      line-height: 1.3;
    }

    .service-desc {
      font-family: 'Barlow', sans-serif;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.7;
      color: rgba(255,255,255,0.5);
    }

    /* ============================================================
       DIFERENCIAIS
    ============================================================ */
    #diferenciais {
      padding: 100px 0;
      background: var(--bg-section);
      border-top: 4px solid var(--burgundy);
    }

    .diff-item {
      padding: 36px;
      background: var(--white);
      border-bottom: 3px solid transparent;
      transition: border-color 0.3s, box-shadow 0.3s;
      height: 100%;
    }

    .diff-item:hover {
      border-color: var(--navy);
      box-shadow: 0 8px 32px rgba(26,35,84,0.12);
    }

    .col-lg-4:nth-child(even) .diff-item:hover,
    .col-md-6:nth-child(even) .diff-item:hover {
      border-color: var(--burgundy);
      box-shadow: 0 8px 32px rgba(107,26,26,0.12);
    }

    .diff-icon {
      font-size: 32px;
      color: var(--navy);
      margin-bottom: 20px;
      display: block;
    }

    .col-lg-4:nth-child(even) .diff-icon,
    .col-md-6:nth-child(even) .diff-icon {
      color: var(--burgundy);
    }

    .diff-title {
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--dark-gray);
      margin-bottom: 12px;
    }

    .diff-text {
      font-family: 'Barlow', sans-serif;
      font-size: 13px;
      line-height: 1.75;
      color: var(--gray);
    }

    /* ============================================================
       CTA CENTRAL
    ============================================================ */
    #cta-central {
      padding: 80px 0;
      background: linear-gradient(120deg, #1A2354 0%, #2a3570 50%, #6B1A1A 100%);
    }

    #cta-central .cta-title {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(26px, 3vw, 42px);
      font-weight: 800;
      text-transform: uppercase;
      color: var(--white);
      line-height: 1.1;
      margin-bottom: 12px;
    }

    #cta-central .cta-subtitle {
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      color: rgba(255,255,255,0.75);
      margin-bottom: 0;
    }

    .btn-cta-dark {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: var(--gold);
      color: var(--white);
      padding: 16px 36px;
      border: 2px solid var(--gold);
      display: inline-block;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .btn-cta-dark:hover {
      background: transparent;
      color: var(--white);
    }

    /* ============================================================
       CONTATO
    ============================================================ */
    #contato {
      padding: 100px 0;
      background: var(--navy-dark);
    }

    #contato .section-title { color: var(--white); }
    #contato .section-title em { color: rgba(201,168,76,0.45); }

    .contact-info-list {
      list-style: none;
      padding: 0;
      margin: 40px 0 0;
    }

    .contact-info-list li {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .contact-info-list li:first-child {
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .contact-info-list .ci-icon {
      color: var(--gold-light);
      font-size: 18px;
      margin-top: 2px;
      flex-shrink: 0;
    }

    .contact-info-list .ci-label {
      font-family: 'Barlow', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      display: block;
      margin-bottom: 4px;
    }

    .contact-info-list .ci-value {
      font-family: 'Barlow', sans-serif;
      font-size: 14px;
      color: var(--white);
    }

    .contact-info-list a.ci-value:hover {
      color: var(--gold);
    }

    /* Form */
    .contact-form-wrap {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(160,132,40,0.25);
      padding: 40px;
    }

    .contact-form-wrap .form-label {
      font-family: 'Barlow', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      margin-bottom: 8px;
    }

    .contact-form-wrap .form-control,
    .contact-form-wrap .form-select {
      background: #ffffff;
      border: 1px solid rgba(160,132,40,0.35);
      border-radius: 0;
      color: var(--navy-dark);
      font-family: 'Barlow', sans-serif;
      font-size: 14px;
      padding: 12px 16px;
      transition: border-color 0.2s;
    }

    .contact-form-wrap .form-control:focus,
    .contact-form-wrap .form-select:focus {
      background: #ffffff;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(160,132,40,0.15);
      color: var(--navy-dark);
    }

    .contact-form-wrap .form-control::placeholder {
      color: #999;
    }

    .contact-form-wrap .form-select option {
      background: #ffffff;
      color: var(--navy-dark);
    }

    .contact-form-wrap textarea {
      color: var(--navy-dark);
    }

    .contact-form-wrap textarea { resize: none; }

    .form-submit {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: var(--gold);
      color: var(--white);
      padding: 14px 32px;
      border: 2px solid var(--gold);
      cursor: pointer;
      transition: all 0.2s;
      width: 100%;
    }

    .form-submit:hover {
      background: transparent;
      color: var(--gold);
    }

    .form-msg {
      font-family: 'Barlow', sans-serif;
      font-size: 12px;
      margin-top: 12px;
      display: none;
    }

    .social-links-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 32px;
    }

    .social-links-bar .social-label {
      font-family: 'Barlow', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
    }

    .social-links-bar a {
      font-size: 20px;
      color: var(--gold);
      transition: color 0.2s, transform 0.2s;
    }

    .social-links-bar a:hover {
      color: var(--white);
      transform: translateY(-2px);
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    footer {
      background: linear-gradient(90deg, var(--navy-dark) 0%, #1e1530 50%, var(--burgundy-dark) 100%);
      border-top: 2px solid var(--gold-dark);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 28px 0;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo img { height: 36px; }

    .footer-copy {
      font-family: 'Barlow', sans-serif;
      font-size: 11px;
      color: rgba(255,255,255,0.35);
      letter-spacing: 0.06em;
    }

    .footer-links {
      display: flex;
      gap: 20px;
    }

    .footer-links a {
      font-family: 'Barlow', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      transition: color 0.2s;
    }

    .footer-links a:hover { color: var(--gold); }

    /* ============================================================
       WHATSAPP FLOAT
    ============================================================ */
    .whatsapp-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 999;
      background: #25D366;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(37,211,102,0.4);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 24px rgba(37,211,102,0.6);
    }

    .whatsapp-float i {
      font-size: 28px;
      color: var(--white);
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 991px) {
      .header-nav, .header-cta { display: none; }
      .hamburger-btn { display: flex; }

      .hero-stats-inner {
        grid-template-columns: 1fr;
      }

      .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.15);
        padding: 18px 24px;
      }

      .stat-item:last-child { border-bottom: none; }

      .sobre-photo-badge {
        position: static;
        margin-top: 16px;
        max-width: 100%;
      }

      .sobre-photo-wrap img {
        height: 380px;
      }

      .contact-form-wrap {
        padding: 24px;
      }

      .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      #cta-central .d-flex {
        flex-direction: column;
        gap: 24px;
        text-align: center;
      }
    }

    @media (max-width: 575px) {
      .hero-actions {
        flex-direction: column;
        align-items: flex-start;
      }
      .btn-primary-gold,
      .btn-outline-gold {
        width: 100%;
        text-align: center;
      }
      .service-card { padding: 28px 22px; }
    }

    /* ============================================================
       ANIMAÇÕES SUTIS
    ============================================================ */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .anim-in {
      animation: fadeInUp 0.65s ease forwards;
    }

    .anim-delay-1 { animation-delay: 0.1s; }
    .anim-delay-2 { animation-delay: 0.25s; }
    .anim-delay-3 { animation-delay: 0.4s; }

  