/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors (from Manual de Identidade Visual) */
    --color-orange: #F49221;
    --color-tan: #C9A985;
    --color-yellow: #FDCE44;
    --color-black: #000000;
    --color-white: #FFFFFF;
    
    /* Semantic Extensions for Premium Look */
    --color-text-dark: #1E1E1E;
    --color-text-light: #666666;
    --color-bg-light: #FAFAFA;
    --color-bg-warm: #FFFBF5;
    --color-bg-white: #FFFFFF;
    --color-orange-glow: rgba(244, 146, 33, 0.15);
    --color-tan-glow: rgba(201, 169, 133, 0.15);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Fredoka', sans-serif;
    --font-accent: 'Caveat', cursive;
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 16px 40px rgba(244, 146, 33, 0.08);
    --shadow-hover: 0 20px 48px rgba(244, 146, 33, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Utility Classes */
.text-center { text-align: center; }
.font-handwritten { font-family: var(--font-accent); }
.font-heading { font-family: var(--font-heading); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 8px 24px var(--color-orange-glow);
}

.btn-primary:hover {
    background-color: #e07e12;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 146, 33, 0.25);
}

.btn-secondary {
    background-color: var(--color-bg-warm);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

.btn-secondary:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    background-color: var(--color-bg-warm);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-md {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.15rem;
}

.btn-xl {
    padding: 22px 44px;
    font-size: 1.25rem;
}

/* Pulse Micro-animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 146, 33, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(244, 146, 33, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 146, 33, 0);
    }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 133, 0.15);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-tan);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-orange);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 60px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, #FFFBF5 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-bg-warm);
    border: 1.5px dashed var(--color-tan);
    color: var(--color-orange);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    transform: rotate(-1deg);
}

.ribbon-icon {
    font-size: 1rem;
    color: var(--color-orange);
}

.hero-title {
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 40px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 500;
}

.bullet-icon-wrapper {
    color: var(--color-orange);
    font-size: 1.25rem;
    line-height: 1;
}

.bullet-text {
    color: var(--color-text-dark);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.organic-blob-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background-color: var(--color-yellow);
    opacity: 0.15;
    border-radius: 43% 57% 62% 38% / 45% 42% 58% 55%;
    z-index: 1;
    animation: morphBlob 12s ease-in-out infinite alternate;
}

@keyframes morphBlob {
    0% { border-radius: 43% 57% 62% 38% / 45% 42% 58% 55%; }
    50% { border-radius: 58% 42% 48% 52% / 54% 60% 40% 46%; }
    100% { border-radius: 43% 57% 62% 38% / 45% 42% 58% 55%; }
}

.hero-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 6px solid var(--color-white);
    transform: rotate(2deg);
    transition: var(--transition-normal);
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ==========================================================================
   SINAIS QUE MERECEM ATENÇÃO
   ========================================================================== */
.sinais-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(201, 169, 133, 0.1);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.sinais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.sinal-card {
    background-color: var(--color-bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 133, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sinal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-tan);
    opacity: 0.3;
    transition: var(--transition-fast);
}

.sinal-icon {
    font-size: 2.2rem;
    color: var(--color-orange);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.sinal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.sinal-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Hover effects for Cards */
.sinal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-orange-glow);
}

.sinal-card:hover::before {
    background-color: var(--color-orange);
    opacity: 1;
}

.sinal-card:hover .sinal-icon {
    transform: scale(1.15) rotate(5deg);
}

/* CTA Box */
.sinais-cta-box {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFFDFB 0%, #FFEFE0 100%);
    border: 2px dashed var(--color-orange);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.cta-box-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.cta-box-text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* ==========================================================================
   AVALIAR CEDO NÃO SIGNIFICA TRATAR CEDO
   ========================================================================== */
.desmistificacao-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.desmistificacao-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.desmistificacao-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.desmistificacao-decor-border {
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-tan);
    border-radius: var(--radius-lg);
    z-index: 1;
    transform: rotate(-1deg);
}

.desmistificacao-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 6px solid var(--color-white);
    transform: rotate(-2deg);
    transition: var(--transition-normal);
    max-width: 100%;
    height: auto;
}

.desmistificacao-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.section-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-tan);
    display: block;
    margin-bottom: 8px;
}

.desmistificacao-body {
    margin-top: 24px;
}

.desmistificacao-body p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.quote-card {
    background-color: var(--color-bg-warm);
    border-left: 5px solid var(--color-orange);
    padding: 20px 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0;
}

.quote-text {
    font-size: clamp(3.2rem, 8vw, 5rem);
    color: var(--color-orange);
    font-weight: 700;
    line-height: 1.2;
}

/* ==========================================================================
   COMO FUNCIONA A CONSULTA
   ========================================================================== */
.como-funciona-section {
    padding: 100px 0;
    background-color: var(--color-bg-warm);
    border-top: 1px solid rgba(201, 169, 133, 0.15);
    border-bottom: 1px solid rgba(201, 169, 133, 0.15);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.steps-timeline::after {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-tan);
    opacity: 0.3;
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: var(--color-bg-white);
    padding: 40px 24px 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 133, 0.1);
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-num {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-bg-warm);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.step-card:hover .step-num {
    background-color: var(--color-yellow);
    color: var(--color-text-dark);
    transform: translateX(-50%) scale(1.1);
}

.step-card h3 {
    margin-top: 15px;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.como-funciona-cta {
    margin-top: 40px;
}

/* ==========================================================================
   SOBRE A DRA. RAQUEL LOTTI
   ========================================================================== */
.sobre-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.sobre-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 80px;
}

.sobre-image-wrapper {
    position: relative;
}

.sobre-decor-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-tan);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.sobre-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.sobre-content {
    display: flex;
    flex-direction: column;
}

.sobre-body p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.highlight-paragraph {
    font-size: 1.2rem !important;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-orange) !important;
}

.sobre-credentials {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.credential-icon {
    font-size: 1.4rem;
    color: var(--color-tan);
    width: 32px;
}

/* ==========================================================================
   FINAL CALL TO ACTION
   ========================================================================== */
.cta-final-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-orange) 0%, #e07e12 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 90%, rgba(253, 206, 68, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.cta-final-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-final-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-final-logo-pb {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.cta-final-title {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-final-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-text-dark);
    color: #BBBBBB;
    padding: 80px 0 0 0;
    border-top: 3px solid var(--color-tan);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand .logo-title {
    color: var(--color-orange);
}

.footer-desc {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 400px;
}

.footer-clinic-logo-img {
    height: 280px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 1;
    margin: -85px -35px -85px -45px;
    vertical-align: middle;
}

.logo-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 4px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    color: var(--color-orange);
    width: 16px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.85rem;
}

.footer-bottom p {
    opacity: 0.7;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Ipads (Portrait & Landscape) */
@media (max-width: 992px) {
    .header-container {
        height: 70px;
    }
    
    .main-nav {
        display: none; /* Hide standard nav on tablet/mobile */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-bullets {
        align-self: center;
        text-align: left;
    }
    
    .hero-image-wrapper {
        order: -1; /* Place image above text on mobile */
        max-width: 450px;
        margin: 0 auto;
    }
    
    .sinais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .desmistificacao-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .desmistificacao-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .desmistificacao-visual {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .steps-timeline::after {
        display: none; /* Remove timeline connection line */
    }
    
    .step-card {
        padding-top: 45px;
    }
    
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .sobre-content {
        align-items: center;
    }
    
    .sobre-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .sobre-decor-border {
        left: -10px;
        top: 10px;
    }
    
    .sobre-credentials {
        align-items: flex-start;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .sinais-grid {
        grid-template-columns: 1fr;
    }
    
    .sinais-cta-box {
        padding: 24px 16px;
    }
    
    .btn-xl {
        padding: 16px 28px;
        font-size: 1.05rem;
        width: 100%;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
    }
    
    .header-cta {
        display: none; /* Hide header CTA button on small phones */
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTEGRATED WITH JS)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
