@font-face {
    font-family: 'MyriadPro';
    src: url('fontes/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('fontes/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('fontes/MyriadPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --bg-header: #f5f0dc;
    --bg-banner: #e6d2b9;
    --bg-cream: #e6d2b9;
    --bg-light: #F4F1EA;
    --bg-white: #FFFFFF;
    --brand-orange: #B25D3A;
    --brand-brown: #9E7D5B;
    --text-dark: #333333;
    --text-light: #555555;
    --whatsapp-green: #37C85C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'MyriadPro', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-cream);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background-color: var(--bg-header);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(245, 240, 220, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 80px;
}

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

.main-nav a {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: normal;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav a:hover {
    color: var(--brand-orange);
}

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

.main-nav a.active {
    font-weight: 600;
    color: var(--brand-orange);
}

.main-nav a.active::after {
    width: 100%;
}

.whatsapp-icon {
    font-size: 30px !important;
    color: var(--whatsapp-green) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--brand-orange);
    cursor: pointer;
}

/* OFFCANVAS MENU */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-header);
    z-index: 1050; /* Above header */
    transition: right 0.3s ease, visibility 0.3s ease;
    padding: 40px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.offcanvas-menu.active {
    right: 0;
    visibility: visible;
}

.close-offcanvas {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 28px;
    margin-bottom: 30px;
    cursor: pointer;
    color: var(--brand-orange);
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offcanvas-nav a {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
}

.offcanvas-nav a.active {
    color: var(--brand-orange);
}

.whatsapp-link {
    background-color: var(--whatsapp-green);
    color: white !important;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.offcanvas-overlay.active {
    display: block;
}

/* HERO */
.hero {
    background-color: var(--bg-banner);
    padding: 60px 0 0 0; /* No bottom padding */
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Image hit the bottom */
}

.hero-content {
    flex: 1;
    padding-right: 20px; /* Reduced padding for overlap allowance */
    padding-bottom: 80px;
    position: relative;
    z-index: 2; /* Keep text above image background if any */
}

.hero-title {
    font-size: 45px;
    font-weight: 500;
    color: var(--brand-orange);
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Reduced hero-text size slightly for better fit with large title */
.hero-text {
    font-size: 19px;
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 500px;
}

.hero-image {
    flex: 1.8; /* Even bigger */
    display: flex;
    justify-content: flex-end;
    position: relative;
    max-width: 850px;
    margin-left: -100px; /* Force overlap with text area */
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

.name-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.name-overlay .name {
    display: block;
    font-size: 42px;
    font-family: 'Times New Roman', serif; /* Falling back to serif as requested by design aesthetic */
    font-style: italic;
    line-height: 1;
}

.name-overlay .title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* ACTION BANNER */
.action-banner {
    background-color: var(--brand-brown);
    padding: 30px 0;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.banner-container p {
    font-size: 20px;
    max-width: 600px;
    margin: 0;
}

.btn-orange {
    background-color: var(--brand-orange);
    color: white;
    padding: 15px 45px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(178, 93, 58, 0.2);
    cursor: pointer;
}

.btn-orange:hover {
    transform: translateY(-4px) scale(1.03);
    background-color: #9e5130;
    box-shadow: 0 8px 25px rgba(178, 93, 58, 0.4);
}

.btn-orange:active {
    transform: translateY(0) scale(0.98);
}

/* FEATURES GRID */
.features {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.features-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
    width: 100%;
}


.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.feature-title {
    color: var(--brand-orange);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.7;
}

.contact-card {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

/* ACOLHIMENTO SEC */
.acolhimento {
    background-color: var(--bg-white);
    padding: 20px 0 60px 0;
}

/* Seções com colunas flexíveis */
.acolhimento-grid, .transicoes-grid, .transformacao-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.image-col-base {
    flex: 0 0 450px;
}

.text-col {
    flex: 1;
    padding: 0 40px;
}

.section-title {
    color: var(--brand-orange);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.text-col p {
    font-size: 18px;
    line-height: 1.8;
}

.image-col {
    flex: 0 0 450px;
    width: 450px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease;
    flex-shrink: 0;
    align-self: center;
}

/* Ensure the image within follows the parent's shape */
.circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-col:hover .circle-img {
    transform: scale(1.1);
}

.align-right {
    display: flex;
    justify-content: flex-end;
}

/* PILARES SEC */
.pilares-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.pilares-grid {
    display: flex;
    justify-content: space-between;
}

.pilares-left {
    flex: 0 0 45%;
}

.pilares-right {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

.pilar-item p {
    font-size: 18px;
    line-height: 1.8;
}

/* Removida regra conflitante */

/* TRANSFORMACAO SEC */
.transformacao {
    background-color: var(--bg-white);
    padding: 20px 0 60px 0;
}

.transformacao-grid .image-col {
    margin-top: -120px;
}

.transformacao-grid {
    display: flex;
    align-items: center;
}

/* FOOTER */
.site-footer {
    background-color: var(--bg-cream);
    padding: 60px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-col-1, .footer-col-2, .footer-col-3 {
    flex: 1;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.bullet-list {
    list-style: none;
}

.bullet-list li {
    font-size: 16px;
    margin-bottom: 10px;
}

.bullet {
    color: var(--brand-brown);
    margin-right: 5px;
}

.doctoralia-link {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-col-3 p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-methods i {
    margin-right: 8px;
    font-size: 16px;
}

.whatsapp-color { color: var(--whatsapp-green); }
.instagram-color { color: #E1306C; }

/* OVERRIDES */
h1, h2, h3, h4 {
    font-weight: normal;
}

/* FAQ SECTION */
.faq {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.faq-question {
    color: var(--brand-orange);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* TESTIMONIALS SECTION */
.testimonials {
    background-color: var(--bg-cream);
    padding: 100px 0 160px; /* Mais espaço embaixo */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (min-width: 1200px) {
    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 14px;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--brand-brown);
    font-size: 15px;
    margin-top: auto;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* STAGGERED REVEALS */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .header-container {
        padding: 10px 20px;
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 0 !important;
    }

    .logo img {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin: 0;
    }

    .hero-container, .banner-container,
    .grid-2x2, .acolhimento-grid, .transicoes-grid,
    .pilares-grid, .transformacao-grid, .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .hero-container {
        gap: 0;
        flex-direction: column !important;
    }

    .hero-content {
        padding: 30px 20px 0px 20px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-text {
        font-size: 16px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }

    .hero-image img {
        width: 100%;
    }

    .name-overlay {
        position: absolute;
        bottom: 25px;
        right: 15px;
        text-align: right;
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    }

    .name-overlay .name {
        font-size: 28px;
    }

    .name-overlay .title {
        font-size: 12px;
    }

    .acolhimento-grid, .transformacao-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .acolhimento-grid .image-col, .transformacao-grid .image-col {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .text-col p, .pilar-item p {
        font-size: 15px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .features-action {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 30px;
        padding: 0;
    }

    .features-action .btn {
        display: block !important;
        width: 100% !important;
        padding: 18px 20px !important;
        box-sizing: border-box;
        text-align: center;
    }

    .circle-img {
        width: 100% !important;
        height: 100% !important;
        margin: 0;
    }

    .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px !important;
    }

    .image-col {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: 100%;
        aspect-ratio: 1 / 1 !important;
        margin: 0 auto !important;
    }
}
