/* CSS Design System - Karla Fonseca Advocacia */

:root {
    /* Cores do Design System */
    --color-primary: #6a4f3a;         /* Marrom principal (rgb 106, 79, 58) */
    --color-secondary: #c7a378;       /* Dourado médio (rgb 199, 163, 120) */
    --color-accent: #6d5a34;          /* Dourado/bronze escuro (rgb 109, 90, 52) */
    --color-bg-light: #f5f1eb;        /* Fundo bege claro (rgb 245, 241, 235) */
    --color-bg-white: #ffffff;        /* Fundo branco */
    --color-text-dark: #1a1a1a;       /* Texto escuro (rgb 26, 26, 26) */
    --color-text-medium: #242424;     /* Texto médio (rgb 36, 36, 36) */
    --color-text-muted: #5a5a5a;      /* Texto silenciado/cinza */
    --color-border: #b5aca5;          /* Cor da borda beige (rgb 181, 172, 165) */
    --color-border-light: rgba(181, 172, 165, 0.3);
    --color-whatsapp: #1bd626;        /* Verde do WhatsApp */
    --color-whatsapp-hover: #16b01e;
    
    /* Fontes */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --font-ui: 'Open Sans', 'Roboto', sans-serif;
    
    /* Espaçamentos e efeitos */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: -7px 7px 15px rgba(181, 172, 165, 0.4);
    --shadow-btn: 0 4px 10px rgba(106, 79, 58, 0.2);
    --shadow-card: 0 8px 25px rgba(181, 172, 165, 0.2);
    
    /* Dimensões Dinâmicas */
    --header-height: 10rem;
}

/* Reset Geral */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem; /* 16px */
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Containers */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

/* Cabeçalho / Menu */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 241, 235, 0.9);
    border-bottom: 1px solid var(--color-border-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    --header-height: 7.5rem; /* Dynamic header height shrink */
    background-color: rgba(245, 241, 235, 0.8); /* transparent off-white */
    backdrop-filter: blur(15px); /* blur content behind header */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(106, 79, 58, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    transition: var(--transition-smooth);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 6.5rem; /* starts larger */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 4.8rem; /* shrinks and centers vertically on scroll */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3.2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-medium);
    text-decoration: none;
    text-transform: capitalize;
    position: relative;
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
}

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

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

/* Botões (Redimensionados 1.3x / 30% maiores) */
.btn {
    display: inline-block;
    padding: 1.8rem 3.6rem; /* 1.3x larger padding */
    font-family: var(--font-ui);
    font-size: 1.7rem; /* 1.3x larger font-size */
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-align: center;
    border-radius: 0.6rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-header {
    padding: 1.5rem 2.6rem; /* 1.3x larger padding */
    font-size: 1.4rem; /* 1.3x larger font-size */
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

.btn-primary:hover, .btn-header:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(199, 163, 120, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.shadow-btn {
    box-shadow: var(--shadow-btn);
}

/* Botão Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 2.5rem;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* Seções Gerais */
section {
    padding: 10rem 0;
    overflow: hidden;
}

.section-header {
    margin-bottom: 6rem;
}

.text-center {
    text-align: center;
}

.subtitle {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-accent);
}

/* Seção Hero / Início */
.hero-section {
    background-color: var(--color-bg-light);
    padding-top: 18rem;
    padding-bottom: 10rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* balanced columns to allow larger image */
    gap: 6rem;
    align-items: center;
}

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

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.6rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-accent);
    margin-bottom: 2.4rem;
}

.hero-text {
    font-size: 1.8rem;
    line-height: 1.7;
    color: var(--color-text-medium);
    margin-bottom: 4rem;
    max-width: 54rem;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
    width: 100%;
}

.hero-badge-card {
    display: flex;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium);
    padding: 2.4rem 3.2rem;
    position: relative;
    max-width: 50rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.hero-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(181, 172, 165, 0.3);
}

.badge-accent-line {
    width: 5px;
    height: auto;
    background-color: var(--color-secondary);
    margin-right: 2.4rem;
    flex-shrink: 0;
}

.badge-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text-medium);
}

@media (min-width: 993px) {
    /* Overlap the quote card with the hero image background frame */
    .hero-badge-card {
        margin-right: -18rem;
        align-self: flex-start;
    }
}

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

.hero-image-shadow-effect {
    position: relative;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    width: 100%;
}

.hero-image-shadow-effect::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-secondary);
    z-index: -1;
    transition: var(--transition-smooth);
}

.hero-image-shadow-effect:hover::before {
    top: 1rem;
    left: -1rem;
}

.hero-img {
    width: 100%;
    max-width: 52rem; /* Increased size, maintains proportions */
    height: auto;
    display: block;
    object-fit: cover;
}

/* Seção Especialidades */
.practice-areas-section {
    background-color: var(--color-bg-white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.area-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 4.8rem 3.2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.area-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-card);
}

.area-icon-wrapper {
    height: 3.8rem; /* Reduced icon container size */
    margin-bottom: 2.4rem;
    display: flex;
    align-items: center;
}

.area-icon {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.area-card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 1.6rem;
}

.area-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Seção BPC / LOAS */
.bpc-loas-section {
    background-color: var(--color-bg-light);
}

.bpc-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8rem;
    align-items: center;
}

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

.bpc-description {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text-medium);
    margin-top: 2.4rem;
    margin-bottom: 3.2rem;
}

.bpc-features-list {
    list-style: none;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.bpc-feature-item {
    position: relative;
    padding-left: 3.6rem; /* Space for custom checkmark */
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    min-height: 2.6rem;
}

.bpc-feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary); /* Gold color */
    background-color: rgba(199, 163, 120, 0.12); /* Light gold circle background */
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpc-image-wrapper {
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.bpc-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bpc-image-wrapper:hover .bpc-img {
    transform: scale(1.03);
}

/* Seção Triagem */
.triage-section {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
}

.triage-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8rem;
    align-items: center;
}

.triage-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.triage-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-top: 1rem;
    margin-bottom: 2.4rem;
}

.triage-text {
    font-size: 1.6rem;
    color: var(--color-text-muted);
    max-width: 68rem;
    margin-bottom: 4rem;
    text-align: left;
}

.triage-image-wrapper {
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.triage-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.triage-image-wrapper:hover .triage-img {
    transform: scale(1.03);
}

/* Depoimentos */
.testimonials-section {
    background-color: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
}

.testimonial-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 4.8rem 3.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

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

.stars-image-wrapper {
    height: 1.3rem; /* smaller, more subtle stars */
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
}

.stars-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--color-text-medium);
    margin-bottom: 3rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* A Profissional / Sobre */
.about-section {
    background-color: var(--color-bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8rem;
    align-items: center;
}

.about-image-wrapper {
    box-shadow: var(--shadow-premium);
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-secondary);
    z-index: -1;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover::before {
    top: -1rem;
    right: -1rem;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-description {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text-medium);
    margin-top: 2.4rem;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
    margin-bottom: 4.8rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    padding-left: 1.6rem;
    border-left: 3px solid var(--color-secondary); /* Left gold accent line */
}

.value-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.value-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    color: var(--color-secondary); /* Gold accent text */
    text-transform: uppercase;
}

/* Contato & Atendimento */
.contact-section {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border-light);
}

.contact-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90rem;
    margin: 0 auto;
}

.contact-subtitle.text-center {
    text-align: center;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards-grid-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    width: 100%;
    margin-top: 2rem;
}

.info-card {
    display: flex;
    gap: 2rem;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 2.8rem;
    border-radius: 0.8rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 25px rgba(181, 172, 165, 0.35);
}

.info-card-icon {
    width: 4.8rem;
    height: 4.8rem;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-icon {
    width: 2.4rem;
    height: 2.4rem;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-accent);
}

.info-card-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-medium);
}

.info-card-link {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    align-self: flex-start;
    transition: var(--transition-smooth);
}

.info-card-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Footer / Rodapé */
.main-footer {
    background-color: #242424; /* Dark background requested */
    color: #e0e0e0;
    padding: 8rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 8rem;
    padding-bottom: 6rem;
}

.footer-logo {
    height: 12rem; /* Even larger footer logo for readability */
    width: auto;
    object-fit: contain;
    margin-bottom: 2.4rem;
}

.logo-white {
    filter: brightness(0) invert(1); /* Converts black/color logo to white */
}

.footer-desc {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #a0a0a0;
    max-width: 44rem;
}

.footer-socials {
    display: flex;
    gap: 1.4rem; /* redistributed spacing */
    margin-top: 2.4rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem; /* reduced to ~70% of current size (balanced size) */
    height: 4.2rem;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.12); /* scale hover effect */
}

.social-icon {
    width: 4.2rem; /* reduced to fit link box */
    height: 4.2rem;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2.4rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.footer-link {
    font-size: 1.4rem;
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 1.3rem;
    color: #777777;
    font-weight: 500;
    letter-spacing: 0.05rem;
}

/* Widget Flutuante do WhatsApp */
/* Widget Flutuante do WhatsApp (Removido por solicitação do usuário) */
.whatsapp-floating-widget {
    display: none !important;
}

/* Responsividade */

/* Telas Grandes e Médias (Notebooks e Desktops menores) */
@media (max-width: 1200px) {
    .hero-container, .bpc-container, .about-container, .contact-container, .footer-container {
        gap: 4rem;
    }
    .hero-title {
        font-size: 4.8rem;
    }
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem;
    }
}

/* Tablets e iPads */
@media (max-width: 992px) {
    section {
        padding: 8rem 0;
    }
    
    .hero-section {
        padding-top: 14rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 6rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge-card {
        margin: 0 auto;
    }
    
    .hero-image-wrapper {
        order: -1; /* Imagem fica em cima no tablet/mobile */
    }
    
    .bpc-container, .about-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .about-image-wrapper {
        max-width: 50rem;
        margin: 0 auto;
        order: -1;
    }
    
    .about-content {
        text-align: center;
        align-items: center;
    }
    
    .about-action {
        display: flex;
        justify-content: center;
    }
    
    .values-grid {
        justify-items: center;
    }
    
    .value-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bpc-image-wrapper {
        order: -1;
        max-width: 60rem;
        margin: 0 auto;
    }
    
    .bpc-content {
        text-align: center;
        align-items: center;
    }
    
    .bpc-features-list {
        align-items: center;
    }
    
    .bpc-action {
        display: flex;
        justify-content: center;
    }
    
    .contact-info-wrapper {
        text-align: center;
        align-items: center;
        gap: 4rem;
    }
    
    .info-block {
        align-items: center;
    }
}

/* Smartphones / Mobile */
@media (max-width: 768px) {
    /* Menu Hambúrguer Ativação */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-light);
        flex-direction: column;
        gap: 4rem;
        padding: 6rem 3.2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--color-border-light);
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 3.2rem;
    }
    
    .nav-link {
        font-size: 1.8rem;
    }
    
    /* Botões menores na versão mobile */
    .btn {
        padding: 1.2rem 2.4rem;
        font-size: 1.4rem;
    }
    
    .btn-header {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        white-space: nowrap;
        width: auto;
        display: inline-block;
    }
    
    /* Header toggle animations */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-section {
        padding-top: 12rem;
        padding-bottom: 6rem;
    }
    
    .hero-container {
        text-align: left; /* left aligned texts */
    }
    
    .hero-content {
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 3.4rem;
    }
    
    .hero-text {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1.6rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    /* Ajuste de proporções e outline da imagem na Head no mobile */
    .hero-image-shadow-effect {
        max-width: 28rem;
        margin: 0 auto 3rem auto;
        width: 100%;
    }
    
    .hero-image-shadow-effect::before {
        top: 1.2rem;
        left: -1.2rem;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 0;
    }
    
    /* Seções gerais */
    section {
        padding: 5rem 0; /* slightly less padding to reduce scrolling */
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Grid de Especialidades - Cards menores e quadrados (aspect-ratio: 1/1) */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .area-card {
        aspect-ratio: 1 / 1;
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .area-icon-wrapper {
        height: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .area-card-title {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
    }
    
    .area-card-text {
        font-size: 1.1rem;
        line-height: 1.35;
        color: var(--color-text-muted);
        margin: 0;
    }

    /* BPC Section - left aligned and smaller image */
    .bpc-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .bpc-features-list {
        align-items: flex-start;
    }
    
    .bpc-img {
        max-width: 30rem; /* smaller BPC image */
        margin: 0 auto;
        display: block;
    }

    /* Triagem Section - left aligned and smaller image */
    .triage-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .triage-text {
        text-align: left;
        margin-left: 0;
    }
    
    .triage-img {
        max-width: 30rem; /* smaller triage image */
        margin: 0 auto;
        display: block;
    }

    /* Testimonials - Menores e com alinhamento sutil */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.6rem;
        text-align: left;
    }
    
    .stars-image-wrapper {
        height: 1.1rem;
        margin-bottom: 1.2rem;
        justify-content: flex-start; /* left align stars */
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
        line-height: 1.5;
        margin-bottom: 1.4rem;
    }
    
    .testimonial-author {
        font-size: 1.4rem;
    }

    /* About Section - left aligned, smaller image, 2 col values grid */
    .about-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .about-img {
        max-width: 28rem; /* smaller about image */
        margin: 0 auto;
        display: block;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for values on mobile */
        gap: 1.6rem;
        width: 100%;
    }
    
    .value-item {
        align-items: flex-start;
        text-align: left;
        flex-direction: column;
    }

    /* Seção Contato */
    .contact-cards-grid-centered {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    
    .info-card {
        padding: 2.4rem 2rem;
        gap: 1.6rem;
    }
    
    /* Footer - horizontal links list */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .footer-desc {
        margin: 0 auto 2.4rem auto;
    }
    
    .footer-links-wrapper {
        align-items: center;
        width: 100%;
    }
    
    .footer-links {
        flex-direction: row; /* horizontal links on mobile */
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.6rem;
    }
    
    .main-footer {
        padding: 6rem 0 0 0;
    }
    
    /* Widget flutuante do WhatsApp em telas pequenas */
    .whatsapp-badge {
        display: none; /* Esconde a mensagem em telas pequenas para economizar espaço */
    }
    
    .whatsapp-floating-widget {
        bottom: 2rem;
        right: 2rem;
    }
    
    .whatsapp-icon-circle {
        width: 5.4rem;
        height: 5.4rem;
    }
    
    .whatsapp-icon-img {
        width: 2.8rem;
        height: 2.8rem;
    }
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

