:root {
    --navy: #1B2A4A;
    --navy-deep: #131F38;
    --navy-soft: #2A3B5F;
    --gold: #C9A84C;
    --gold-soft: #D4B968;
    --gold-deep: #A88A38;
    --cream: #F5F1E8;
    --cream-warm: #EFE8D6;
    --ink: #0F1626;
    --paper: #FAF7EF;
    --muted: rgba(15, 22, 38, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.serif { font-family: 'Cormorant Garamond', serif; }

/* ============ NAVIGATION ============ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(27, 42, 74, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: padding 0.3s ease;
}

nav.scrolled { padding: 1rem 4rem; }

.logo-nav {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.logo-nav span { display: block; font-size: 0.65rem; letter-spacing: 0.3em; color: var(--cream); margin-top: 2px; font-family: 'Inter', sans-serif; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.menu-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.12), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201, 168, 76, 0.08), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

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

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: var(--cream);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}

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

.hero-sub {
    color: var(--cream);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

.btn-primary, .btn-secondary {
    padding: 1.1rem 2.5rem;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(245, 241, 232, 0.4);
}

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

.hero-image-wrap {
    position: relative;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.6s forwards;
}

.hero-image {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--navy-soft), var(--navy));
    border: 1px solid rgba(201, 168, 76, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-align: center;
    padding: 2rem;
}

.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.hero-image-placeholder p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.hero-frame {
    position: absolute;
    inset: -20px;
    border: 1px solid var(--gold);
    z-index: -1;
}

.hero-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 1.5rem 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
}

.hero-badge strong { display: block; font-size: 1.8rem; font-weight: 600; }

/* ============ SECTION BASE ============ */
section { padding: 8rem 4rem; position: relative; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-eyebrow {
    color: var(--gold-deep);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: var(--navy-deep);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--gold-deep);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ FILHOTES ============ */
.filhotes { background: var(--paper); }

.filhotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.filhote-card {
    background: var(--cream);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    border: 1px solid rgba(27, 42, 74, 0.08);
}

.filhote-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(27, 42, 74, 0.15);
}

.filhote-img {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--cream-warm), var(--cream));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.filhote-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.filhote-img-placeholder {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filhote-img-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.3;
    color: var(--navy);
}

.filhote-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.filhote-body {
    padding: 2rem;
    text-align: center;
}

.filhote-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filhote-meta {
    color: var(--gold-deep);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.filhote-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 70px;
}

.filhote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--navy-deep);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--navy-deep);
    transition: all 0.3s;
}

.filhote-btn:hover {
    background: var(--navy-deep);
    color: var(--gold);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
}

/* ============ SOBRE ============ */
.sobre {
    background: linear-gradient(180deg, var(--paper) 0%, var(--cream-warm) 100%);
    position: relative;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.sobre-visual {
    position: relative;
    aspect-ratio: 4/5;
}

.sobre-visual-main {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    overflow: hidden;
}

.sobre-visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-visual-main svg { width: 120px; height: 120px; opacity: 0.5; }

.sobre-visual::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.sobre-content .section-title { text-align: left; }
.sobre-content .section-eyebrow { text-align: left; }

.sobre-text {
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.sobre-text:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    float: left;
    line-height: 0.9;
    margin-right: 0.5rem;
    color: var(--gold-deep);
    font-weight: 500;
}

.sobre-signature {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(27, 42, 74, 0.15);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--navy-deep);
}

.sobre-signature span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.5rem;
    font-style: normal;
}

/* ============ PLANTEL ============ */
.plantel {
    background: var(--navy-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.plantel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(201, 168, 76, 0.08), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 168, 76, 0.06), transparent 40%);
    pointer-events: none;
}

.plantel .section-title { color: var(--cream); }
.plantel .section-eyebrow { color: var(--gold); }
.plantel .section-desc { color: rgba(245, 241, 232, 0.7); }

.plantel-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.plantel-tab {
    background: none;
    border: 1px solid rgba(245, 241, 232, 0.3);
    color: var(--cream);
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.plantel-tab.active, .plantel-tab:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.plantel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.plantel-card {
    text-align: center;
    transition: transform 0.4s;
}

.plantel-card:hover { transform: translateY(-6px); }

.plantel-img {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--navy-soft), var(--navy));
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.plantel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plantel-img svg {
    width: 50px;
    height: 50px;
    color: var(--gold);
    opacity: 0.5;
}

.plantel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.plantel-role {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 241, 232, 0.6);
}

/* ============ DIFERENCIAIS ============ */
.diferenciais { background: var(--paper); }

.dif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.dif-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(27, 42, 74, 0.1);
    background: var(--cream);
    transition: all 0.4s;
    position: relative;
}

.dif-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.dif-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold-deep);
    font-style: italic;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1;
}

.dif-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    font-weight: 500;
}

.dif-text {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ CTA FINAL ============ */
.cta-final {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.12), transparent 60%);
}

.cta-final-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

.cta-final .section-title { color: var(--cream); }
.cta-final .section-eyebrow { color: var(--gold); }

.cta-final-text {
    font-size: 1.15rem;
    color: rgba(245, 241, 232, 0.85);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ============ CONTATO ============ */
.contato {
    background: var(--cream-warm);
    padding: 8rem 4rem 4rem;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
}

.contato-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--paper);
    border: 1px solid rgba(27, 42, 74, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--ink);
    display: block;
}

.contato-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(27, 42, 74, 0.1);
}

.contato-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: var(--gold-deep);
}

.contato-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.contato-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--navy-deep);
    font-weight: 500;
}

/* ============ FOOTER ============ */
footer {
    background: var(--navy-deep);
    color: var(--cream);
    padding: 3rem 4rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-tagline {
    font-style: italic;
    color: rgba(245, 241, 232, 0.6);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 2rem;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 2rem auto;
}

.footer-bottom {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(245, 241, 232, 0.4);
    text-transform: uppercase;
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float svg { width: 32px; height: 32px; color: white; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade-in com fallback: começa visível, só escurece se JS adicionar classe */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Se JS está ativo, inicia invisível (estado "armed") */
.js-ready .fade-in:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Acessibilidade: respeita preferência de reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .js-ready .fade-in:not(.visible) {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    nav { padding: 1rem 2rem; }
    nav.scrolled { padding: 0.8rem 2rem; }
    section { padding: 5rem 2rem; }
    .hero { padding: 7rem 2rem 4rem; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-image-wrap { max-width: 400px; margin: 0 auto; }
    .filhotes-grid { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
    .plantel-grid { grid-template-columns: repeat(3, 1fr); }
    .dif-grid { grid-template-columns: repeat(2, 1fr); }
    .contato { padding: 5rem 2rem 3rem; }
    .contato-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 2rem; gap: 1.5rem; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }
    .filhotes-grid { grid-template-columns: 1fr; }
    .plantel-grid { grid-template-columns: repeat(2, 1fr); }
    .dif-grid { grid-template-columns: 1fr; }
    .plantel-tabs { flex-direction: column; align-items: center; gap: 1rem; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    section { padding: 4rem 1.5rem; }
    .hero { padding: 6rem 1.5rem 3rem; }
    .whatsapp-float { bottom: 1rem; right: 1rem; }
}
