@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@300;400;500;600;700&family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* ============================================================
   DESIGN SYSTEM — EQUIPE PREMIUM
   ============================================================ */
:root {
    /* Paleta naval profunda */
    --navy:            #0B1220;
    --navy-mid:        #111928;
    --navy-card:       #16202E;
    --navy-card-alt:   #1A2840;
    --navy-light:      #1E2F44;
    --navy-hover:      #243550;
    --navy-border:     rgba(255,255,255,0.06);
    --navy-border-md:  rgba(255,255,255,0.10);

    /* Sistema dourado */
    --gold:            #C4933F;
    --gold-light:      #E8C97A;
    --gold-pale:       #F5EDD8;
    --gold-dim:        rgba(196,147,63,0.15);
    --gold-foil:       linear-gradient(135deg, #a67828 0%, #e8c97a 40%, #c4933f 65%, #f0d485 100%);
    --gold-shine:      linear-gradient(90deg, #7a5610 0%, #C4933F 25%, #F0D078 50%, #C4933F 75%, #7a5610 100%);
    --gold-radial:     radial-gradient(ellipse at top, rgba(196,147,63,0.12), transparent 60%);

    /* Texto */
    --text-primary:    #EDE8DF;
    --text-secondary:  rgba(237,232,223,0.65);
    --text-muted:      rgba(237,232,223,0.38);
    --text-accent:     #E8C97A;

    /* Superfícies */
    --surface-1:       rgba(22, 32, 46, 0.95);
    --surface-2:       rgba(26, 40, 64, 0.7);
    --surface-glow:    rgba(196, 147, 63, 0.06);

    /* Sombras */
    --shadow-xs:  0 1px 4px rgba(6,10,18,0.4);
    --shadow-sm:  0 2px 12px rgba(6,10,18,0.5);
    --shadow-md:  0 4px 24px rgba(6,10,18,0.55);
    --shadow-lg:  0 8px 40px rgba(6,10,18,0.65);
    --shadow-xl:  0 16px 64px rgba(6,10,18,0.7);
    --shadow-gold: 0 0 0 1px rgba(196,147,63,0.25), 0 6px 24px rgba(196,147,63,0.12);

    /* Tipografia */
    --font-display: 'Cormorant Garamond', serif;
    --font-body:    'Jost', sans-serif;
    --font-brand:   'Righteous', sans-serif;

    /* Layout */
    --max-w: 1320px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Transições */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 9998;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-mid); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   HERO — Cinematográfico
   ============================================================ */
section.hero {
    width: 100%;
    height: 100svh;
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
    isolation: isolate;
}

/* Overlay gradiente dramático */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(7,11,19,0.98) 0%, rgba(7,11,19,0.5) 45%, rgba(7,11,19,0.1) 100%),
        linear-gradient(to right, rgba(7,11,19,0.4) 0%, transparent 60%);
    z-index: 1;
}

/* Vinheta lateral */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom left, rgba(196,147,63,0.08) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(900px, 100%);
    padding-bottom: 40px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(237,232,223,0.45);
}

.breadcrumb a {
    color: rgba(237,232,223,0.45);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.25s;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { width: 13px; height: 13px; flex-shrink: 0; }
.breadcrumb > i { width: 11px; height: 11px; opacity: 0.35; }
.breadcrumb span {
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Linha decorativa acima do h1 */
.hero-content::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.hero-content h1 {
    font-family: var(--font-brand);
    font-size: clamp(3.5rem, 10vw, 11rem);
    color: transparent;
    -webkit-text-stroke: clamp(1px, 0.15vw, 2px) rgba(237,232,223,0.55);
    text-shadow:
        0 0 60px rgba(196,147,63,0.3),
        0 0 120px rgba(196,147,63,0.15);
    letter-spacing: -2px;
    line-height: 0.88;
    margin-bottom: clamp(0.75rem, 2.5vw, 1.5rem);
    animation: heroReveal 1s var(--ease-out) both, glowPulse 4s ease-in-out 1.5s infinite;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 60px rgba(196,147,63,0.30), 0 0 120px rgba(196,147,63,0.15); }
    50%       { text-shadow: 0 0 80px rgba(196,147,63,0.45), 0 0 160px rgba(196,147,63,0.22); }
}

.tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    color: var(--text-accent);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    animation: heroReveal 1s var(--ease-out) 0.15s both;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: clamp(1.25rem, 3vw, 2rem);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: floatDown 2.5s ease-in-out infinite;
    z-index: 3;
}
.scroll-indicator::before {
    content: 'SCROLL';
    display: block;
}
.scroll-indicator:hover { color: var(--gold); }
.scroll-indicator i { width: clamp(20px, 3vw, 26px); height: clamp(20px, 3vw, 26px); }

@keyframes floatDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* ============================================================
   QUICK STATS BAR
   ============================================================ */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy-mid);
    position: relative;
    z-index: 10;
}

/* Linha dourada topo */
.quick-stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-shine);
    background-size: 200% 100%;
    animation: shimmerBar 4s linear infinite;
}
@keyframes shimmerBar {
    from { background-position: 200% center; }
    to   { background-position: -200% center; }
}

/* Divisores verticais */
.quick-stats::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy-border-md), transparent);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
    text-align: center;
    position: relative;
    transition: background 0.3s;
    cursor: default;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(196,147,63,0.2), transparent);
}

.stat-item:hover { background: var(--surface-glow); }

.stat-item i {
    width: clamp(20px, 2.5vw, 28px);
    height: clamp(20px, 2.5vw, 28px);
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 0.1rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: clamp(0.62rem, 1.2vw, 0.72rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.content-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
}

/* Animação de entrada por scroll */
.content-section {
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.content-section.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: 1rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        var(--gold) 0%,
        rgba(196,147,63,0.3) 35%,
        transparent 100%);
}

.section-header i {
    width: clamp(18px, 2.5vw, 24px);
    height: clamp(18px, 2.5vw, 24px);
    color: var(--gold);
    flex-shrink: 0;
    opacity: 0.9;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* Número de seção decorativo */
.section-header::before {
    content: attr(data-num);
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--gold);
    opacity: 0.6;
    font-weight: 300;
    align-self: flex-start;
    margin-top: 0.2rem;
}

/* ============================================================
   SECTION CONTENT (caixa texto)
   ============================================================ */
.section-content {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Reflexo sutil no canto */
.section-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.section-content p {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}
.section-content p:last-child { margin-bottom: 0; }

/* ============================================================
   FUN FACT CARD
   ============================================================ */
.fun-fact-section { margin: 0 0 clamp(3rem, 7vw, 5.5rem); }

.fun-fact-card {
    background: var(--navy-card);
    border: 1px solid rgba(196,147,63,0.25);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold), var(--shadow-lg);
}

/* Brilho angular no canto */
.fun-fact-card::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(ellipse, rgba(196,147,63,0.1) 0%, transparent 65%);
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50%       { transform: translateX(-50%) scale(1.15); opacity: 0.7; }
}

/* Aspas decorativas */
.fun-fact-card::after {
    content: '❝';
    position: absolute;
    top: 1rem; right: 2rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.06;
    font-family: Georgia, serif;
    pointer-events: none;
}

.fun-fact-card i {
    width: clamp(28px, 4vw, 40px);
    height: clamp(28px, 4vw, 40px);
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.fun-fact-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--text-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.fun-fact-card p {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.75;
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 300;
}

/* ============================================================
   ORIGIN — Grid com info + mapa
   ============================================================ */
.origin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.origin-info { display: flex; flex-direction: column; gap: clamp(0.75rem, 2vw, 1.25rem); }

.info-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: clamp(1.1rem, 2.5vw, 1.75rem);
    transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
}
.info-card:hover {
    transform: translateX(6px);
    border-left-color: var(--gold-light);
    box-shadow: var(--shadow-md);
    background: var(--navy-card-alt);
}

.info-card i {
    width: 20px; height: 20px;
    color: var(--gold);
    margin-bottom: 0.6rem;
    opacity: 0.8;
}
.info-card h3 {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}
.info-card p { font-size: clamp(0.95rem, 1.8vw, 1.05rem); color: var(--text-primary); margin: 0; font-weight: 300; }

/* Mapa */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--navy-border);
}
.map-placeholder {
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--navy-card);
    text-align: center;
    gap: 0.6rem;
    border: 2px dashed rgba(196,147,63,0.2);
    border-radius: var(--radius-md);
}
.map-placeholder i { width: 40px; height: 40px; color: var(--gold); opacity: 0.6; }
.map-placeholder p { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 500; color: var(--text-primary); margin: 0; font-family: var(--font-display); }
.map-placeholder span { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.06em; }

/* ============================================================
   TWO COLUMN GRID (genetics, etc.)
   ============================================================ */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* DNA items */
.dna-info { display: flex; flex-direction: column; gap: 0.6rem; }

.dna-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(0.75rem, 1.8vw, 1.1rem) clamp(1rem, 2vw, 1.4rem);
    background: rgba(26, 40, 64, 0.5);
    border-radius: var(--radius-sm);
    border: 1px solid var(--navy-border);
    transition: background 0.25s, border-color 0.25s;
    flex-wrap: wrap;
}
.dna-item:hover {
    background: var(--navy-card-alt);
    border-color: rgba(196,147,63,0.18);
}

.dna-item .label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}
.dna-item .value {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    color: var(--text-primary);
    text-align: right;
    font-weight: 300;
    flex-shrink: 0;
}

/* ============================================================
   FAMILY TREE
   ============================================================ */
.family-tree {
    padding: clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tree-node {
    background: rgba(196,147,63,0.1);
    border: 1px solid rgba(196,147,63,0.3);
    color: var(--text-accent);
    padding: clamp(0.5rem, 1.5vw, 0.85rem) clamp(1rem, 2.5vw, 1.75rem);
    border-radius: 30px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    transition: all 0.25s;
    cursor: default;
}
.tree-node:hover {
    background: rgba(196,147,63,0.18);
    border-color: rgba(196,147,63,0.5);
}
.tree-node.root {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.tree-branches {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}
.tree-branches::before {
    content: '';
    position: absolute;
    top: -1.5rem; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 1.5rem;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.4;
}

/* ============================================================
   REGISTRY CARDS
   ============================================================ */
.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.registry-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-top: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.registry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-foil);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}
.registry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: var(--navy-card-alt);
    border-color: rgba(196,147,63,0.15);
}
.registry-card:hover::before { transform: scaleX(1); }

.registry-card i {
    width: clamp(28px, 3.5vw, 40px);
    height: clamp(28px, 3.5vw, 40px);
    color: var(--gold);
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    opacity: 0.85;
}
.registry-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}
.registry-card p {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 1.6vw, 0.88rem);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* ============================================================
   CARACTERÍSTICAS FÍSICAS
   ============================================================ */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px,100%), 1fr));
    gap: clamp(0.9rem, 2.5vw, 1.5rem);
}

.char-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.char-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 1px;
    background: var(--gold-shine);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.35s;
    animation: shimmerBar 3s linear infinite;
}
.char-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196,147,63,0.2);
}
.char-card:hover::after { opacity: 1; }

.char-icon {
    width: clamp(48px, 6vw, 64px);
    height: clamp(48px, 6vw, 64px);
    background: rgba(196,147,63,0.1);
    border: 1px solid rgba(196,147,63,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(0.75rem, 2vw, 1.25rem);
    transition: background 0.3s, border-color 0.3s;
}
.char-card:hover .char-icon {
    background: rgba(196,147,63,0.2);
    border-color: rgba(196,147,63,0.45);
}
.char-icon i {
    width: clamp(22px, 3vw, 30px);
    height: clamp(22px, 3vw, 30px);
    color: var(--gold);
}

.char-card h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}
.char-value {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.char-detail {
    font-size: clamp(0.78rem, 1.5vw, 0.85rem);
    color: var(--text-muted);
    font-weight: 300;
}

/* Swatches de cor */
.color-swatches {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin: 0.65rem 0;
    flex-wrap: wrap;
}
.swatch {
    width: clamp(28px, 4vw, 36px);
    height: clamp(28px, 4vw, 36px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.12);
    cursor: default;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.swatch:hover {
    transform: scale(1.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 0 2px rgba(196,147,63,0.4);
}
.swatch.black    { background: #0a0a0a; }   /* Preto */
.swatch.bay      { background: #7a5b37; }   /* Castanho (Bay) */
.swatch.brown    { background: #1f1515; }   /* Marrom escuro */
.swatch.grey     { background: #7a8595; }   /* Cinza */

.swatch.chestnut { background: #a14a2a; }   /* Alazão */
.swatch.buckskin { background: #d2b06a; }   /* Baio */
.swatch.palomino { background: #f3d37a; }   /* Palomino */
.swatch.overo    { 
    background: linear-gradient(135deg, #ffffff 50%, #6b3f1d 50%);
} /* Overo (malhado) */
/* ── Novas pelagens Crioulas ── */
.swatch.bayo     { background: #c8a882; }   /* Baio (amarelo dourado) */
.swatch.zaino    { background: #6b3826; }   /* Zaino (alazão escuro/queimado) */
.swatch.tordillo { background: #95a4b0; }   /* Tordilho (cinza azulado) */
.swatch.gateado  { background: #d4c291; }   /* Gateado (cor de gato - amarelo acinzentado) */

/* ============================================================
   ATHLETIC PERFORMANCE
   ============================================================ */
.sport-highlight {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-card) 100%);
    border: 1px solid rgba(196,147,63,0.2);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sport-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.sport-highlight i {
    width: clamp(28px, 3.5vw, 40px);
    height: clamp(28px, 3.5vw, 40px);
    color: var(--gold);
}
.sport-highlight h3 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-accent);
    font-weight: 500;
    font-style: italic;
}
.sport-highlight p {
    font-size: clamp(0.88rem, 1.7vw, 0.97rem);
    color: var(--text-secondary);
    margin: 0;
    font-weight: 300;
}

/* Barras de estatística */
.stats-bars { display: flex; flex-direction: column; gap: clamp(1.25rem, 3vw, 2rem); }

.stat-bar { display: flex; flex-direction: column; gap: 0.5rem; }

.stat-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.85rem, 1.7vw, 0.95rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}
.stat-name i { width: 15px; height: 15px; color: var(--gold); opacity: 0.75; }
.stat-score {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 500;
    color: var(--text-accent);
    letter-spacing: 0.03em;
}

.bar-track {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
}
.bar-fill {
    height: 100%;
    width: var(--fill, 50%);
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 20px;
    position: relative;
    transition: width 1.2s var(--ease-out);
    box-shadow: 0 0 8px rgba(196,147,63,0.45), 0 0 16px rgba(196,147,63,0.15);
}
/* Brilho animado na barra */
.bar-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 100%;
    background: rgba(255,255,255,0.25);
    border-radius: 20px;
    filter: blur(4px);
}

/* ============================================================
   TEMPERAMENT
   ============================================================ */
.temperament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px,100%), 1fr));
    gap: clamp(0.9rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.temp-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-xs);
}
.temp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(196,147,63,0.18);
    background: var(--navy-card-alt);
}
.temp-card i {
    width: clamp(24px, 3vw, 32px);
    height: clamp(24px, 3vw, 32px);
    color: var(--gold);
    margin-bottom: 0.65rem;
    opacity: 0.8;
}
.temp-card h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}
.temp-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: clamp(0.82rem, 1.6vw, 0.92rem);
    font-weight: 300;
}
.rating {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    letter-spacing: 0.15em;
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slider de energia */
.energy-slider {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow-xs);
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    font-size: clamp(0.78rem, 1.5vw, 0.85rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}
.slider-labels span { display: flex; align-items: center; gap: 0.4rem; }
.slider-labels i { width: 15px; height: 15px; color: var(--gold); opacity: 0.7; }

.slider-track {
    height: 8px;
    background: linear-gradient(90deg, var(--navy-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(196,147,63,0.15);
}
.slider-indicator {
    position: absolute;
    left: var(--position, 50%);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px; height: 22px;
    background: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(196,147,63,0.2), var(--shadow-sm);
    transition: box-shadow 0.3s;
}
.energy-slider:hover .slider-indicator {
    box-shadow: 0 0 0 5px rgba(196,147,63,0.25), var(--shadow-md);
}

/* ============================================================
   NUTRITION CARDS
   ============================================================ */
.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px,100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.nutrition-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.nutrition-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(196,147,63,0.15);
}

.nutrition-card.favorite {
    background: linear-gradient(135deg, rgba(196,147,63,0.12) 0%, rgba(196,147,63,0.06) 100%);
    border-color: rgba(196,147,63,0.3);
}
.nutrition-card.favorite:hover { border-color: rgba(196,147,63,0.5); }

.nutrition-card i {
    width: 32px; height: 32px;
    color: var(--gold);
    margin-bottom: 0.85rem;
    opacity: 0.85;
}
.nutrition-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
    color: var(--text-primary);
}
.nutrition-card ul { list-style: none; }
.nutrition-card li {
    padding: 0.6rem 0 0.6rem 1.2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: clamp(0.88rem, 1.7vw, 0.97rem);
    border-bottom: 1px solid var(--navy-border);
    font-weight: 300;
}
.nutrition-card li:last-child { border-bottom: none; }
.nutrition-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%; transform: translateY(-50%);
    width: 5px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

/* ============================================================
   HEALTH CARDS
   ============================================================ */
.health-grid { display: grid; gap: clamp(0.9rem, 2.5vw, 1.5rem); }

.health-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.health-card:hover { box-shadow: var(--shadow-md); background: var(--navy-card-alt); }
.health-card.special { border-left-color: #5B9BD5; }
.health-card.alert {
    border-left-color: #C0392B;
    background: rgba(192,57,43,0.05);
}
.health-card.alert:hover { background: rgba(192,57,43,0.08); }

.health-card i { width: 28px; height: 28px; color: var(--gold); margin-bottom: 0.65rem; opacity: 0.85; }
.health-card.special i { color: #5B9BD5; }
.health-card.alert i   { color: #C0392B; }

.health-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}
.health-card p { color: var(--text-secondary); font-size: clamp(0.9rem, 1.7vw, 1rem); font-weight: 300; margin: 0; }
.health-card ul { list-style: none; }
.health-card li {
    padding: 0.55rem 0 0.55rem 1.4rem;
    position: relative;
    color: var(--text-secondary);
    font-size: clamp(0.88rem, 1.7vw, 0.97rem);
    border-bottom: 1px solid var(--navy-border);
    font-weight: 300;
}
.health-card li:last-child { border-bottom: none; }
.health-card li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.8;
}
.health-card.alert li::before { content: '▸'; color: #C0392B; }

/* ============================================================
   HABITAT CARDS
   ============================================================ */
.habitat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr));
    gap: clamp(0.9rem, 2.5vw, 1.75rem);
}

.habitat-card {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.habitat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-shine);
    background-size: 200% 100%;
    animation: shimmerBar 4s linear infinite;
}
.habitat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196,147,63,0.25);
    background: var(--navy-card-alt);
}
.habitat-card i {
    width: clamp(24px, 3vw, 32px);
    height: clamp(24px, 3vw, 32px);
    color: var(--gold);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}
.habitat-card h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
}
.habitat-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
    background: var(--navy-mid);
    padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
    position: relative;
    overflow: hidden;
}
.page-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(196,147,63,0.45) 50%,
        transparent 100%);
}
.page-footer::after {
    content: 'EQUIPÉDIA';
    position: absolute;
    right: var(--gutter); bottom: -0.75rem;
    font-family: var(--font-brand);
    font-size: clamp(3rem, 8vw, 7rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(196,147,63,0.06);
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.08em;
    line-height: 1;
}

.footer-content {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.footer-content > p {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 300;
}
.footer-links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.25s;
    white-space: nowrap;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links i { width: 14px; height: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .origin-grid,
    .two-column-grid { grid-template-columns: 1fr; }
    .map-container { min-height: 200px; }
}

@media (max-width: 768px) {
    section.hero { background-attachment: scroll !important; }
    .quick-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .characteristics-grid  { grid-template-columns: repeat(2, 1fr); }
    .temperament-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .footer-links { gap: 1.25rem; }
    .page-footer::after { display: none; }
}

@media (max-width: 600px) {
    .dna-item { flex-direction: column; gap: 0.2rem; }
    .dna-item .value { text-align: left; }
    .tree-branches { flex-direction: column; align-items: center; }
    .tree-branches::before { display: none; }
}

@media (max-width: 480px) {
    .characteristics-grid { grid-template-columns: 1fr 1fr; }
    .temperament-grid { grid-template-columns: 1fr; }
    .nutrition-grid,
    .registry-grid,
    .habitat-grid { grid-template-columns: 1fr; }
    .footer-content { text-align: center; align-items: center; }
    .footer-links { justify-content: center; gap: 1rem; flex-direction: column; align-items: center; }
    .info-card:hover { transform: none; }
    .quick-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
    .stat-value { font-size: 0.95rem; }
    .stat-label { font-size: 0.6rem; letter-spacing: 0; }
    .characteristics-grid { grid-template-columns: 1fr; }
    .hero-content h1 { letter-spacing: -1px; }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
@media (prefers-contrast: high) {
    .breed-card,
    .char-card,
    .registry-card { border: 2px solid var(--gold) !important; }
}
/* ============================================================
   SEÇÃO DE TÓPICOS / COMENTÁRIOS DA COMUNIDADE
   Adicionado sem alterar estilos existentes
   ============================================================ */

.comments-section {
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.comments-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Formulário de novo tópico */
.comments-form-wrap {
    background: var(--surface-1);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.comments-form-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-foil);
}

.comments-form-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.comments-form-title i {
    width: 18px; height: 18px;
    color: var(--gold);
    opacity: 0.85;
    flex-shrink: 0;
}

.comments-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
@media (max-width: 560px) {
    .comments-fields { grid-template-columns: 1fr; }
}

.comments-input {
    width: 100%;
    background: var(--navy-mid);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    -webkit-appearance: none;
}
.comments-input:focus {
    border-color: rgba(196,147,63,0.4);
    box-shadow: 0 0 0 3px rgba(196,147,63,0.08);
}
.comments-input::placeholder { color: var(--text-muted); }

textarea.comments-input {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.comments-submit-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.comments-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    background: var(--gold-foil);
    border: none;
    border-radius: var(--radius-sm);
    color: #1a1200;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.2s var(--ease-spring);
    box-shadow: var(--shadow-gold);
}
.comments-submit-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}
.comments-submit-btn:active { transform: translateY(0); }
.comments-submit-btn i { width: 16px; height: 16px; }

.comments-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Feedback de sucesso */
.comments-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #7fba6e;
    font-weight: 500;
}
.comments-success.show { display: flex; }
.comments-success i { width: 16px; height: 16px; }

/* Lista de comentários */
.comments-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comments-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--navy-card);
    border: 1px dashed var(--navy-border-md);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}
.comments-empty i {
    display: block;
    width: 32px; height: 32px;
    margin: 0 auto 0.75rem;
    color: var(--gold);
    opacity: 0.35;
}

/* Card de comentário individual */
.comment-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: clamp(1rem, 3vw, 1.5rem);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.comment-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold-foil);
    border-radius: 2px 0 0 2px;
    opacity: 0.6;
}
.comment-card:hover {
    border-color: rgba(196,147,63,0.12);
    box-shadow: var(--shadow-sm);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
}

.comment-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid rgba(196,147,63,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-light);
    flex-shrink: 0;
    text-transform: uppercase;
}

.comment-meta {
    flex: 1;
    min-width: 0;
}
.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.comment-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.comment-body {
    padding-left: 0.75rem;
    font-size: clamp(0.88rem, 1.7vw, 0.95rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Contador de tópicos */
.comments-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--navy-mid);
    border: 1px solid var(--navy-border-md);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    margin-left: auto;
}

/* Estado desabilitado do botão durante envio */
.comments-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}
