/* =====================================================
   SALLES & MENDES ADVOCACIA - SITE PUBLICO
   Paleta navy royal + dourado champagne
   ===================================================== */

:root {
    /* Cores */
    --p-navy: #0D1B40;
    --p-navy-deep: #08122A;
    --p-navy-light: #1A2B5C;
    --p-navy-soft: #1F3068;
    --p-gold: #C9A961;
    --p-gold-deep: #B8945F;
    --p-gold-soft: #D4B97A;
    --p-gold-pale: #E8D4A0;
    --p-cream: #F5EFE6;
    --p-cream-soft: #FAF7F1;
    --p-white: #FFFFFF;
    --p-text: #1A1F2E;
    --p-text-soft: #3D4459;
    --p-muted: #6B7280;
    --p-border: rgba(13, 27, 64, 0.10);
    --p-border-gold: rgba(201, 169, 97, 0.35);

    /* Gradientes */
    --grad-navy: linear-gradient(135deg, #0D1B40 0%, #08122A 100%);
    --grad-navy-light: linear-gradient(135deg, #1F3068 0%, #0D1B40 100%);
    --grad-gold: linear-gradient(135deg, #C9A961 0%, #B8945F 100%);
    --grad-gold-soft: linear-gradient(135deg, #D4B97A 0%, #C9A961 100%);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(13, 27, 64, 0.08);
    --shadow-md: 0 6px 20px rgba(13, 27, 64, 0.12);
    --shadow-lg: 0 12px 40px rgba(13, 27, 64, 0.18);
    --shadow-xl: 0 24px 60px rgba(8, 18, 42, 0.30);
    --shadow-gold: 0 8px 28px rgba(201, 169, 97, 0.30);
    --shadow-gold-strong: 0 12px 40px rgba(201, 169, 97, 0.45);

    /* Tipografia */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espacos */
    --container-max: 1240px;
    --section-pad-y: 100px;
}

/* Damasco pattern em SVG inline base64 (sutil) */
:root {
    --damasco-bg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23C9A961' stroke-width='0.6' opacity='0.18'><path d='M40 8c8 0 16 8 16 16s-8 16-16 16-16-8-16-16 8-16 16-16zm0 32c8 0 16 8 16 16s-8 16-16 16-16-8-16-16 8-16 16-16z'/><path d='M8 40c0-8 8-16 16-16s16 8 16 16-8 16-16 16-16-8-16-16zm32 0c0-8 8-16 16-16s16 8 16 16-8 16-16 16-16-8-16-16z'/></g></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    color: var(--p-text);
    background: var(--p-cream-soft);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--p-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--p-gold-deep); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--p-navy);
    line-height: 1.18;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--p-text-soft); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   TOPBAR
   ===================================================== */

.site-topbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--p-border);
    z-index: 100;
}

.topbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-medal {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(13, 27, 64, 0.20), 0 0 0 1px rgba(201, 169, 97, 0.30);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--p-navy);
    letter-spacing: 0.06em;
}

.brand-tagline {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--p-gold-deep);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--p-navy);
    transition: all .2s ease;
    position: relative;
}

.site-nav a:hover {
    background: rgba(201, 169, 97, 0.08);
    color: var(--p-gold-deep);
}

.site-nav a.active {
    color: var(--p-gold-deep);
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
}

.btn-cta-topbar {
    background: var(--p-navy);
    color: var(--p-cream) !important;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all .25s ease;
    border: 1px solid var(--p-navy);
    flex-shrink: 0;
}

.btn-cta-topbar:hover {
    background: var(--p-gold-deep);
    border-color: var(--p-gold-deep);
    color: var(--p-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-cliente-topbar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--p-border);
    color: var(--p-navy) !important;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all .25s ease;
    flex-shrink: 0;
    background: transparent;
}

.btn-cliente-topbar svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.btn-cliente-topbar:hover {
    border-color: var(--p-gold);
    color: var(--p-gold-deep) !important;
    background: rgba(201, 169, 97, 0.06);
}

.nav-mobile-only { display: none; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--p-navy);
    border-radius: 2px;
    transition: all .25s ease;
}

@media (max-width: 900px) {
    .topbar-inner { flex-wrap: wrap; gap: 12px; }
    .nav-toggle { display: flex; margin-left: auto; }
    .btn-cta-topbar { display: none; }
    .btn-cliente-topbar { display: none; }
    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 8px 0;
        border-top: 1px solid var(--p-border);
        gap: 0;
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        padding: 12px 16px;
        border-radius: 0;
    }
    .site-nav a.active::after { display: none; }
    .nav-mobile-only {
        display: block !important;
        background: var(--p-navy);
        color: var(--p-cream) !important;
        margin: 8px 16px 4px;
        border-radius: 999px;
        text-align: center;
        font-weight: 600;
    }
}

/* =====================================================
   HERO PRINCIPAL (homepage)
   ===================================================== */

.hero {
    position: relative;
    background: var(--grad-navy);
    color: var(--p-cream);
    overflow: hidden;
    padding: 120px 0 100px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.5;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--p-navy-deep) 110%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-medal {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 36px;
    box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.10), 0 0 0 1px rgba(201, 169, 97, 0.40), 0 24px 60px rgba(8, 18, 42, 0.5);
    animation: medal-glow 4s ease-in-out infinite;
}

@keyframes medal-glow {
    0%, 100% { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.10), 0 0 0 1px rgba(201, 169, 97, 0.40), 0 24px 60px rgba(8, 18, 42, 0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(201, 169, 97, 0.06), 0 0 0 1px rgba(201, 169, 97, 0.55), 0 24px 80px rgba(201, 169, 97, 0.18); }
}

.hero h1 {
    color: var(--p-cream);
    margin-bottom: 16px;
}

.hero h1 .accent {
    color: var(--p-gold);
    font-style: italic;
    font-weight: 500;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--p-gold);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 8px 22px;
    border: 1px solid rgba(201, 169, 97, 0.45);
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.06);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-style: italic;
    color: var(--p-gold-pale);
    font-weight: 400;
    margin: 4px 0 12px;
    line-height: 1.35;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(245, 239, 230, 0.78);
    max-width: 620px;
    margin: 16px auto 40px;
    line-height: 1.7;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p-gold), transparent);
    margin: 28px auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* =====================================================
   HERO SECUNDARIO (paginas internas)
   ===================================================== */

.hero-internal {
    background: var(--grad-navy);
    color: var(--p-cream);
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-internal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.45;
}

.hero-internal-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-internal h1 {
    color: var(--p-cream);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 12px;
}

.hero-internal .hero-eyebrow {
    margin-bottom: 18px;
}

.hero-internal p {
    color: rgba(245, 239, 230, 0.8);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 16px auto 0;
}

/* =====================================================
   BOTOES
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-gold {
    background: var(--grad-gold);
    color: var(--p-navy-deep) !important;
    border-color: var(--p-gold-deep);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-strong);
    background: var(--grad-gold-soft);
}

.btn-outline-cream {
    background: transparent;
    color: var(--p-cream) !important;
    border-color: rgba(245, 239, 230, 0.35);
}
.btn-outline-cream:hover {
    background: rgba(245, 239, 230, 0.08);
    border-color: var(--p-gold);
    color: var(--p-gold) !important;
}

.btn-navy {
    background: var(--p-navy);
    color: var(--p-cream) !important;
    border-color: var(--p-navy);
}
.btn-navy:hover {
    background: var(--p-gold-deep);
    border-color: var(--p-gold-deep);
    color: var(--p-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-navy {
    background: transparent;
    color: var(--p-navy) !important;
    border-color: var(--p-navy);
}
.btn-outline-navy:hover {
    background: var(--p-navy);
    color: var(--p-cream) !important;
}

.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* =====================================================
   SECOES
   ===================================================== */

.section {
    padding: var(--section-pad-y) 0;
}

.section-light { background: var(--p-cream-soft); }
.section-cream { background: var(--p-cream); }
.section-white { background: var(--p-white); }

.section-dark {
    background: var(--grad-navy);
    color: var(--p-cream);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.35;
}

.section-dark > .container { position: relative; z-index: 2; }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--p-cream);
}

.section-dark p { color: rgba(245, 239, 230, 0.82); }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--p-gold-deep);
    letter-spacing: 0.30em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 6px 18px;
    border: 1px solid rgba(201, 169, 97, 0.40);
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.05);
}

.section-dark .section-eyebrow {
    color: var(--p-gold);
    background: rgba(201, 169, 97, 0.08);
    border-color: rgba(201, 169, 97, 0.45);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.08rem;
    line-height: 1.7;
}

.section-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p-gold-deep), transparent);
    margin: 24px auto;
}

.section-dark .section-divider {
    background: linear-gradient(90deg, transparent, var(--p-gold), transparent);
}

/* =====================================================
   MANIFESTO (3 frases impactantes)
   ===================================================== */

.manifesto {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.manifesto-frase {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 500;
    line-height: 1.45;
    margin: 14px 0;
    color: var(--p-navy);
}

.manifesto-frase .accent {
    color: var(--p-gold-deep);
    font-style: italic;
}

.section-dark .manifesto-frase { color: var(--p-cream); }
.section-dark .manifesto-frase .accent { color: var(--p-gold); }

/* =====================================================
   GRID DE 4 PILARES
   ===================================================== */

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.pilar-card {
    background: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: 14px;
    padding: 36px 32px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.pilar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--grad-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s ease;
}

.pilar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.30);
    box-shadow: var(--shadow-md);
}

.pilar-card:hover::before {
    transform: scaleY(1);
}

.pilar-numero {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--p-gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.75;
}

.pilar-card h3 {
    margin-bottom: 14px;
}

.pilar-card p {
    color: var(--p-text-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

.pilar-list {
    list-style: none;
    padding: 0;
}

.pilar-list li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 0.94rem;
    color: var(--p-text);
    border-bottom: 1px dashed var(--p-border);
}

.pilar-list li:last-child { border-bottom: 0; }

.pilar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px; height: 1px;
    background: var(--p-gold);
}

@media (max-width: 720px) {
    .pilares-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   ESPECIALISTAS (4 cards menores)
   ===================================================== */

.especialistas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}

.especialista-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.22);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all .3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.especialista-card:hover {
    transform: translateY(-3px);
    border-color: var(--p-gold);
    background: rgba(201, 169, 97, 0.08);
}

.especialista-icone {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.35);
    color: var(--p-gold);
}

.especialista-icone svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.especialista-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--p-cream);
    margin-bottom: 8px;
}

.especialista-card p {
    font-size: 0.9rem;
    color: rgba(245, 239, 230, 0.72);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .especialistas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .especialistas-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   DIFERENCIAL (3 contrastes)
   ===================================================== */

.diferencial-quote {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
    padding: 28px 32px;
    border-left: 3px solid var(--p-gold);
    border-right: 3px solid var(--p-gold);
    border-radius: 4px;
    background: rgba(201, 169, 97, 0.05);
}

.diferencial-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--p-navy);
}

.section-dark .diferencial-quote {
    background: rgba(201, 169, 97, 0.08);
}

.section-dark .diferencial-quote p { color: var(--p-cream); }

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.diferencial-card {
    padding: 28px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.22);
    text-align: left;
}

.diferencial-card .vs-maioria {
    color: rgba(245, 239, 230, 0.55);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(201, 169, 97, 0.25);
}

.diferencial-card .nos {
    color: var(--p-cream);
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.4;
}

.diferencial-card .nos strong {
    color: var(--p-gold);
}

@media (max-width: 900px) {
    .diferencial-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PROMESSA (3 promessas em destaque)
   ===================================================== */

.promessa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.promessa-card {
    background: var(--p-white);
    padding: 36px 28px;
    border-radius: 14px;
    border: 1px solid var(--p-border);
    border-top: 4px solid var(--p-gold);
    transition: all .3s ease;
    text-align: center;
}

.promessa-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.promessa-icone {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--grad-navy-light);
    color: var(--p-gold);
}

.promessa-icone svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.promessa-card h4 {
    font-family: var(--font-serif);
    color: var(--p-navy);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.promessa-card p {
    color: var(--p-text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .promessa-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CTA SECTION (final do home + paginas internas)
   ===================================================== */

.cta-final {
    padding: 96px 0;
    background: var(--grad-navy);
    color: var(--p-cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.4;
}

.cta-final-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-final h2 {
    color: var(--p-cream);
    margin-bottom: 16px;
}

.cta-final p {
    color: rgba(245, 239, 230, 0.85);
    font-size: 1.08rem;
    margin-bottom: 32px;
}

.cta-final .btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   PAGINA SOBRE - perfis dos titulares
   ===================================================== */

.titulares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 980px;
    margin: 0 auto 56px;
}

.titular-card {
    background: var(--p-white);
    border-radius: 14px;
    padding: 36px 32px;
    border: 1px solid var(--p-border);
    text-align: center;
    transition: all .3s ease;
}

.titular-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 97, 0.25);
}

.titular-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--grad-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--p-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.10), 0 0 0 1px rgba(201, 169, 97, 0.40);
}

.titular-card h3 {
    margin-bottom: 6px;
    font-size: 1.5rem;
}

.titular-papel {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--p-gold-deep);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-block;
}

.titular-card p {
    color: var(--p-text-soft);
    font-size: 0.97rem;
    line-height: 1.7;
}

.titular-oab {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--p-border);
    font-size: 0.86rem;
    color: var(--p-muted);
}

.titular-oab strong { color: var(--p-navy); }

@media (max-width: 720px) {
    .titulares-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   FILOSOFIA / PERFIL DE CLIENTES
   ===================================================== */

.filosofia-bloco {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 32px;
    background: var(--p-cream);
    border-radius: 14px;
    border: 1px solid var(--p-border);
    border-top: 4px solid var(--p-gold);
}

.filosofia-bloco h3 {
    margin-bottom: 18px;
}

.filosofia-bloco p {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-style: italic;
    line-height: 1.55;
    color: var(--p-navy);
    margin-bottom: 14px;
}

.filosofia-bloco p:last-child { margin-bottom: 0; }

.perfil-clientes {
    margin-top: 56px;
    text-align: center;
}

.perfil-clientes h3 {
    margin-bottom: 14px;
}

.perfil-clientes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.perfil-tag {
    padding: 10px 20px;
    background: var(--p-white);
    border: 1px solid var(--p-border-gold);
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--p-navy);
    font-weight: 500;
}

/* =====================================================
   PAGINA COMO FUNCIONAMOS - tripe + OS
   ===================================================== */

.tripe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.tripe-card {
    background: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: 14px;
    padding: 32px 28px;
    text-align: center;
    transition: all .3s ease;
}

.tripe-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 97, 0.30);
}

.tripe-icone {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--grad-gold);
    color: var(--p-navy-deep);
}

.tripe-icone svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.tripe-card h4 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.tripe-card p {
    font-size: 0.96rem;
    line-height: 1.65;
}

@media (max-width: 880px) {
    .tripe-grid { grid-template-columns: 1fr; }
}

.os-block {
    max-width: 880px;
    margin: 80px auto 0;
    padding: 56px 40px;
    background: var(--p-white);
    border: 1px solid var(--p-border-gold);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.os-eyebrow {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(201, 169, 97, 0.10);
    border: 1px solid var(--p-border-gold);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--p-gold-deep);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.os-block h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 14px;
}

.os-block p {
    font-size: 1.02rem;
    line-height: 1.75;
}

/* Pilares detalhados (pagina como-funcionamos) */
.pilar-detalhado {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto 48px;
    padding: 36px 36px;
    background: var(--p-white);
    border-radius: 14px;
    border: 1px solid var(--p-border);
    transition: all .3s ease;
}

.pilar-detalhado:hover {
    border-color: rgba(201, 169, 97, 0.30);
    box-shadow: var(--shadow-md);
}

.pilar-detalhado .num {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 0.85;
    color: var(--p-gold);
    opacity: 0.75;
}

.pilar-detalhado h3 { margin-bottom: 12px; }
.pilar-detalhado p { line-height: 1.7; margin-bottom: 14px; }

.pilar-detalhado .pilar-list { margin-top: 12px; }

.cenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.cenario-pill {
    padding: 14px 14px;
    border-radius: 10px;
    background: var(--p-cream);
    border: 1px solid var(--p-border);
    border-left: 3px solid var(--p-gold);
}

.cenario-pill .label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--p-gold-deep);
    margin-bottom: 4px;
}

.cenario-pill .descr {
    font-size: 0.86rem;
    color: var(--p-text-soft);
    line-height: 1.5;
}

@media (max-width: 720px) {
    .pilar-detalhado { grid-template-columns: 1fr; padding: 28px 24px; }
    .pilar-detalhado .num { font-size: 3rem; }
    .cenarios-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PAGINA CONTATO - form
   ===================================================== */

.contato-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;
}

.contato-form {
    background: var(--p-white);
    padding: 40px 36px;
    border-radius: 14px;
    border: 1px solid var(--p-border);
    box-shadow: var(--shadow-sm);
}

.contato-form h3 { margin-bottom: 8px; }

.contato-form .form-intro {
    color: var(--p-text-soft);
    margin-bottom: 28px;
    font-size: 0.96rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.form-row .form-group { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--p-navy);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--p-border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--p-text);
    background: var(--p-cream-soft);
    transition: all .2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--p-gold);
    background: var(--p-white);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-sans);
}

.form-radio-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-pill {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }

.radio-pill label {
    display: block;
    padding: 12px 16px;
    border: 1.5px solid var(--p-border);
    border-radius: 999px;
    background: var(--p-cream-soft);
    text-align: center;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--p-text);
    margin-bottom: 0;
    transition: all .2s ease;
}

.radio-pill input:checked + label {
    border-color: var(--p-gold);
    background: rgba(201, 169, 97, 0.10);
    color: var(--p-gold-deep);
    font-weight: 600;
}

.form-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.contato-info {
    align-self: start;
}

.contato-info-card {
    background: var(--grad-navy);
    color: var(--p-cream);
    padding: 36px 32px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contato-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.30;
    pointer-events: none;
}

.contato-info-card > * { position: relative; z-index: 2; }

.contato-info-card h4 {
    color: var(--p-cream);
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.contato-info-card .info-divider {
    width: 60px;
    height: 1px;
    background: var(--p-gold);
    margin-bottom: 22px;
}

.contato-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contato-info-list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(201, 169, 97, 0.20);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contato-info-list li:last-child { border-bottom: 0; }

.contato-info-list .info-icone {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-gold);
    flex-shrink: 0;
}

.contato-info-list .info-icone svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.contato-info-list .info-text {
    color: rgba(245, 239, 230, 0.92);
    font-size: 0.95rem;
}

.contato-info-list .info-text a {
    color: var(--p-cream);
    text-decoration: none;
}
.contato-info-list .info-text a:hover { color: var(--p-gold); }

.contato-info-list .info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--p-gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.disclaimer-oab {
    margin-top: 24px;
    padding: 18px 22px;
    background: rgba(201, 169, 97, 0.06);
    border-left: 3px solid var(--p-gold);
    border-radius: 6px;
    color: rgba(245, 239, 230, 0.78);
    font-size: 0.84rem;
    line-height: 1.6;
}

@media (max-width: 880px) {
    .contato-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-group { margin-bottom: 18px; }
}

.flash-success {
    padding: 22px 26px;
    background: rgba(46, 125, 91, 0.08);
    border: 1px solid rgba(46, 125, 91, 0.30);
    border-left: 4px solid #2E7D5B;
    color: #1F4D3A;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 0.96rem;
}

.flash-success strong { color: #143226; display: block; margin-bottom: 4px; }

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    background: var(--p-navy-deep);
    color: rgba(245, 239, 230, 0.70);
    padding: 64px 0 28px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--damasco-bg);
    background-size: 80px 80px;
    opacity: 0.18;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
    gap: 44px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--p-gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col a, .footer-col span {
    display: block;
    padding: 6px 0;
    color: rgba(245, 239, 230, 0.65);
    font-size: 0.92rem;
    transition: color .2s ease;
}

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

.footer-brand .footer-medal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.30);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--p-cream);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-oab {
    font-size: 0.85rem;
    color: rgba(245, 239, 230, 0.60);
    line-height: 1.6;
}

.footer-oab strong { color: var(--p-gold); display: block; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 4px; }

.footer-disclaimer p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(245, 239, 230, 0.55);
    margin-bottom: 14px;
}

.footer-disclaimer .copy {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(201, 169, 97, 0.18);
    font-size: 0.78rem;
    color: rgba(245, 239, 230, 0.45);
}

@media (max-width: 980px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================
   UTILS
   ===================================================== */

.text-center { text-align: center; }
.text-gold { color: var(--p-gold-deep); }
.font-serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }

@media (max-width: 720px) {
    :root { --section-pad-y: 64px; }
    .hero { padding: 80px 0 64px; }
    .hero-medal { width: 150px; height: 150px; }
}

/* ============================================================
   Botao flutuante do WhatsApp (canto inferior direito)
   ============================================================ */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.wa-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #fff;
    box-shadow: 0 0 0 3px var(--p-gold, #C9A961), 0 10px 28px rgba(8, 18, 42, 0.35);
    transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms;
    animation: wa-pulse 2.8s ease-out infinite;
}
.wa-float-label {
    background: var(--p-navy, #0D1B40);
    color: var(--p-cream-soft, #FAF7F1);
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 97, 0.45);
    box-shadow: 0 6px 20px rgba(13, 27, 64, 0.25);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 200ms, transform 200ms;
    pointer-events: none;
}
.wa-float:hover .wa-float-btn,
.wa-float:focus-visible .wa-float-btn { transform: scale(1.08); }
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label { opacity: 1; transform: translateX(0); }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float-btn { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--p-gold, #C9A961); }

@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 3px var(--p-gold, #C9A961), 0 10px 28px rgba(8,18,42,.35), 0 0 0 0 rgba(37,211,102,.45); }
    70%  { box-shadow: 0 0 0 3px var(--p-gold, #C9A961), 0 10px 28px rgba(8,18,42,.35), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 3px var(--p-gold, #C9A961), 0 10px 28px rgba(8,18,42,.35), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) {
    .wa-float { right: 16px; bottom: 16px; }
    .wa-float-btn { width: 56px; height: 56px; }
    .wa-float-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-float-btn { animation: none; }
}
@media print { .wa-float { display: none; } }
