/* ==========================================
   CONFIGURAÇÕES GLOBAIS / RESET 
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #073046; /* Azul Escuro */
    background-color: #fefefe;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilitários de Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #073046;
    margin-bottom: 20px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 60px auto;
    color: #555;
    font-size: 1.1rem;
}

/* ==========================================
   CONFIGURAÇÃO DO SCROLL REVEAL (ANIMAÇÕES)
   ========================================== */

/* Estado inicial escondido e levemente deslocado para baixo */
.about-container, 
.approach-card, 
.specialty-item, 
.podcast-container,
.contact-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 0.9s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Classe de ativação disparada pelo JavaScript */
.about-container.active, 
.approach-card.active, 
.specialty-item.active, 
.podcast-container.active,
.contact-container.active {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito Cascata (Stagger) para os cards aparecerem um após o outro */
.approach-card:nth-child(2) { transition-delay: 0.15s; }
.approach-card:nth-child(3) { transition-delay: 0.3s; }

.specialty-item:nth-child(even) { transition-delay: 0.15s; }

/* Animações simples extras */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================
   HEADER & SEÇÃO HERO 
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('imagens/03.jpg.jpeg'); 
    background-size: cover;
    
    background-position: center; 
    
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.main-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 25px 0;
    background: linear-gradient(
        to bottom, 
        rgba(254, 254, 254, 0.15) 0%, 
        rgba(254, 254, 254, 0.6) 50%, 
        rgba(254, 254, 254, 0.98) 100%
    );
    box-shadow: 0 4px 20px rgba(7, 48, 70, 0.04);
    animation: fadeIn 1.2s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #073046;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    color: #073046;
    opacity: 0.8;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navigation a:hover, 
.navigation a.active {
    color: #c9914b; /* Dourado/Ouro Velho */
    opacity: 1;
}

.btn-schedule {
    display: inline-block;
    padding: 10px 24px;
    background-color: #073046;
    color: #fefefe;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-schedule:hover {
    background-color: #c9914b;
    transform: translateY(-2px);
}

.hero-content {
    padding: 0 20px;
    max-width: 650px;
    margin-left: 5%;
    z-index: 2;
    animation: fadeIn 1.5s ease;
    margin-top: 100px;
}

.hero-content .hero-eyebrow {
    display: inline-block;
    color: #c9914b;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: 2.6rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 550px;
}

.btn-hero-cta {
    display: inline-block;
    padding: 16px 36px;
    background-color: #c9914b;
    color: #fefefe;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 25px rgba(201, 145, 75, 0.35);
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    background-color: #fefefe;
    color: #073046;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(7, 48, 70, 0.2);
}

/* ==========================================
   SEÇÃO SOBRE MIM - VERSÃO RETANGULAR
   ========================================== */
.about-section {
    background-color: #f4f1ec;
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-image {
    flex: 0 0 350px; /* Largura elegante para uma foto vertical */
    max-width: 100%;
    text-align: center;
}

/* A foto agora é um retângulo vertical perfeito */
.about-image img {
    width: 105%;
    height: 480px;            /* Altura maior que a largura garante o formato retangular */
    object-fit: cover;        /* Corta as sobras e mantém suas proporções perfeitas */
    border-radius: 16px;      /* Cantos suavemente lapidados, sem parecer uma bola */
    box-shadow: 0 15px 35px rgba(7, 48, 70, 0.08);
    border: 6px solid #fefefe; /* Moldura branca que destaca a foto do fundo areia */
    transition: all 0.9s ease;
}

/* Em vez de deformar a foto, o efeito agora é uma flutuação sutil */
.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(7, 48, 70, 0.14);
}

.about-text {
    flex: 1;
}

.about-text .subtitle {
    display: block;
    color: #c9914b;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 20px;
    color: #444;
}

.about-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    padding: 8px 18px;
    background-color: #dfedf3;
    color: #073046;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==========================================
   SEÇÃO ABORDAGEM (Com Formas de Fundo)
   ========================================== */
.approach-section {
    background-color: #fefefe;
    position: relative;
}

/* Círculo luminoso flutuante no fundo */
.approach-section::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    top: 10%;
    left: -150px;
    background: radial-gradient(circle, rgba(236,232,249,0.7) 0%, rgba(254,254,254,0) 70%); /* Lavanda claro */
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.approach-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.approach-card {
    flex: 1;
    padding: 40px 30px;
    background-color: #ece8f9; /* Lavanda calmo */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(236, 232, 249, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-card:hover {
    transform: translateY(-10px);
    background-color: #fefefe;
    border-color: #c9914b;
    box-shadow: 0 15px 35px rgba(7, 48, 70, 0.08);
}

.approach-icon {
    font-size: 2rem;
    color: #c9914b;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s;
}

.approach-card:hover .approach-icon {
    transform: scale(1.2);
}

.approach-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #073046;
}

/* ==========================================
   SEÇÃO ESPECIALIDADES
   ========================================== */
.specialties-section {
    background-color: #dfedf3; /* Azul pastel */
    position: relative;
}

/* Segunda forma abstrata no background */
.specialties-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -150px;
    background: radial-gradient(circle, rgba(201,145,75,0.12) 0%, rgba(254,254,254,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: float 10s ease-in-out infinite alternate;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.specialty-item {
    background-color: #fefefe;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(7, 48, 70, 0.03);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.specialty-item:hover {
    transform: scale(1.02);
    border-color: rgba(201, 145, 75, 0.3);
    box-shadow: 0 15px 35px rgba(7, 48, 70, 0.07);
}

.specialty-item h3 {
    color: #073046;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.specialty-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #c9914b;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.specialty-item:hover h3::after {
    width: 60px;
}

/* ==========================================
   SEÇÃO PODCAST - "VEM PRA FOGUEIRA"
   ========================================== */
.podcast-section {
    background: linear-gradient(135deg, #2b0f08 0%, #7a1f0d 45%, #d9480f 100%);
    position: relative;
    overflow: hidden;
}

/* Brasas / faíscas sutis no fundo */
.podcast-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -180px;
    background: radial-gradient(circle, rgba(255, 145, 40, 0.35) 0%, rgba(217, 72, 15, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
}

.podcast-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.podcast-video {
    flex: 1.1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(254, 254, 254, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.podcast-text {
    flex: 1;
}

.podcast-eyebrow {
    display: inline-block;
    color: #ffcb99;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.podcast-text h2 {
    color: #fefefe;
    margin-bottom: 20px;
}

.podcast-text p {
    color: rgba(254, 254, 254, 0.85);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 480px;
}

.btn-podcast {
    display: inline-block;
    padding: 14px 34px;
    background-color: #fefefe;
    color: #a61e1e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-podcast:hover {
    background-color: #ffcb99;
    color: #2b0f08;
    transform: translateY(-3px);
}

/* ==========================================
   SEÇÃO CONTATO
   ========================================== */
.contact-section {
    background-color: #f4f1ec; /* Mesma cor de fundo do arquivo original (sem a foto) */
    padding-top: 70px;
    text-align: center;
}

/* Logo em destaque, separada do fundo, para não ficar atrás dos botões */
.contact-logo {
    display: block;
    width: 260px;
    max-width: 55%;
    height: auto;
    margin: 0 auto 10px auto;
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: transparent; /* MUDADO DE #f4f1ec PARA TRANSPARENT */
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(7, 48, 70, 0.03);
    text-align: left;
}

.contact-info {
    flex: 1.2;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 1.05rem;
    padding-left: 15px;
    border-left: 3px solid #c9914b;
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #073046;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px 10px 12px;
    background-color: #c9914b; /* Fundo dourado/bege sólido (mesma cor da borda) */
    border: 1.5px solid #c9914b;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(7, 48, 70, 0.15);
    transition: all 0.3s ease;
}

.social-icon svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background-color: #073046;
    border-color: #073046;
    color: #fefefe;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.contact-card-action {
    flex: 0.8;
    background-color: #073046;
    color: #fefefe;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(7, 48, 70, 0.2);
}

.contact-card-action h3 {
    color: #c9914b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.btn-whatsapp {
    display: inline-block;
    padding: 14px 35px;
    background-color: #c9914b;
    color: #fefefe;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 145, 75, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background-color: #fefefe;
    color: #073046;
    transform: translateY(-2px);
}

/* ==========================================
   RODAPÉ
   ========================================== */
.main-footer {
    background-color: #073046;
    color: #fefefe;
    font-size: 0.9rem;
}

.footer-container {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    
    /* FORÇA A IMAGEM IR PARA O TOPO E O TEXTO IR PARA A BASE */
    .hero-section {
        background-position: center 5% !important; /* Sobe a imagem para destacar a logo */
        align-items: flex-end !important;          /* Empurra todo o bloco de texto para baixo */
        padding-bottom: 50px !important;           /* Margem para o botão não colar no fim da tela */
    }

    /* COMPACTA O BLOCO DE TEXTO PARA NÃO OCUPAR A TELA TODA */
    .hero-content {
        margin-left: 0 !important;
        text-align: center !important;
        margin-top: 0 !important;                  /* Remove os 100px do desktop */
        width: 100% !important;
        padding: 0 20px !important;
    }

    /* Diminui o título no celular para economizar espaço vertical */
    .hero-content h1 {
        font-size: 1.75rem !important;
        margin-bottom: 12px !important;
    }

    /* Diminui o subtítulo no celular para liberar o centro da tela */
    .hero-content h2 {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }

    /* Ajuste sutil no botão para o mobile */
    .btn-hero-cta {
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
    }

    /* --- Mantém o restante das suas regras mobile originais --- */
    .header-container, .about-container, .approach-grid, .podcast-container, .contact-container, .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .navigation ul {
        margin: 25px 0;
        gap: 15px;
    }
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    .about-badges {
        justify-content: center;
    }
    .podcast-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .contact-item {
        border-left: none;
        border-bottom: 1px solid rgba(201, 145, 75, 0.2);
        padding-bottom: 10px;
    }
    .contact-section {
        padding-top: 45px;
    }
    .contact-logo {
        width: 180px;
        max-width: 70%;
        margin-bottom: 0;
    }
}
/* ==========================================
   NOVOS COMPONENTES: ALINHAMENTO REDES E SUBSTACK
   ========================================== */

/* Coloca os 3 botões (WhatsApp, Insta e Substack) um ao lado do outro */
.social-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 35px;
}

.social-links-container .social-icon {
    margin-top: 0; 
    padding: 10px 18px;
}

/* Muda a cor do botão individual do Substack ao passar o mouse */
.social-links-container .social-icon.substack-btn:hover {
    background-color: #FF6719;
    border-color: #FF6719;
    color: #fefefe;
}

.substack-invite-box {
    /* Mudado de #fefefe para um branco com 80% de opacidade (Efeito semi-transparente) */
    background-color: rgba(254, 254, 254, 0.8); 
    
    border: 1px solid rgba(7, 48, 70, 0.08);
    border-radius: 16px;
    padding: 30px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 25px rgba(7, 48, 70, 0.02);
}

.substack-invite-content h3 {
    font-size: 1.25rem;
    color: #073046;
    margin-bottom: 8px;
    font-weight: 600;
}

.substack-invite-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Estilo do Botão de Ação dentro do retângulo */
.btn-substack-cta {
    display: inline-block;
    padding: 14px 28px;
    background-color: #073046;
    color: #fefefe;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap; 
    box-shadow: 0 4px 12px rgba(7, 48, 70, 0.15);
}

.btn-substack-cta:hover {
    background-color: #FF6719; 
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 103, 25, 0.3);
}

/* Garante que no celular o retângulo vire vertical para não amassar o texto */
@media (max-width: 768px) {
    .social-links-container {
        justify-content: center;
        flex-direction: column; /* Empilha os botões um embaixo do outro */
        align-items: stretch;   /* Faz os botões ocuparem larguras iguais */
    }
    
    /* Outras configurações da media query... */
    .substack-invite-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .btn-substack-cta {
        width: 100%;
        text-align: center;
    }
}