/* ==========================================
   DRA. AMANDA LIRA - SITE STYLES
   ========================================== */

/* CSS RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #138864;
    --primary-dark: #0B5F45;
    --accent-gold: #E4AC63;
    --accent-gold-dark: #D19443;
    --accent-gold-light: #FFD194;
    --white: #FFFFFF;
    --off-white: #FFFBF4;
    --dark: #2A2A2A;
    --dark-card: #2C2C2E;
    --text-gray: #777777;
    --text-dark: #333333;
    --border-gold: #EFE0C1;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn-cta {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(139deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--white);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid var(--border-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(228, 172, 99, 0.4);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 6px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 10px;
}

.nav-logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-cta {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    margin-top: 54px;
    background: url('docs/imgs/header-draamanda-min.jpg') center center / cover no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    color: var(--primary);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: var(--dark);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 28px;
}

.hero-btn {
    font-size: 21px;
    padding: 18px 40px;
}

/* ==========================================
   STATS COUNTER
   ========================================== */
.stats-section {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    margin-bottom: -50px;
    padding: 0 5%;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 40px;
    box-shadow: 2px 15px 22px 7px rgba(0, 0, 0, 0.25);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 400;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    border-left: 1.5px dashed rgba(19, 136, 100, 0.3);
}

/* ==========================================
   TRATAMENTOS
   ========================================== */
.tratamentos {
    position: relative;
    background: url('docs/imgs/bg-1-sessao-tratamentos.webp') center center / cover no-repeat fixed;
    padding: 120px 5% 80px;
    overflow: hidden;
}

.tratamentos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 136, 100, 0.75);
    z-index: 1;
}

.tratamentos-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title.white { color: var(--white); }

.section-subtitle {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
}

.section-subtitle.white { color: var(--white); }

.tratamentos-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.tratamentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tratamento-card {
    background: linear-gradient(180deg, #FFFFFF, #E6E6E6);
    border-radius: 30px;
    padding: 36px;
    transition: transform 0.3s ease;
}

.tratamento-card:hover {
    transform: translateY(-6px);
}

.tratamento-icon {
    color: var(--primary);
    font-size: 34px;
    margin-bottom: 18px;
}

.tratamento-title {
    color: var(--primary);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
}

.tratamento-desc {
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
}

.tratamentos-cta {
    text-align: center;
    padding-top: 10px;
}

/* ==========================================
   LIVRO SECTION
   ========================================== */
.livro-section {
    padding: 50px 0;
}

.livro-container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    display: flex;
    overflow: hidden;
}

.livro-content {
    flex: 1;
    padding: 20px 40px 20px 0;
}

.livro-title {
    color: var(--dark);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.livro-text {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 14px;
    font-weight: 400;
}

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

.livro-checklist {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.livro-checklist li {
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.livro-checklist li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.livro-btn {
    margin-top: 10px;
}

.livro-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.livro-image img {
    width: 130%;
    max-width: none;
    border-radius: 0 0 24px 0;
}

/* ==========================================
   SOBRE MIM
   ========================================== */
.sobre-mim {
    background: linear-gradient(180deg, var(--off-white), rgba(255, 251, 244, 0.63));
    padding: 80px 20px 70px;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
}

.sobre-photos {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    width: 45%;
}

.photo-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sobre-img {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.sobre-img:hover {
    transform: translateY(-6px);
}

.img-tall {
    height: 340px;
}

.img-short {
    height: 210px;
}

.img-medium {
    height: 240px;
}

.img-extra-tall {
    height: 310px;
}

.sobre-text {
    flex: 1;
}

.sobre-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--dark);
}

.sobre-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

.sobre-credentials {
    margin: 20px 0;
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.sobre-extra-wrapper {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    align-items: flex-start;
}

.sobre-extra-texts {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.sobre-extra-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sobre-extra-icon {
    color: #E4AC63;
    font-size: 26px;
    margin-bottom: 10px;
}

.sobre-extra-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.3;
}

.sobre-extra-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

.sobre-extra-photos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sobre-extra-photo {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.photo-top {
    height: 250px;
}

.photo-bottom {
    height: 380px;
}

/* ==========================================
   NA MÍDIA
   ========================================== */
.midia {
    position: relative;
    background: url('docs/imgs/bg-2-sessao-namidia.webp') center center / cover no-repeat fixed;
    padding: 60px 5%;
    overflow: hidden;
}

.midia-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 136, 100, 0.74);
    z-index: 1;
}

.midia-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.midia-title {
    text-align: center;
    margin-bottom: 20px;
}

.midia-subtitle {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 8px;
}

.midia-videos {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.midia-video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    width: 200px;
    aspect-ratio: 9/16;
    background: #000;
    cursor: pointer;
}

.midia-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.large {
    width: 72px;
    height: 72px;
    font-size: 24px;
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.midia-cta {
    text-align: center;
    margin-top: 10px;
}

/* ==========================================
   AGENDE CONSULTA
   ========================================== */
.agendar {
    padding: 80px 5%;
    background: var(--white);
}

.agendar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.agendar-info {
    flex: 1;
}

.agendar-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.agendar-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

.agendar-details {
    margin: 30px 0;
}

.agendar-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.agendar-detail i {
    color: var(--accent-gold-dark);
    font-size: 22px;
    margin-top: 4px;
    flex-shrink: 0;
}

.agendar-detail h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.agendar-detail p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.5;
}

.agendar-btn {
    margin-top: 10px;
}

.agendar-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agendar-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(19, 136, 100, 0.2);
}

.agendar-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    padding: 28px 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-copyright {
    color: var(--border-gold);
    font-size: 16px;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--border-gold);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--white);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
}

.animate-on-scroll.fade-up.visible {
    animation: fadeInUp 0.7s ease forwards;
}

.animate-on-scroll.fade-down.visible {
    animation: fadeInDown 0.7s ease forwards;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .hero-inner {
        padding: 60px 30px;
    }

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

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

    .tratamento-title {
        font-size: 30px;
    }

    .sobre-container {
        gap: 40px;
    }

    .sobre-title {
        font-size: 40px;
    }

    .agendar-title {
        font-size: 38px;
    }

    .stats-container {
        padding: 20px 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-suffix {
        font-size: 32px;
    }

    .sobre-extra-wrapper {
        flex-direction: column;
    }

    .sobre-extra-photos {
        flex-direction: row;
        width: 100%;
    }

    .sobre-extra-photo {
        width: 50%;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* HERO MOBILE */
    .hero {
        min-height: 660px;
        background-image: url('docs/imgs/header-mobile-minm.jpg');
        background-position: center bottom;
        background-size: cover;
        display: flex;
        align-items: flex-start;
    }

    .hero-inner {
        padding: 25px 20px 0;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 0;
    }

    .hero-title {
        font-size: 27px;
        text-align: center;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 14px;
        text-align: center;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        display: block;
        padding: 13px 18px;
        font-size: 16px;
    }

    /* STATS MOBILE */
    .stats-section {
        position: relative;
        z-index: 10;
        margin-top: -50px;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .stats-container {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 16px;
        gap: 0;
    }

    .stat-item {
        flex: 0 0 50%;
        padding: 10px 6px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-suffix {
        font-size: 26px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* TRATAMENTOS MOBILE */
    .tratamentos {
        position: relative;
        z-index: 1;
        padding: 150px 5% 50px;
        background-attachment: scroll;
        margin-top: -120px;
    }

    .tratamentos-grid {
        grid-template-columns: 1fr;
    }

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

    .section-subtitle {
        font-size: 17px;
    }

    .tratamento-title {
        font-size: 26px;
    }

    .tratamento-desc {
        font-size: 15px;
    }

    .tratamento-card {
        padding: 24px;
    }

    /* LIVRO MOBILE */
    .livro-container {
        flex-direction: column-reverse;
        margin: 0 15px;
    }

    .livro-content {
        padding: 24px 20px;
    }

    .livro-title {
        font-size: 28px;
    }

    .livro-text {
        font-size: 16px;
    }

    .livro-checklist li {
        font-size: 16px;
    }

    .livro-image img {
        width: 100%;
        max-width: 100%;
    }

    /* SOBRE MIM MOBILE */
    .sobre-mim {
        padding: 50px 15px;
    }

    .sobre-container {
        flex-direction: column;
        gap: 30px;
    }

    .sobre-photos {
        width: 100%;
    }

    .col-right {
        display: none;
    }

    .sobre-title {
        font-size: 30px;
    }

    .sobre-desc {
        font-size: 16px;
    }

    .sobre-extra-wrapper {
        flex-direction: column;
    }

    .sobre-extra-photos {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }

    .sobre-extra-photo {
        width: 50%;
        height: 200px;
    }

    .sobre-extra-item {
        margin-bottom: 20px;
    }

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

    /* MÍDIA MOBILE */
    .midia {
        background-attachment: scroll;
        padding: 40px 5%;
    }

    .midia-title {
        text-align: left;
        font-size: 30px;
    }

    .midia-subtitle {
        text-align: left;
        font-size: 16px;
    }

    .midia-videos {
        gap: 10px;
        justify-content: flex-start;
    }

    .midia-video-item {
        width: 150px;
    }

    /* AGENDAR MOBILE */
    .agendar {
        padding: 50px 5%;
    }

    .agendar-container {
        flex-direction: column;
    }

    .agendar-title {
        font-size: 28px;
    }

    .agendar-desc {
        font-size: 16px;
    }

    .agendar-video-wrapper {
        max-width: 100%;
        aspect-ratio: 9/16;
    }

    /* FOOTER MOBILE */
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .btn-cta {
        font-size: 17px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-suffix {
        font-size: 22px;
    }

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

    .sobre-title {
        font-size: 26px;
    }

    .agendar-title {
        font-size: 24px;
    }

    .livro-title {
        font-size: 24px;
    }

    .sobre-extra-photo {
        height: 160px;
    }
}
