/* 
* Dr. Daniel Araújo - Nutrologia e Performance Masculina
* Estilos principais do site
*/

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Cores principais */
    --primary: #0F172A;       /* Azul Muito Escuro */
    --secondary: #334155;     /* Cinza-Azulado */
    --accent: #0D4F3C;        /* Verde Floresta */
    --professional: #6B7280;  /* Cinza Médio */
    --background: #F8F9FA;    /* Off-white */
    --text: #1F2937;          /* Cinza Escuro/Quase Preto */
    --alert: #D9534F;         /* Vermelho Sóbrio */
    
    /* Cores funcionais */
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --medium-gray: #D1D5DB;
    --dark-gray: #4B5563;
    
    /* Gradientes modernos */
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, #1E293B 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, #475569 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, #134E4A 100%);
    --dark-gradient: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    
    /* Sombras modernas */
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    --hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    --text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    
    /* Efeitos de vidro */
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.15);
    --glass-blur: blur(8px);
    
    /* Fontes modernas */
    --title-font: 'Montserrat', 'Roboto', sans-serif;
    --body-font: 'Roboto', 'Open Sans', sans-serif;
    --accent-font: 'Montserrat', sans-serif; /* Usando uma fonte forte e sem serifa para citações */
    
    /* Tamanhos */
    --container-width: 1200px;
    --section-spacing: 7rem;
    --element-spacing: 2.5rem;
    --border-radius: 6px;     /* Bordas mais definidas */
    --border-radius-lg: 8px;  /* Bordas grandes, mas não excessivamente arredondadas */
    --border-radius-sm: 4px;  /* Bordas sutis */
}

/* ===== RESET E ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem units */
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.8rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

a:hover {
    color: var(--accent);
}

/* Modern underline effect for links */
a:not(.btn):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

a:not(.btn):hover:after {
    width: 100%;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

/* Modern selection styling */
::selection {
    background: var(--primary);
    color: var(--white);
    text-shadow: none;
}

/* ===== UTILITÁRIOS ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-family: var(--title-font);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-hero {
    background: var(--accent);
    color: var(--white);
    font-size: 1.05rem;
    padding: 1.2rem 2rem;
    box-shadow: 0 10px 20px rgba(13, 79, 60, 0.3);
    border-radius: var(--border-radius-lg);
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 79, 60, 0.4);
    background: #0A3F30;
}

.btn-nav {
    background: #1E5FA8;
    color: var(--white);
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.btn-nav:hover {
    background: #16478C;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--accent);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 15px rgba(13, 79, 60, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(13, 79, 60, 0.3);
    background: #0A3F30;
}

.btn-cta-large {
    background: var(--accent);
    color: var(--white);
    font-size: 1.3rem;
    padding: 1.3rem 3rem;
    margin: 0.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px rgba(13, 79, 60, 0.3);
}

.btn-cta-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 79, 60, 0.4);
    background: #0A3F30;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #1EBD5C;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large {
    background: #25D366;
    color: var(--white);
    font-size: 1.3rem;
    padding: 1.3rem 3rem;
    margin: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background: #1EBD5C;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.2);
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
    z-index: -1;
    transform: scale(1.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header text styles for desktop */
.header-text {
    text-align: center;
    flex-grow: 1;
    padding: 0 2rem;
}

.doctor-name {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--title-font);
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.doctor-specialty {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--professional);
    line-height: 1.2;
}

.header.scrolled .doctor-name {
    font-size: 1.1rem;
}

.header.scrolled .doctor-specialty {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .doctor-name {
        font-size: 1rem;
    }
    
    .doctor-specialty {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .doctor-name {
        font-size: 0.9rem;
    }
    
    .doctor-specialty {
        font-size: 0.75rem;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    background: url('../assets/img/m_hero.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--primary); /* Fallback */
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    min-height: 70vh;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 60vh;
        padding: 4rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 50vh;
        padding: 3rem 0 2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.25) 0%, rgba(31, 41, 55, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headline {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.8rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.subheadline {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PROBLEMS SECTION ===== */
.problems {
    padding: var(--section-spacing) 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.problem-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.problem-image {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--background);
}

@media (max-width: 768px) {
    .problem-img {
        aspect-ratio: 4/3;
        height: auto;
    }
}

@media (max-width: 480px) {
    .problem-img {
        aspect-ratio: 4/3;
        height: auto;
    }
}

.problem-card:hover .problem-img {
    transform: scale(1.05);
}

.problem-card h3 {
    margin: 1rem 0;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.problem-card p {
    color: var(--text);
    line-height: 1.8;
}

.empathy-message {
    text-align: center;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(10, 37, 64, 0.05);
    border-radius: var(--border-radius-lg);
    position: relative;
    border: 1px solid rgba(10, 37, 64, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== PREVIOUS ATTEMPTS SECTION ===== */
.previous-attempts {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.attempts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.attempt-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.attempt-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.attempt-item .icon-wrapper {
    margin: 0 auto 1.5rem;
    background: var(--secondary-gradient);
}

.attempt-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.attempts-conclusion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.empathy-text {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 500;
}

.fear-highlight {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 600;
    padding: 1.5rem;
    background: rgba(13, 79, 60, 0.08);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(13, 79, 60, 0.15);
}

/* ===== PHILOSOPHICAL PROBLEM SECTION ===== */
.philosophical-problem {
    padding: var(--section-spacing) 0;
    background: var(--dark-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.philosophical-problem .section-title {
    color: var(--white);
    margin-bottom: 3.5rem;
}

.philosophical-problem .section-title::after {
    background: var(--white);
}

.philosophical-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-box {
    margin: 3rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.quote {
    font-family: var(--accent-font);
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.philosophical-text {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ===== GUIDE SECTION ===== */
.guide {
    padding: var(--section-spacing) 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.guide-intro {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.guide-intro-text {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.doctor-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white);
    transition: transform 0.3s ease;
}

.guide-info:hover .doctor-img {
    transform: scale(1.05);
}

.empathy-image {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empathy-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.guide-info:hover .empathy-img {
    transform: scale(1.02);
}

.guide-info h3 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.credentials {
    color: var(--professional);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.education {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.medical-difference {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--primary);
}

.medical-difference h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.medical-difference ul {
    margin-top: 1rem;
}

.medical-difference li {
    margin-bottom: 1rem;
}

/* ===== PLAN SECTION ===== */
.plan {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.plan-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.plan-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.plan-image {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover .plan-img {
    transform: scale(1.05);
}

.step-card .icon-wrapper {
    margin: 0.5rem auto 1rem;
    background: var(--primary-gradient);
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.plan-difference {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(10, 37, 64, 0.05);
    border-radius: var(--border-radius);
}

.plan-difference h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.plan-difference ul {
    margin-left: 1.5rem;
}

.plan-difference li {
    margin-bottom: 0.5rem;
}

/* ===== CTA MAIN SECTION ===== */
.cta-main {
    padding: var(--section-spacing) 0;
    background: var(--primary-gradient);
    color: var(--white);
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-form, .whatsapp-option {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact-form h3, .whatsapp-option h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

.form-group input.error {
    border-color: var(--alert);
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.1);
}

.error-message {
    display: block;
    color: var(--alert);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.form-message.error {
    background-color: rgba(217, 83, 79, 0.1);
    border: 1px solid rgba(217, 83, 79, 0.3);
    color: var(--alert);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.whatsapp-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.response-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: center;
}

/* ===== FAILURE VS SUCCESS SECTION ===== */
.failure-success {
    padding: var(--section-spacing) 0;
    background-color: var(--background);
}

.comparison-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.failure-column, .success-column {
    padding: 2rem;
    border-radius: var(--border-radius);
}

.failure-column {
    background: rgba(107, 114, 128, 0.1);
}

.success-column {
    background: rgba(13, 79, 60, 0.08);
}

.failure-column h2, .success-column h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.failure-column h2 {
    color: var(--dark-gray);
}

.success-column h2 {
    color: var(--accent);
}

.consequence-item, .success-item {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.consequence-image, .success-image {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.consequence-img, .success-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.consequence-item:hover .consequence-img {
    transform: scale(1.05);
}

.success-item:hover .success-img {
    transform: scale(1.05);
}

.consequence-item i, .success-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.consequence-item i {
    color: var(--dark-gray);
}

.success-item i {
    color: var(--accent);
}

.consequence-item h3, .success-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.consequence-item h3 {
    color: var(--dark-gray);
}

.success-item h3 {
    color: var(--accent);
}

/* ===== ASPIRATIONAL SECTION ===== */
.aspirational {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.aspirational-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.aspirational-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ===== DESKTOP ESPECÍFICO (ACIMA DE 1024PX) ===== */
@media (min-width: 1025px) {
    /* Garantir que os problem cards sejam visíveis no desktop */
    .problems {
        display: block !important;
        padding: 7rem 0 !important;
        background-color: #F8F9FA !important;
    }
    
    .problem-cards {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2.5rem !important;
        margin-bottom: 4rem !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .problem-card {
        display: flex !important;
        flex-direction: column !important;
        background: #FFFFFF !important;
        padding: 2.5rem !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07) !important;
        border: 1px solid #D1D5DB !important;
        align-items: center !important;
        text-align: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }
    
    .problem-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    .problem-image {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .problem-img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4/3 !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 6px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: transform 0.3s ease !important;
        background-color: var(--background) !important;
    }
    
    .problem-card:hover .problem-img {
        transform: scale(1.05) !important;
    }
    
    .problem-card h3 {
        margin: 1rem 0 !important;
        color: #0F172A !important;
        font-weight: 600 !important;
        font-size: 1.5rem !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .problem-card p {
        color: #1F2937 !important;
        line-height: 1.8 !important;
        font-size: 1.05rem !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .empathy-message {
        display: block !important;
        text-align: center !important;
        font-size: 1.3rem !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        padding: 2.5rem !important;
        background: rgba(10, 37, 64, 0.05) !important;
        border-radius: 8px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Forçar visibilidade de todos os elementos da seção problems */
    .problems * {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .problems .problem-cards,
    .problems .problem-card,
    .problems .problem-image,
    .problems .problem-img,
    .problems .empathy-message {
        display: block !important;
    }
    
    .problems .problem-cards {
        display: grid !important;
    }
    
    .problems .problem-card {
        display: flex !important;
    }
    
    .problems .problem-image {
        display: flex !important;
    }
    
    /* Estilos finais para desktop */
    .problems {
        min-height: 500px !important;
        background: #F8F9FA !important;
        padding: 50px 0 !important;
    }
    
    .problem-cards {
        min-height: 300px !important;
        background: transparent !important;
        padding: 20px !important;
        margin: 20px auto !important;
        max-width: 1200px !important;
    }
    
    .problem-card {
        min-height: 200px !important;
        background: #FFFFFF !important;
        margin: 10px !important;
        width: 280px !important;
        position: relative !important;
        z-index: 1 !important;
    }
}
