/*
   CSS PARA VERSÃO B - Estilo Institucional e Clean
   Foco: Confiança, Clareza e Profissionalismo
*/

/* 1. RESET E CONFIGURAÇÕES GERAIS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --accent: #e49a69;
    --accent-dark: #c17a45;
    --bordeaux: #9e4c4c;
    --dark: #2b2b2b;
    --heading: #2b2b2b;
    --text: #5a5a5a;
    --muted: #8a8a8a;
    --light-bg: #f9fbfd;
    --soft-bg: #f4f6f8;
    --white: #ffffff;
    --border: #ececec;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2 {
    font-family: 'Playfair Display', serif;
    color: var(--heading);
    line-height: 1.25;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--heading);
}

/* 2. NAVBAR */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.navbar {
    padding: 1.1rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    position: relative;
    display: inline-grid;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.logo-primary,
.logo-hover {
    grid-area: 1 / 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
}

.logo-primary {
    opacity: 1;
}

.logo-hover {
    opacity: 0;
    transform: translateY(-2px);
}

.logo:hover .logo-primary,
.logo:focus-visible .logo-primary {
    opacity: 0;
    transform: translateY(-2px);
}

.logo:hover .logo-hover,
.logo:focus-visible .logo-hover {
    opacity: 1;
    transform: translateY(0);
}

.nav-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-instagram i {
    font-size: 18px;
}

.nav-instagram:hover,
.nav-instagram:focus-visible {
    color: var(--accent);
    transform: translateY(-1px);
}

/* 3. HERO */
.hero {
    padding-top: 76px;
    min-height: 680px;
    display: flex;
    align-items: center;
    background-color: #f7f1ec;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero-content {
    z-index: 2;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 1.5rem;
}

.hero-content .subheadline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: #555;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2.2rem;
}

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

.hero-image::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.12;
    right: -20px;
    top: -20px;
    z-index: -1;
}

.hero-image img {
    width: min(100%, 480px);
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.16);
}

/* 4. BOTÕES */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    background-color: var(--accent);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(228, 154, 105, 0.4);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border: 2px solid var(--accent);
    color: var(--accent-dark) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    cursor: pointer;
}

.cta-button-secondary:hover,
.cta-button-secondary:focus-visible {
    background-color: var(--accent);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* 5. SEÇÕES GERAIS */
section {
    padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted);
    font-weight: 300;
}

/* 6. SERVIÇOS */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.8rem 2rem;
    text-align: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1.4rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
    color: var(--heading);
}

.service-card p {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 300;
}

/* 7. SOBRE */
.about {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 4.5rem);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: min(100%, 480px);
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.16);
}

.about-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 1.4rem;
}

.about-text p {
    margin-bottom: 1.1rem;
    font-weight: 300;
}

.about-text blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--accent-dark);
    border-left: 3px solid var(--accent);
    padding-left: 1.2rem;
    margin: 1.6rem 0 0.5rem;
}

/* 8. DIFERENCIAIS */
.differentials {
    background-color: var(--white);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.differential-card {
    padding: 2.2rem 1.8rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.differential-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.differential-card i {
    font-size: 1.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.differential-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--heading);
}

.differential-card p {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 300;
}

/* 8.1 Avaliações do Google */
.google-reviews {
    background-color: #f9f5f1;
    text-align: center;
    overflow: hidden;
}

.google-reviews-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-reviews-container h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    max-width: 640px;
    margin-bottom: 1rem;
}

.google-reviews-intro {
    max-width: 620px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.google-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.google-rating .google-stars {
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--accent);
}

/* Carrossel de avaliações */
.reviews-carousel {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.reviews-viewport {
    flex: 1;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.google-review-card {
    flex: 0 0 calc(33.3333% - 16px);
    margin: 0 8px;
    padding: 2rem 1.2rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(228, 154, 105, 0.15);
    text-align: left;
    box-sizing: border-box;
}

.google-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.google-review-header strong {
    color: var(--heading);
    font-size: 1.05rem;
}

.google-review-header span {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.google-review-card p {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.google-review-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.google-review-footer i {
    color: var(--accent);
    font-size: 1rem;
}

.google-review-footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.google-review-footer a:hover,
.google-review-footer a:focus-visible {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Setas */
.reviews-arrow {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reviews-arrow:hover:not(:disabled),
.reviews-arrow:focus-visible {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.reviews-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Indicadores */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
    min-height: 10px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.reviews-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Botões */
.google-review-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.2rem;
    background-color: var(--accent);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.google-review-button i {
    font-size: 1rem;
}

.google-review-button:hover,
.google-review-button:focus-visible {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(228, 154, 105, 0.4);
}

.google-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-dark) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.google-profile-button:hover,
.google-profile-button:focus-visible {
    background-color: var(--accent);
    color: var(--white) !important;
    transform: translateY(-3px);
}

.google-reviews-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.google-reviews-note {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
}

/* 9. BRANDING */
.branding-section {
    background-color: var(--soft-bg);
    text-align: center;
}

.branding-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branding-text h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin-bottom: 1rem;
}

.branding-text p {
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.branding-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.branding-image {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    background-image: url('paciente-rita.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.branding-image:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.16);
}

.branding-logo {
    width: 300px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-logo img {
    width: 100%;
    height: auto;
}

/* 10. FOOTER */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    font-size: 1.9rem;
    color: var(--white);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a .fa-instagram { color: #E1306C; }
.social-links a .fa-whatsapp { color: #25D366; }

.social-links a:hover {
    transform: translateY(-4px);
}

footer p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 11. BOTÃO FLUTUANTE DO WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float i {
    font-size: 1.6rem;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 12. ANIMAÇÕES DE ENTRADA */
[data-animate] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animações do Hero */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.hero-content > * {
    animation: fadeUp 0.8s ease-out both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }

.hero-image img {
    animation: fadeInSide 0.9s ease-out 0.15s both;
}

/* 13. RESPONSIVIDADE */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: clamp(2.4rem, 5vw, 3.4rem);
    }

    .google-review-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content .subheadline {
        max-width: 520px;
    }

    .hero-content .cta-button {
        width: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 64px;
    }

    .hero-container {
        padding: 3rem 1.5rem 3.5rem;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero-content .subheadline {
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 380px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image img {
        width: 100%;
        max-width: 380px;
    }

    .whatsapp-float {
        padding: 13px;
        width: 56px;
        height: 56px;
        justify-content: center;
        border-radius: 50%;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float span {
        display: none;
    }

    .google-review-button {
        width: 100%;
        max-width: 380px;
        justify-content: center;
    }

    .google-review-card {
        flex: 0 0 calc(100% - 16px);
    }

    .reviews-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .reviews-arrow {
        display: none;
    }

    .reviews-carousel {
        gap: 0;
    }

    .google-reviews-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .google-profile-button {
        width: 100%;
        max-width: 380px;
    }
}

@media (max-width: 400px) {
    .hero-image img {
        max-width: 320px;
    }

    .about-image img {
        max-width: 320px;
    }

    .branding-image {
        width: min(100%, 240px);
    }
}

@media (max-width: 600px) {
    .nav-instagram span {
        display: none;
    }

    .navbar .logo {
        letter-spacing: 1px;
        font-size: 1.05rem;
    }
}

/* 14. ACESSIBILIDADE */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .logo-primary {
        opacity: 1;
        transform: none;
    }

    .logo-hover {
        display: none;
    }
}