/* ============================================================
   SAVÓIA FIDC — Stylesheet
   Paleta: Navy escuro · Vermelho · Dourado · Branco
   ============================================================ */

/* ===== RESET & VARIÁVEIS ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Cores */
    --red:        #C5082A;
    --red-dark:   #9e0621;
    --gold:       #B8960C;
    --navy:       #0D1B2A;
    --navy-mid:   #162840;
    --navy-light: #1e3a5f;
    --black:      #060e17;
    --white:      #FFFFFF;
    --off-white:  #F6F5F1;
    --text-dark:  #1a1a1a;
    --text-mid:   #4a4a4a;
    --text-light: rgba(255,255,255,0.80);
    --text-muted: rgba(255,255,255,0.50);

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

    /* Utilitários */
    --transition:  0.3s ease;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 24px rgba(0,0,0,0.12);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.18);
    --radius:      3px;

    /* Layout */
    --max-width: 1180px;
    --nav-h:     70px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== UTILIDADES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }

.section-header { margin-bottom: 3.5rem; }

.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.6rem;
}

.section-label.light { color: rgba(197, 8, 42, 0.85); }

.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header.light h2 { color: var(--white); }

.section-line {
    width: 44px;
    height: 2.5px;
    background: var(--red);
}

/* ===== BOTÕES ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.25rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.25rem;
    background: transparent;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.07);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.25rem;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid rgba(13,27,42,0.25);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
}

.btn-outline-dark:hover {
    border-color: var(--text-dark);
    background: rgba(13,27,42,0.05);
}

/* ===== LOGO COMPONENTE ===== */
.nav-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.shield-svg {
    width: 36px;
    height: 42px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}

.shield-svg.small {
    width: 28px;
    height: 33px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: 2px;
}

.logo-savoia {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
}

.logo-divider {
    width: 100%;
    height: 1.5px;
    background: var(--red);
}

.logo-fidc {
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.65);
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,150,12, 0.18);
    transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
    background: rgba(13, 27, 42, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: var(--red);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        url('../assets/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}

/* Overlay escuro sobre a foto */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(6, 14, 23, 0.88) 0%,
        rgba(13, 27, 42, 0.75) 50%,
        rgba(13, 27, 42, 0.45) 100%
    );
    pointer-events: none;
}

/* Gradiente sutil no rodapé da foto para transição suave */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(6,14,23,0.6), transparent);
    pointer-events: none;
}

.hero-bg-decoration {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.04;
    pointer-events: none;
}

.deco-shield svg {
    width: min(55vw, 520px);
    height: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: var(--nav-h);
}

.hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.1rem;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== FAIXA DE DADOS ===== */
.fund-strip {
    background: var(--navy);
    border-top: 1px solid rgba(184,150,12,0.25);
    border-bottom: 1px solid rgba(184,150,12,0.15);
    padding: 0;
}

.fund-strip-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fund-stat {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.5rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}

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

.fund-stat-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
}

.fund-stat-value {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--white);
}

@media (max-width: 640px) {
    .fund-strip-grid { flex-direction: column; }
    .fund-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1rem 1.25rem; }
    .fund-stat:last-child { border-bottom: none; }
}

/* ===== SOBRE ===== */
.sobre { background: var(--off-white); }

.sobre-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: start;
}

.sobre-text p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.82;
    margin-bottom: 1.25rem;
}

.sobre-text p:last-of-type { margin-bottom: 0; }

.sobre-text strong { color: var(--text-dark); font-weight: 600; }

.sobre-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.highlight-card {
    background: var(--white);
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--red);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.highlight-num {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: 0.4rem;
}

.highlight-card h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.highlight-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ===== EQUIPE ===== */
.equipe { background: var(--white); }

.gestor-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Card do gestor */
.gestor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border-top: 3px solid var(--red);
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
}

.gestor-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
    letter-spacing: 0.05em;
    overflow: hidden;
    flex-shrink: 0;
}

.gestor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 30%;
    display: block;
}

.gestor-meta h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.gestor-role {
    font-size: 0.78rem;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.gestor-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-mid);
    background: var(--white);
    border: 1px solid #e2e2dc;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Texto do gestor */
.gestor-statement blockquote {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.5;
    border-left: 3px solid var(--red);
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.gestor-statement p {
    font-size: 0.975rem;
    color: var(--text-mid);
    line-height: 1.82;
    margin-bottom: 1.1rem;
}

.gestor-closing {
    font-weight: 600;
    color: var(--text-dark) !important;
    font-size: 1rem !important;
}

/* Estrutura do Fundo */
.estrutura-fundo {
    border-top: 1px solid #e5e5e0;
    padding-top: 3rem;
}

.estrutura-fundo h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

.estrutura-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.estrutura-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.estrutura-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
}

.parceiro-logo-link {
    display: block;
    transition: opacity var(--transition);
}

.parceiro-logo-link:hover { opacity: 0.75; }

.parceiro-logo {
    display: block;
    object-fit: contain;
}

.parceiro-logo.capsicum {
    height: 56px;
    width: auto;
    border-radius: 6px;
}

.parceiro-logo.oliveira {
    height: 48px;
    width: auto;
    background: #f4f4f4;
    padding: 6px 12px;
    border-radius: 4px;
}

.estrutura-divider {
    width: 1px;
    height: 60px;
    background: #ddd;
}

@media (max-width: 860px) {
    .gestor-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .gestor-card { position: static; }
}

/* ===== OPERAÇÕES ===== */
.operacoes { background: var(--navy); }

.ops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
}

.ops-card {
    flex: 0 0 calc(33.333% - 1.2rem);
    min-width: 220px;
    text-align: center;
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.025);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.ops-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(197,8,42,0.35);
    transform: translateY(-4px);
}

.ops-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 1.25rem;
    color: rgba(255,255,255,0.75);
}

.ops-icon svg { width: 100%; height: 100%; }

.ops-card:hover .ops-icon { color: var(--white); }

.ops-card h3 {
    font-family: var(--serif);
    font-size: 1.025rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
}

.ops-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.68;
}

/* ===== COMPLIANCE ===== */
.compliance { background: var(--white); }

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.compliance-card {
    padding: 2rem 1.75rem;
    background: var(--off-white);
    border-top: 3px solid var(--red);
}

.compliance-icon {
    width: 40px;
    height: 40px;
    color: var(--red);
    margin-bottom: 1rem;
}

.compliance-icon svg { width: 100%; height: 100%; }

.compliance-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.compliance-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.68;
    margin-bottom: 0.75rem;
}

.compliance-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--red);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.compliance-link:hover { color: var(--red-dark); }

.compliance-disclaimer {
    padding: 1.5rem 1.75rem;
    background: var(--off-white);
    border: 1px solid #e2e2dc;
    border-radius: var(--radius);
}

.compliance-disclaimer p {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.7;
}

.compliance-disclaimer strong { color: #666; }

/* ===== CONTATO ===== */
.contato { background: var(--navy-mid); }

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.contato-info h3 {
    font-family: var(--serif);
    font-size: 1.7rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.contato-info > p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.contato-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contato-item { display: flex; flex-direction: column; gap: 0.2rem; }

.contato-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
}

.contato-value {
    font-size: 0.95rem;
    color: var(--white);
}

/* Formulário */
.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    padding: 0.75rem 1rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option { background: var(--navy); color: var(--white); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);
    background: rgba(255,255,255,0.09);
}

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

.form-submit { align-self: flex-start; margin-top: 0.25rem; }
.form-submit:disabled { opacity: 0.6; cursor: default; }

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
    transition: color var(--transition);
}

.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.42);
    letter-spacing: 0.02em;
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    line-height: 1.65;
    max-width: 860px;
}

.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.32);
}

/* ===== CTA PRINCIPAL DO HERO ===== */
.btn-cta {
    font-size: 0.9rem;
    padding: 1.15rem 2.25rem;
    max-width: 100%;
}

/* ===== REGULAMENTO ===== */
.regulamento { background: var(--white); }

.reg-wrap { margin-bottom: 3rem; }

.reg-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--off-white);
    border-left: 3px solid var(--red);
    padding: 2.5rem;
}

.reg-icon {
    color: var(--red);
    flex-shrink: 0;
}

.reg-icon svg {
    width: 40px;
    height: 40px;
}

.reg-text h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.9rem;
}

.reg-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 620px;
}

.reg-btn {
    display: inline-block;
}

.reg-btn-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

/* ===== ESTRUTURA DO FUNDO (seção própria) ===== */
.estrutura-section { background: var(--off-white); }

.estrutura-section .estrutura-fundo {
    border-top: none;
    padding-top: 0;
}

/* ===== BOTÕES DE CONTATO ===== */
.contato-acoes {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.btn-contato {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

a.btn-contato:hover {
    background: rgba(255,255,255,0.10);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-contato-icon {
    flex-shrink: 0;
    color: var(--red);
}

.btn-contato-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

a.btn-contato:hover .btn-contato-icon { color: var(--gold); }

.btn-contato-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.btn-contato-text strong {
    font-size: 1rem;
    font-weight: 600;
}

.btn-contato-text small {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

/* Estado pendente: não é link, sinaliza que falta definir */
.btn-contato.pendente {
    opacity: 0.55;
    cursor: default;
}

.btn-contato.pendente .btn-contato-icon { color: var(--text-muted); }

/* Linha: botão principal + copiar */
.btn-contato-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.btn-contato-row .btn-contato {
    flex: 1;
    min-width: 0;
}

.btn-copiar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    width: 84px;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copiar:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--gold);
    color: var(--white);
}

.btn-copiar-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.btn-copiar.copiado {
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 640px) {
    .reg-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .btn-cta {
        font-size: 0.8rem;
        padding: 1rem 1.5rem;
    }
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 960px) {
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ops-card {
        flex: 0 0 calc(50% - 0.9rem);
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo { justify-content: center; }
}

@media (max-width: 640px) {
    :root { --nav-h: 62px; }

    .section { padding: 4rem 0; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 2rem 1.75rem;
        gap: 0.9rem;
        border-top: 1px solid rgba(255,255,255,0.07);
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .nav-links.open { display: flex; }
    .nav-toggle     { display: flex; }

    .hero-actions { flex-direction: column; align-items: flex-start; }

    .ops-card {
        flex: 0 0 100%;
        text-align: left;
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .ops-icon { flex-shrink: 0; }

    .ops-card h3, .ops-card p { text-align: left; }

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

    .footer-nav { justify-content: center; gap: 1rem; }
}

/* ============================================================
   PÁGINAS INTERNAS — cabeçalho, cadastro e confirmação
   ============================================================ */

/* ===== Destaque do "Cadastro" no menu ===== */
.nav-links a.nav-cta {
    border: 1px solid rgba(255,255,255,0.35);
    padding: 0.45rem 1rem;
    border-radius: var(--radius);
    transition: background var(--transition), border-color var(--transition);
}

.nav-links a.nav-cta::after { display: none; }

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ===== Cabeçalho das páginas internas ===== */
.page-header {
    background: var(--navy);
    padding: calc(var(--nav-h) + 5rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%);
}

.page-header h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.1rem;
}

.page-header .section-label.light {
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}

.page-header-sub {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.75;
    font-weight: 300;
}

/* ===== Formulário de cadastro ===== */
.container-estreito { max-width: 820px; }

.form-section { background: var(--off-white); }

.campo-oculto { display: none; }

.form-bloco {
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--red);
    padding: 2rem 2rem 1.75rem;
    margin-bottom: 1.75rem;
}

.form-bloco legend {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 0 1.25rem;
}

.form-linha {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-linha:last-child { margin-bottom: 0; }

.form-linha .campo-largo  { grid-column: span 2; }
.form-linha .campo-curto  { max-width: 200px; }

.campo { display: flex; flex-direction: column; gap: 0.4rem; }

.campo label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.obrig { color: var(--red); }

.campo input,
.campo select,
.campo textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid #d8d5cd;
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.campo textarea { resize: vertical; line-height: 1.6; }

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(197, 8, 42, 0.10);
}

.campo input:invalid:not(:placeholder-shown) { border-color: #d98a8a; }

/* ===== Anexos ===== */
.form-ajuda {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    margin-bottom: 1.5rem;
}

.form-ajuda a { color: var(--red); text-decoration: underline; }

.campo-arquivo { margin-bottom: 1.1rem; }

.campo-arquivo input[type="file"] {
    padding: 0.55rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.campo-arquivo input[type="file"]::file-selector-button {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy-mid);
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    margin-right: 0.9rem;
    cursor: pointer;
    transition: background var(--transition);
}

.campo-arquivo input[type="file"]::file-selector-button:hover { background: var(--navy); }

.form-peso {
    font-size: 0.82rem;
    color: var(--text-mid);
    border-top: 1px solid #e6e3db;
    padding-top: 0.9rem;
    margin-top: 0.25rem;
}

.form-peso.excedeu { color: var(--red); font-weight: 600; }

/* ===== Consentimento, erro e ações ===== */
.form-consentimento {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.5rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.6;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: var(--red);
    flex-shrink: 0;
    cursor: pointer;
}

.form-erro {
    background: #fdecef;
    border-left: 3px solid var(--red);
    color: #8a0a22;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.5rem;
}

.form-acoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-acoes .btn-primary { cursor: pointer; }

.form-acoes .btn-primary:disabled { opacity: 0.6; cursor: default; }

.form-obrig-nota { font-size: 0.8rem; color: var(--text-mid); }

/* ===== Página de confirmação ===== */
.confirmacao-icone {
    width: 62px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}

.voltar-inicio { margin-top: 3rem; text-align: center; }

/* ===== Responsivo ===== */
@media (max-width: 760px) {
    .page-header { padding: calc(var(--nav-h) + 3rem) 0 3rem; }
    .form-bloco { padding: 1.5rem 1.25rem 1.35rem; }
    .form-linha { grid-template-columns: 1fr; gap: 1rem; }
    .form-linha .campo-largo { grid-column: span 1; }
    .form-linha .campo-curto { max-width: none; }
    .form-acoes { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============================================================
   ENVIO DE XMLs
   ============================================================ */

.passos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.passos .highlight-card { background: var(--off-white); }

.bloco-titulo {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.1rem;
}

.bloco-texto {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
}

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

.bloco-texto a {
    color: var(--red);
    text-decoration: underline;
}

.bloco-texto.destaque {
    font-size: 1rem;
    font-weight: 600;
    color: #8a0a22;
    background: #fdecef;
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
}

.bloco-alerta { border-left-color: var(--gold); }

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