:root {
    --navy: #0A1A2F;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --off-white: #F9F7F2;
    --transition: all 0.5s ease;
    --header-height: 90px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    background: var(--off-white);
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    max-width: 100%;
    overflow-x: hidden; /* Corta qualquer conteúdo que tente "escapar" pelas laterais */
    position: relative;
    scroll-behavior: smooth;
}

/* --- HEADER PADRONIZADO --- */
.header-global {
    position: fixed;
    top: 0; 
    width: 100%; 
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

.header-global.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text { 
    text-decoration: none; 
    display: inline-block;
    padding: 5px 0;
}

.main-logo { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 1.8rem; 
    letter-spacing: 5px; 
    color: var(--navy); 
    display: block; 
    line-height: 1; 
}

.logo-subtitle { 
    font-size: 0.6rem; 
    letter-spacing: 3px; 
    color: var(--gold); 
    display: block; 
    margin-top: 5px; 
}

.nav-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

.nav-link { 
    text-decoration: none; 
    color: var(--navy); 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    font-weight: 500; 
    text-transform: uppercase; 
    display: inline-flex;
    align-items: center;
    min-height: 48px; /* Altura mínima ergonômica para toque mobile */
    padding: 0 5px;
}

.nav-link-cta {
    text-decoration: none; 
    color: var(--gold); 
    border: 1px solid var(--gold);
    padding: 10px 22px; 
    font-size: 0.7rem; 
    letter-spacing: 2px; 
    transition: 0.3s;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px; /* Garante clique perfeito no celular sem bugar o visual */
    box-sizing: border-box;
}

.nav-link-cta:hover { 
    background: var(--gold); 
    color: var(--white); 
}

/* --- HERO EDITORIAL --- */
.hero-editorial {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--off-white);
    overflow: hidden;
}

.hero-pattern-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 5% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 50px;
}

.hero-text-side { 
    flex: 1; 
}

.hero-text-side span { 
    color: var(--gold); 
    letter-spacing: 6px; 
    font-size: 0.8rem; 
    display: block; 
    margin-bottom: 20px; 
}

.hero-text-side h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(3rem, 5vw, 4.5rem); 
    line-height: 1.1; 
    margin-bottom: 30px; 
}

.hero-text-side p { 
    max-width: 450px; 
    margin-bottom: 40px; 
    color: #666; 
    font-weight: 300; 
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 18px 45px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 0.75rem;
    transition: 0.4s;
}

.btn-premium:hover { 
    background: var(--gold); 
    transform: translateY(-3px); 
}

.hero-image-side { 
    flex: 1; 
    position: relative; 
    display: flex; 
    justify-content: flex-end; 
}

.image-frame {
    width: 90%;
    height: 600px;
    overflow: hidden;
    border-radius: 300px 300px 0 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.image-frame img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--white);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 60px 30px rgba(0, 0, 0, 0.08), 0 60px 60px rgba(10, 26, 47, 0.12); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* --- SOBRE MIM --- */
.about-section {
    padding: 100px 5%;
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;   
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;       
}

.about-image {
    flex: 1;
    position: relative;
}

.image-border {
    border: 1px solid var(--gold);
    padding: 15px;
    border-radius: 200px 200px 0 0;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 200px 200px 0 0;
    filter: grayscale(20%);
}

.about-content {
    flex: 1.2;
}

.about-content span {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    margin: 15px 0 30px;
    color: var(--navy);
}

.about-text p {
    font-size: 0.8rem;
    line-height: 2.0;
    color: #666;
    margin-bottom: 40px;
}

.edu-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.info-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.info-item ul {
    list-style: none;
}

.info-item li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #777;
    position: relative;
    padding-left: 15px;
}

.info-item li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* --- SEÇÃO ESTRUTURA --- */
.structure-section {
    padding: 100px 5%;
    background-color: var(--off-white);
}

.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.section-header-left {
    margin-bottom: 40px;
}

.section-header-left span { 
    color: var(--gold); 
    letter-spacing: 4px; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
}

.section-header-left h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 3rem; 
    color: var(--navy); 
    margin: 10px 0; 
}

.section-header-left p { 
    color: #666; 
    font-weight: 300; 
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mini-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--navy);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mini-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block !important;
}

.mini-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 26, 47, 0.8) 0%, transparent 60%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 26, 47, 0.8));
    color: white;
    z-index: 3;
}

.card-info h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.mini-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mini-card:hover img {
    transform: scale(1.1);
}

/* MAPA */
.map-container {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.map-box {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.address-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.address-info h4 { 
    color: var(--navy); 
    font-size: 1rem; 
    margin-bottom: 2px; 
}

.address-info p { 
    color: #666; 
    font-size: 0.9rem; 
}

.address-info small { 
    color: var(--gold); 
    font-size: 0.75rem; 
    font-weight: 600; 
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    padding: 100px 5%;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}

.benefits-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--navy);
}

.section-description {
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 300;
    color: #666;
}

.benefits-container {
    width: 100%;
    max-width: 980px;
    padding: 45px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
}

.benefits-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    background: var(--gold);
}

.benefits-grid {
    display: grid;
    gap: 30px;
    text-align: center;
}

.benefits-grid--top {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

.benefits-grid--bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-card:nth-child(2) {
    margin-top: 25px;
}

.benefit-card__icon {
    width: 145px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
    background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
}

.benefit-card__icon::after {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.benefit-card__icon img {
    width: 70%;
    object-fit: contain;
}

.benefit-card__text {
    max-width: 240px;
    font-size: 0.9rem;
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.2px;
    color: var(--navy);
}

.brand-signature {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-signature__line {
    width: 100px;
    height: 1px;
    background: rgba(212, 175, 55, 0.5);
    margin-bottom: 18px;
}

.brand-signature__text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--navy);
    opacity: 0.9;
}

/* --- FOOTER INOVADOR --- */
.footer-innovative {
    position: relative;
    background-color: var(--navy);
    padding: 80px 5% 30px;
    color: var(--white);
    overflow: hidden;
}

.footer-blur-effect {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 8px;
    display: block;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 25px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 12px;
    transition: 0.3s;
    font-weight: 300;
    min-height: 20px; /* Otimização ergonômica para links do rodapé */
    display: block;
    align-items: center;
}

.link-group a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tech-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 0;
    position: relative;
}

.tech-line::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    left: -50px;
    top: 0;
}/* --- BOTÃO HAMBÚRGUER (Invisível no Desktop) --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
}

.hamburger {
    display: block;
    position: relative;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --- COMPORTAMENTO NO MOBILE (Telas até 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Revela o botão no celular */
    }

    /* O wrapper vira um menu de tela cheia oculto na lateral direita */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%; /* Ocupa 75% da largura da tela */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1500;
    }

    /* Alinha os itens da lista verticalmente */
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* Quando o menu estiver aberto, ele desliza para a tela */
    .nav-wrapper.active {
        right: 0;
    }

    /* Efeito de "X" no botão quando o menu abrir */
    .menu-toggle.active .hamburger {
        background: transparent;
    }
    
    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}

/* --- ANIMATIONS --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 992px) {
    .hero-container { 
        flex-direction: column; 
        text-align: center; 
    }
    .hero-image-side { 
        justify-content: center; 
        margin-top: 50px; 
    }
    .image-frame { 
        height: 450px; 
    }
    .about-container {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    .edu-work-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .about-content h2 {
        font-size: 2.8rem;
    }
    .main-grid {
        grid-template-columns: 1fr;
    }
    .map-box { 
        height: 300px; 
    }
    .benefits-grid--top,
    .benefits-grid--bottom {
        grid-template-columns: 1fr;
    }
    .benefit-card:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 80px 20px;
    }
    .benefits-container {
        padding: 35px 25px;
    }
    .benefit-card__icon {
        width: 130px;
        height: 130px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand { 
        margin: 0 auto; 
    }
    .footer-brand p { 
        margin: 0 auto; 
    }
    .footer-links { 
        flex-direction: column; 
        gap: 40px; 
        margin: 0 auto;
    }
}