/*
Theme Name: Furlan Nutricionista
Theme URI: https://nutrifurlan.com.br
Author: Manus AI
Description: Tema personalizado para o nutricionista Jhonatan Furlan
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: furlan-nutricionista
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Estilos da Primeira Dobra (Hero Section) */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
    overflow: hidden;
}

/* Overlay escuro para melhor legibilidade do texto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    animation: fadeInHero 1.5s ease-out forwards;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-text {
    font-size: 1.5em;
    margin-bottom: 5px;
    font-weight: 300;
    letter-spacing: 1px;
}

.main-title {
    font-size: 4.5em;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0;
    line-height: 1.1;
}

.sub-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #E0B852;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -10px;
}

/* Estilos das Seções de Conteúdo */
main {
    width: 100%;
}

.content-section {
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Classe para ativar a animação quando a seção estiver visível */
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.dark-bg {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.light-bg {
    background-color: #f8f8f8;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.content-section h2 {
    font-size: 2.5em;
    color: #E0B852;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.dark-bg h2 {
     color: #E0B852;
}

.light-bg h2 {
     color: #B8860B;
}

.content-section p,
.content-section li {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.content-section strong {
    color: #E0B852;
}

.dark-bg strong {
    color: #E0B852;
}

.light-bg strong {
     color: #B8860B;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.content-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #E0B852;
    font-weight: bold;
}

.dark-bg .content-section ul li::before {
    color: #E0B852;
}

.light-bg .content-section ul li::before {
    color: #B8860B;
}

.final-message {
    text-align: center;
}

.signature {
    margin-top: 30px;
    font-style: italic;
    font-weight: bold;
    font-size: 1.2em;
    color: #E0B852;
}

.dark-bg .signature {
    color: #E0B852;
}

.light-bg .signature {
    color: #B8860B;
}

/* Rodapé */
footer {
    background-color: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Estilos da Seção de Resultados e Carrossel */
.results-section {
    background-color: #f0f0f0;
}

.results-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-slide {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.carousel-slide img {
    min-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
}

/* Botões de Navegação */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Estilos para a imagem de perfil na seção final */
.profile-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
}

/* Estilos para o botão de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.whatsapp-button .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid white;
    object-fit: cover;
}

.whatsapp-button .text {
    font-size: 16px;
    white-space: nowrap;
}

/* Layout de Duas Colunas para Desktop */
@media (min-width: 769px) {
    .two-columns {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .two-columns .text-content,
    .two-columns .image-content {
        flex: 1;
    }

    .two-columns.reverse-columns {
        flex-direction: row-reverse;
    }

    .image-content img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .two-columns .text-content h2 {
        text-align: left;
    }

    .container {
        max-width: 1100px;
    }
}

/* Responsividade para o carrossel */
@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
    }
    .main-title {
        font-size: 3.5em;
    }
    .sub-title {
        font-size: 2.5em;
    }
    .content-section h2 {
        font-size: 2em;
    }
    .content-section p,
    .content-section li {
        font-size: 1em;
    }
    .container {
        max-width: 95%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .carousel-container {
        max-width: 95%;
    }
    .carousel-slide img {
        max-height: 400px;
    }
    .prev, .next {
        font-size: 16px;
        padding: 12px;
    }
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px 8px 8px;
    }
    
    .whatsapp-button .profile-pic {
        width: 35px;
        height: 35px;
    }
    
    .whatsapp-button .text {
        font-size: 14px;
    }
    
    .two-columns {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .image-content img {
        max-width: 100%;
        max-height: 350px;
        width: auto;
        height: auto;
        display: block;
        margin: 20px auto 0;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .two-columns.reverse-columns {
        flex-direction: column;
    }

    .two-columns .text-content h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        background-attachment: scroll;
    }
    .main-title {
        font-size: 2.8em;
    }
    .sub-title {
        font-size: 2em;
    }
    .intro-text {
        font-size: 1.2em;
    }
    .content-section {
        padding: 40px 15px;
    }
    .content-section h2 {
        font-size: 1.8em;
    }
    .carousel-slide img {
        max-height: 300px;
    }
    .results-intro {
        font-size: 1em;
    }
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button .profile-pic {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
}

/* Seção Planos Personalizados */
.planos-personalizados h2 {
    font-size: 2.5em;
    color: #B8860B;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Card base */
.plano-card {
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.plano-card:hover {
    transform: translateY(-5px);
}

.plano-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.plano-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.plano-card ul li {
    font-size: 1.05em;
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

/* Botão WhatsApp */
.botao-whats {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.botao-whats:hover {
    background-color: #128c7e;
}

/* Plano Bronze e Ouro - fundo verde escuro */
.plano-card.bronze,
.plano-card.ouro {
    background-color: #25552b;
    color: #fff;
}

.plano-card.bronze ul li::before,
.plano-card.ouro ul li::before {
    color: #fff;
}

/* Botão invertido nos verdes */
.plano-card.bronze .botao-whats,
.plano-card.ouro .botao-whats {
    background-color: #ffffff;
    color: #25552b;
}

.plano-card.bronze .botao-whats:hover,
.plano-card.ouro .botao-whats:hover {
    background-color: #e0e0e0;
}

/* Plano Prata - destaque dourado */
.plano-card.prata {
    background-color: #C0C0C0;
    color: #333;
    border: 3px solid #000; 
}

.plano-card.prata ul li::before {
    color: #333;
}

/* Responsivo */
@media (max-width: 980px) {
    .planos-grid {
        grid-template-columns: 1fr;
    }

    .plano-card {
        max-width: 90%;
        margin: 0 auto;
    }
}
