/* ===== RESET E VARIÁVEIS GLOBAIS ===== */
:root {
    /* Cores Premium - Paleta Moderna baseada em #618056 */
    --primary-color: #618056;
    --secondary-color: #42573a;
    --accent-color: #65795e;
    --dark-color: #394f32;
    --light-color: #f5f7f4;
    --background-light: #f9fbf8;
    --white: #ffffff;
    --gray-100: #f0f3ef;
    --gray-200: #e1e6df;
    --gray-300: #c8d1c4;
    --gray-600: #66735f;
    --gray-800: #3a4236;
    --text-dark: #2d3748;

    /* Gradientes Premium */
    --gradient-primary: linear-gradient(135deg, #394f32, #618056);
    --gradient-secondary: linear-gradient(135deg, #30422b, #42573a);
    --gradient-accent: linear-gradient(135deg, #52664a, #65795e);
    --gradient-whatsapp: linear-gradient(135deg, #25D366, #128C7E);

    /* Sombras Modernas */
    --shadow-sm: 0 2px 4px rgba(97, 128, 86, 0.05);
    --shadow-md: 0 10px 25px rgba(97, 128, 86, 0.1);
    --shadow-lg: 0 20px 40px rgba(97, 128, 86, 0.15);
    --shadow-xl: 0 25px 50px rgba(97, 128, 86, 0.2);
    --shadow-primary: 0 10px 30px rgba(97, 128, 86, 0.2);

    /* Transições Suaves */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Tipografia Moderna */
    --font-heading: 'Cardo', serif;
    --font-body: 'Cardo', serif;

    /* Espaçamentos */
    --section-spacing: 120px;
    --container-padding: 2rem;
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--background-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    min-height: 100vh;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== TIPOGRAFIA ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
    display: inline-block;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */

/* Container de Nav Geral */
.main-nav,
.main-nav-blog {
    position: absolute;
    display: grid;
    background-color: transparent;
    z-index: 1000;
    padding: 2.7rem 0;
    transition: all var(--transition-base);
    width: 100%;
    place-items: center;
}

.nav-content {
    display: flex;
    justify-content: center;
    padding: 30px 70px;
    align-items: center;
    border-radius: 50px;
    width: contain;
    backdrop-filter: blur(10px);
}

/* Logo Geral */
.logo {
    position: relative;
    z-index: 1001;
}

.logo img {
    padding: 10px 0;
    height: 130px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Menu de Navegação Geral */
.nav-menu,
.nav-menu-blog {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a,
.nav-menu-blog a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a::before,
.nav-menu-blog a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-menu a:hover::before,
.nav-menu a.active::before,
.nav-menu-blog a:hover::before,
.nav-menu-blog a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu-blog a:hover,
.nav-menu-blog a.active {
    color: var(--light-color);
}

/* Botão de Toggle Geral */
.menu-toggle,
.menu-toggle-blog {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover,
.menu-toggle-blog:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle:focus,
.menu-toggle-blog:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Hero Geral */
.hero,
.hero-blog {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('Media/background\ hero.jpg');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    width: 100%;
    box-shadow: 0 10px 20px #618056e3;
}

.hero::before,
.hero-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    z-index: 1;
    background: linear-gradient(45deg, #618056c7, #42573aee);
}

.hero-content, .hero-content-blog {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--white);
    width: 100%;
}

.hero-content, .hero-content-blog img {
    height: 100%;
    width: auto;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.hero-content h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);
}

/* Botões CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-height: 56px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-base);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button i {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
}

.primary-cta {
    background: var(--gradient-whatsapp);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.primary-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.secondary-cta:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    color: white;
    background: var(--gradient-whatsapp);
}

.cta-button.large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.3);
}

/* ===== SEÇÃO SOBRE ===== */
.about {
    padding: var(--section-spacing) 0;
    background: var(--background-light);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-text p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
    border-radius: 20px;
}

.about-image img {
    width: 500px;
    height: auto;
    border-radius: 600px;
    filter: grayscale(0.2);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.212);
    transition: filter var(--transition-base);
}

.about-image:hover img {
    filter: grayscale(0);
}

.link-curriculo{
    text-decoration: none;
    background: linear-gradient(45deg, var(--accent-color), var(--dark-color));
    color: white;
    border-radius: 5px;
    padding: 10px 10px;
    box-shadow: 5px 5px 13px rgba(0, 0, 0, 0.884);
    transition: transform 1s ease-in, background 1s ease-out;
}

.link-curriculo:hover {
    background: linear-gradient(45deg, var(--dark-color), var(--accent-color));
}


/* ===== ESPECIALIDADES COM CARROSSEL ===== */
.specialties {
    padding: var(--section-spacing) 0;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    background-image: url('https://imgs.search.brave.com/YifhyUj4EmxfcC2RI4ObD-OkiUWmf8YzcaeFXDu6gKI/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9pbWcu/ZnJlZXBpay5jb20v/Zm90b3MtZ3JhdGlz/L2Z1bmRvLW91LXRl/eHR1cmEtZ3J1bmdl/LWRlLWZ1bmRvLWRl/LXBhcmVkZS12ZXJk/ZS1lc2N1cm9fMTI1/OC0xMDg3MzcuanBn/P3NlbXQ9YWlzX2h5/YnJpZCZ3PTc0MCZx/PTgw');
}

.container-specialties {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-specialties hr {
    width: 200px;
    margin: none;
    padding: none;
}

.section-header {
    display: grid;
    flex: 0 0 300px;
    text-align: center;
    margin-bottom: 0;
    place-items: center;
}

.section-header h2 {
    font-size: 3.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: none;
}

/* Carrossel */
.carousel-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    background-color: transparent;
    width: 70%;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.specialties-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.specialty-card {
    min-width: calc(33.333% - 20px);
    width: 300px;
    height: contain;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to left, var(--dark-color), var(--accent-color));
    background-size: cover;
    background-attachment: fixed;
    cursor: pointer;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.877);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.specialty-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 3;
}

.speciality-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.specialty-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
    line-height: 1.3;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.specialty-card p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

/* Ícone de seta que aparece no hover */
.specialty-card .card-link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    opacity: 0;
    transition: all var(--transition-base) 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.specialty-card .card-link-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform var(--transition-base);
}

/* Efeito de hover - conteúdo some, ícone aparece */
.specialty-card:hover .speciality-text,
.specialty-card:hover h3,
.specialty-card:hover p {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.specialty-card:hover .card-link-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.specialty-card:hover .card-link-icon svg {
    animation: arrowPulse 1.5s infinite ease-in-out;
}

/* Garantir que todo o card seja clicável */
.specialty-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    text-decoration: none;
}

/* Botões do carrossel */
.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--gradient-secondary);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Pontos de navegação */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* ===== HORIZONTAL TIMELINE (substituindo testemunhos) ===== */
.testimonials {
    padding: 30px 0;
    background: var(--background-light);
    min-height: auto;
    display: grid;
    margin-top: 50px;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 3rem;
    color: var(--secondary-color);
}

.horizontal-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1rem 0;
    /* Reduzido padding superior de 2rem para 1rem */
}

.timeline-base {
    position: absolute;
    top: 45px;
    /* Ajustado de 60px para 45px para acompanhar a redução */
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    opacity: 0.3;
    z-index: 1;
}

.timeline-points {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 70px;
}

.timeline-point-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.timeline-point {
    width: 60px;
    height: 60px;
    background: var(--dark-color);
    border: 4px solid var(--dark-color);
    border-radius: 50%;
    box-shadow: 0 0 15px black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    z-index: 3;
    cursor: pointer;
}

.point-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    transition: all var(--transition-base);
}

.timeline-point:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-xl);
}

.timeline-point:hover .point-number {
    color: var(--white);
}

.point-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    width: contain;
    min-width: 140px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    margin-top: 0.3rem;
    /* Reduzido de 0.5rem */
    animation: bounce 4s ease-in-out infinite;
}

.point-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

/* Efeito bounce nos cards */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Delay diferente para cada card */
.timeline-point-wrapper:nth-child(1) .point-card {
    animation-delay: 0s;
}

.timeline-point-wrapper:nth-child(2) .point-card {
    animation-delay: 0.2s;
}

.timeline-point-wrapper:nth-child(3) .point-card {
    animation-delay: 0.4s;
}

.timeline-point-wrapper:nth-child(4) .point-card {
    animation-delay: 0.6s;
}

.timeline-point-wrapper:nth-child(5) .point-card {
    animation-delay: 0.8s;
}

/* Pausa a animação no hover */
.timeline-point-wrapper:hover .point-card {
    animation-play-state: paused;
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.point-card h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.point-card p {
    color: var(--gray-700);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.point-card small {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
    background: rgba(58, 71, 96, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.contact-form-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-image: url('https://imgs.search.brave.com/YifhyUj4EmxfcC2RI4ObD-OkiUWmf8YzcaeFXDu6gKI/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9pbWcu/ZnJlZXBpay5jb20v/Zm90b3MtZ3JhdGlz/L2Z1bmRvLW91LXRl/eHR1cmEtZ3J1bmdl/LWRlLWZ1bmRvLWRl/LXBhcmVkZS12ZXJk/ZS1lc2N1cm9fMTI1/OC0xMDg3MzcuanBn/P3NlbXQ9YWlzX2h5/YnJpZCZ3PTc0MCZx/PTgw');
    background-size: cover;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-intro h2 {
    color: white;
    margin-bottom: 1rem;
}

.form-intro p {
    color: gray;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(97, 128, 86, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ===== ARTIGOS PREMIUM - CORRIGIDO ===== */
.articles {
    background: var(--white);
    position: relative;
    background-image: url('Media/background\ articles\ com\ opacidade\ baixa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 4rem 0;
    margin-top: 120px;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
}

.articles h2 {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gray-100);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.centralizador {
    display: grid;
    place-items: center;
    margin-top: 30px;
}

.articles-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* SEMPRE 3 COLUNAS */
    gap: 1.5rem;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    padding: 0 var(--container-padding);
    flex: 1;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.article-year {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-type {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    color: var(--secondary-color);
    font-weight: 700;
    min-height: 70px;
}

.article-content p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    margin-top: auto;
    padding: 0.8rem 1.2rem;
    background: var(--gray-100);
    border-radius: 10px;
    border: 1px solid transparent;
}

.read-more:hover {
    gap: 1rem;
    color: var(--white);
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.read-more i {
    font-size: 1.1rem;
}

/* ===== LOCALIZAÇÃO PREMIUM ===== */
.location-section {
    padding: 40px 0;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.location-header {
    text-align: center;
    margin-bottom: 4rem;
}

.location-header h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.text-highlight {
    color: var(--secondary-color);
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-secondary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.location-subtitle {
    color: var(--gray-600);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* INFO CARDS */
.location-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-secondary);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-base);
}

.info-card:hover .info-icon {
    transform: rotate(15deg) scale(1.1);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-address {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.info-address i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.info-features span {
    color: var(--gray-600);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.location-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.location-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left var(--transition-base);
}

.location-cta:hover::before {
    left: 0;
}

.location-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.cta-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.location-cta .fa-arrow-right {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform var(--transition-base);
}

.location-cta:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* MAP SECTION */
.location-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 490px;
}

.map-frame {
    width: 100%;
    height: 490px;
    position: relative;
}

.map-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== AJUDA LEGAL PREMIUM ===== */
.help {
    padding: var(--section-spacing) 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.help h2 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    margin-bottom: 1rem;
}

.help h4 {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* ===== FOOTER PREMIUM ===== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo img {
    max-width: 250px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--light-color);
    padding-left: 1rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contacts i {
    color: var(--light-color);
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contacts a:hover {
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.desenvolvedor {
    text-align: center;
}

.meu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meu-link-img {
    height: 20px; /* ou o tamanho desejado */
    width: auto;
}

/* .meu-link::after{
    content: url('Media/logo\ ancora\ pseudo.png');
    right: 0;
    display: inline;
    left: 0;
    position: relative;
    width: 5px;
    height: 5px;

} */


.footer-bottom a {
    color: var(--light-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-whatsapp);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.whatsapp-float i {
    color: white;
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2bff79, #19c5b1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-base);
}

.whatsapp-float a:hover::before {
    transform: scale(1);
}

.whatsapp-float a i {
    position: relative;
    z-index: 1;
}

.whatsapp-float a:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* ===== WAVES ===== */
.wave {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: 0;
    height: 100px;
}

.wave-top svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-top path {
    fill: var(--background-light);
}

.wave-bottom {
    bottom: 0;
}

.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: rotate(180deg);
}

.wave-bottom path {
    fill: var(--background-light);
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transition: all .7s;
    transform: translateX(-100%);
}

.hidden-blurless {
    opacity: 0;
    filter: blur(5px);
    transition: all .7s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0%);
}

/* ===== CSS DO BLOG ===== */

.blog-page {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--dark-color), var(--accent-color));
    min-height: calc(100vh - 400px);
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.blog-header h1 {
    font-family: 'Epilogue', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-header p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-text {
    z-index: 1;
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.accordion-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-item.active {
    border-left: 4px solid var(--primary-color);
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Epilogue', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a365d;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f8fafc;
}

.accordion-header.active {
    background-color: #f0f7ff;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-primary));
    color: rgb(0, 0, 0);
    margin-right: 15px;
    flex-shrink: 0;
}

.accordion-title {
    flex: 1;
    display: flex;
    align-items: center;
}

.accordion-title h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.accordion-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: white;
}

.accordion-content-inner {
    padding: 0 30px 30px;
}

.specialty-content {
    color: #4a5568;
    line-height: 1.8;
}

.specialty-content h4 {
    color: #1a365d;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 8px;
}

.specialty-content p {
    margin-bottom: 15px;
    margin-top: 30px;
}

.specialty-content ul {
    margin: 15px 0;
    padding-left: 10px;
}

.specialty-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.cta-box {
    background: linear-gradient(135deg, var(--gradient-primary));
    border-radius: 12px;
    color: white;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons a {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-whatsapp {
    background: #25D366;
    color: white;
}

.cta-buttons .btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ===== ANIMAÇÕES ===== */
@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ===== OTIMIZAÇÕES GERAIS ===== */

/* LAZY LOADING PARA IMAGENS */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* FOCUS STATES PARA ACESSIBILIDADE */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* SCROLLBAR PERSONALIZADA */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
/* ===== MEDIA QUERIES OTIMIZADAS - VERSÃO FINAL FUNDIDA ===== */

/* Tablet Landscape (1024px a 769px) */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
        --container-padding: 1.5rem;
    }

    .about {
        min-height: 40vh;
    }

    .about-text {
        width: auto;
    }

    .about-text h2 {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.6rem;
    }

    .about-image img {
        width: 100%;
        max-width: 500px;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .carousel-container {
        display: grid;
        margin-top: 50px;
    }

    .specialty-card {
        min-width: 300px;
    }

    .carousel-dots {
        display: none;
    }

    .hero,
    .hero-blog {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .nav-content {
        padding: 0 2rem;
        justify-content: space-between;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .specialties-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* ARTICLES - 3 COLUNAS COM AJUSTES */

    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .article-card {
        max-width: 100%;
    }

    .article-content {
        padding: 1.8rem;
    }

    .article-content h3 {
        font-size: 1.0rem;
        min-height: 65px;
    }

    .article-content p {
        font-size: 0.85rem;
    }

    .map-container {
        height: 450px;
    }

    .testimonials {
        min-height: auto;
        padding: 20px 0;
    }

    .info-card {
        min-width: 400px;
    }

    /* Menu Mobile */
    .nav-menu,
    .nav-menu-blog {
        display: none;
        position: fixed;
        top: 0;
        width: 300px;
        height: auto;
        background: var(--gradient-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left var(--transition-base);
        z-index: 1000;
        padding: 2rem;
        border-radius: 10px;
    }

    .main-nav{
        display: flex;
        align-items:right;
    }

    .nav-menu.active{
        left: 0;
        display: flex;
    }
    .nav-menu-blog.active {
        left: 0;
        display: flex;
        width: 100%;
    }

    .nav-menu a,
    .nav-menu-blog a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
        min-height: 60px;
    }

    .menu-toggle,
    .menu-toggle-blog {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero {
        min-height: 101vh;
    }

    /* Ajustes Timeline */
    .timeline-points {
        gap: 40px;
    }

    .timeline-point-wrapper {
        width: 90px;
    }

    .point-card {
        min-width: 150px;
    }

    .footer-links a{
        font-size: 0.8rem;
    }
}

/* Tablet Portrait (768px a 577px) */
@media (max-width: 768px) {
    .hero,
    .hero-blog {
        min-height: 100vh;
        padding: 100px 0 40px;
    }

    .hero::before,
    .hero-blog::before {
        height: 100vh;
    }

    .nav-content {
        padding: 15px 20px;
        width: 90%;
        justify-content: flex-start;
        backdrop-filter: none;
    }

    .hero-content img {
        width: 100%;
    }

    /* Menu Mobile */
    .nav-menu,
    .nav-menu-blog {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--gradient-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left var(--transition-base);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-menu.active,
    .nav-menu-blog.active {
        left: 0;
        display: flex;
    }

    .nav-menu a,
    .nav-menu-blog a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
        min-height: 60px;
    }

    .menu-toggle,
    .menu-toggle-blog {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .menu-toggle.active i,
    .menu-toggle-blog.active i {
        transform: rotate(90deg);
    }

    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specialty-card {
        min-height: 110px;
        padding: 0.5rem;
        width: 100%;
    }

    .specialty-icon {
        height: 250px;
    }

    .speciality-text h3 {
        margin-top: 20px;
    }

    /* ARTICLES - 3 COLUNAS COM AJUSTES */
    .articles-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }

    .article-card {
        max-width: 100%;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
        min-height: 60px;
        margin-bottom: 1rem;
    }

    .article-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .article-meta {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .article-year, .article-type {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .read-more {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .read-more {
        font-size: 0.8rem;
    }

    .article {
        height: 130vh;
    }

    /* Responsividade do Blog */
    .blog-page {
        padding: 60px 0 20px;
    }

    .blog-header h1 {
        font-size: 2.2rem;
    }

    .blog-header p {
        font-size: 1.1rem;
    }

    .accordion-header {
        padding: 20px;
        font-size: 1.2rem;
    }

    .accordion-content-inner {
        padding: 0 20px 20px;
    }

    .accordion-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }

    /* Ajustes Timeline Tablet */
    .testimonials {
        padding: 15px 0;
        margin-top: 30px;
    }

    .testimonials-title {
        margin-bottom: 2rem;
        margin-top: 1.5rem;
        font-size: 1.8rem;
    }

    .horizontal-timeline {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .timeline-base {
        top: 40px;
        width: 100%;
    }

    .timeline-points {
        width: 100%;
        gap: 30px;
    }

    .timeline-point {
        margin-bottom: 20px;
    }

    .point-card {
        min-width: 120px;
    }
}

/* Mobile Médio (576px a 481px) */
@media (max-width: 576px) {
    .hero,
    .hero-blog {
        min-height: 100vh;
        padding: 80px 0 30px;
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .hero::before,
    .hero-blog::before {
        height: 100vh;
    }

    .hero-content {
        text-align: left;
        padding: 0 20px;
    }

    .hero-content h1 {
        text-align: left;
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.1rem;
    }

    .nav-content {
        padding: 10px 15px;
        width: 95%;
        justify-content: flex-start;
        backdrop-filter: none;
    }

    .logo img {
        height: 80px;
    }

    .specialty-card {
        height: auto;
        min-height: 110px;
        padding: 2rem;
        width: 100%;
        min-width: 100%;
    }

    .map-container {
        height: 300px;
    }

    .info-features {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-column h3::after {
        left: 0;
        transform: none;
    }

    .footer-links a {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .wave-top svg {
        height: 40px;
    }

    .wave-bottom svg {
        height: 30px;
    }

    /* Carrossel Mobile */
    .specialties {
        padding: calc(var(--section-spacing) / 1.5) 0;
        min-height: auto;
        background-attachment: scroll;
        background-position: center;
    }

    .container-specialties {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
        width: 100%;
    }

    .section-header {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
        margin-top: 20px;
    }

    .section-header hr {
        display: none;
    }

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 1.4rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    .carousel-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .carousel-wrapper {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-wrapper {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .specialties-carousel {
        display: flex;
        gap: 0;
        width: 100%;
    }

    .specialty-card {
        min-height: 110px;
        padding: 2rem;
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
    }

    .specialty-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .specialty-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        margin: 0;
    }

    .carousel-btn.prev-btn {
        left: 10px;
    }

    .carousel-btn.next-btn {
        right: 10px;
    }

    .carousel-dots {
        display: flex;
        margin-top: 1rem;
        gap: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .specialty-card::before {
        opacity: 0.7;
    }

    .specialty-card:hover .speciality-text,
    .specialty-card:hover h3,
    .specialty-card:hover p {
        opacity: 0.3;
        transform: translateY(10px);
    }

    .specialty-card .card-link-icon {
        width: 50px;
        height: 50px;
    }

    /* Seção Sobre - vertical */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
    }

    .about-text h2 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        text-align: justify;
        line-height: 1.6;
    }

    /* ARTICLES - 3 COLUNAS COM AJUSTES */
    .articles {
        min-height: 100vh;
        height: auto;
        padding: 2.5rem 0;
        background: linear-gradient(45deg, black, gray);
    }

    .articles h2 {
        margin-top: 20px;
    }

    .articles-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .article-content {
        padding: 1rem;
    }

    .article-content h3 {
        font-size: 0.95rem;
        min-height: 50px;
        margin-bottom: 0.6rem;
    }

    .article-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .article-meta {
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .article-year, .article-type {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }

    .read-more {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer img {
        display: none;
    }

    .footer h3 {
        text-align: left;
    }

    /* Timeline */
    .testimonials {
        padding: 10px 0;
        margin-top: 20px;
    }

    .testimonials-title {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
        font-size: 1.6rem;
    }

    .timeline-base {
        top: 38px;
        width: 100%;
    }

    .timeline-points {
        width: 100%;
        height: auto;
        gap: 10px;
    }

    .timeline-point {
        margin-bottom: 15px;
    }

    /* .point-card {
        min-width: 110px;
        padding: 0.8rem;
    } */

    .point-card h4 {
        font-size: 0.9rem;
    }

    .point-card p {
        font-size: 0.75rem;
    }

    /* .point-card small {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    } */
}

/* Mobile Pequeno (até 528px) - Timeline Vertical */
@media (max-width: 528px) {
    .hero,
    .hero-blog {
        min-height: 100vh;
        padding: 80px 0 30px;
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .hero::before,
    .hero-blog::before {
        height: 100vh;
    }

    .hero-content {
        text-align: left;
        padding: 0 20px;
    }

    .hero-content h1 {
        text-align: left;
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.1rem;
    }

    .nav-content {
        padding: 10px 15px;
        width: 95%;
        justify-content: flex-start;
        backdrop-filter: none;
    }

    .logo img {
        height: 80px;
    }

    .specialty-card {
        height: auto;
        min-height: 110px;
        padding: 2rem;
        width: 100%;
        min-width: 100%;
    }

    .map-container {
        height: 300px;
    }

    .info-features {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-column h3::after {
        left: 0;
        transform: none;
    }

    .footer-links a {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }



    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .wave-top svg {
        height: 40px;
    }

    .wave-bottom svg {
        height: 30px;
    }

    /* Carrossel Mobile */
    .specialties {
        padding: calc(var(--section-spacing) / 1.5) 0;
        min-height: auto;
        background-attachment: scroll;
        background-position: center;
    }

    .container-specialties {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
        width: 100%;
    }

    .section-header {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
        margin-top: 20px;
    }

    .section-header hr {
        display: none;
    }

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 1.4rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    .carousel-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .carousel-wrapper {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-wrapper {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .specialties-carousel {
        display: flex;
        gap: 0;
        width: 100%;
    }

    .specialty-card {
        min-height: 110px;
        padding: 2rem;
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
    }

    .specialty-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .specialty-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        margin: 0;
    }

    .carousel-btn.prev-btn {
        left: 10px;
    }

    .carousel-btn.next-btn {
        right: 10px;
    }

    .carousel-dots {
        display: flex;
        margin-top: 1rem;
        gap: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .specialty-card::before {
        opacity: 0.7;
    }

    .specialty-card:hover .speciality-text,
    .specialty-card:hover h3,
    .specialty-card:hover p {
        opacity: 0.3;
        transform: translateY(10px);
    }

    .specialty-card .card-link-icon {
        width: 50px;
        height: 50px;
    }

    /* Seção Sobre */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
    }

    .about-text h2 {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 1.0rem;
        text-align: justify;
        line-height: 1.6;
    }

    /* ARTICLES - 3 COLUNAS COM AJUSTES */
    .articles {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0;
    }

    .articles h2 {
        margin-top: 20px;
    }

    .articles-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.8rem;
    }

    .article-content {
        padding: 0.8rem;
    }

    .article-content h3 {
        font-size: 0.9rem;
        min-height: 45px;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .article-content p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }

    .article-meta {
        gap: 0.3rem;
        margin-bottom: 0.5rem;
    }

    .article-year, .article-type {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }

    .read-more {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.3rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer img {
        display: none;
    }

    .footer h3 {
        text-align: left;
    }

    /* TIMELINE VERTICAL */
    .testimonials {
        padding: 20px 0;
        margin-top: 20px;
    }

    .testimonials-title {
        margin-bottom: 2rem;
        margin-top: 1rem;
        font-size: 1.6rem;
    }

    .horizontal-timeline {
        padding: 0;
        max-width: 100%;
        position: relative;
    }

    .horizontal-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        border-radius: 4px;
        opacity: 0.3;
        z-index: 1;
    }

    .timeline-base {
        display: none;
    }

    .timeline-points {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .timeline-point-wrapper {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0;
        position: relative;
        z-index: 3;
    }

    .timeline-point {
        margin-bottom: 10px;
    }

    .point-card {
        min-width: 100%;
        width: 100%;
        margin-top: 0;
        animation: bounce 4s ease-in-out infinite;
    }

    .point-card::before {
        top: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid var(--white);
    }

    .timeline-point-wrapper:nth-child(1) .point-card,
    .timeline-point-wrapper:nth-child(2) .point-card,
    .timeline-point-wrapper:nth-child(3) .point-card,
    .timeline-point-wrapper:nth-child(4) .point-card,
    .timeline-point-wrapper:nth-child(5) .point-card {
        animation-delay: 0s;
    }

    .timeline-point {
        width: 50px;
        height: 50px;
    }

    .point-number {
        font-size: 1rem;
    }
}

/* Mobile Extra Pequeno (até 425px) */
@media (max-width: 425px) {
    :root {
        --container-padding: 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h3 {
        font-size: 1rem;
    }

    .nav-content {
        padding: 8px 12px;
        width: 98%;
    }

    .logo img {
        height: 65px;
    }

    .carousel-btn {
        display: none;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* ARTICLES */
    .articles {
        padding: 1.5rem 0;
    }

    .articles-grid {
        gap: 0.6rem;
    }

    .article-content {
        padding: 0.6rem;
    }

    .article-content h3 {
        font-size: 0.9rem;
        min-height: 40px;
        margin-bottom: 0.4rem;
    }

    .article-content p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .article-meta {
        gap: 0.2rem;
        margin-bottom: 0.4rem;
    }

    .article-year, .article-type {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }

    .read-more {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
    }

    .testimonials-title {
        font-size: 1.4rem;
    }

    .timeline-point-wrapper {
        max-width: 260px;
    }

    .point-card {
        padding: 0.8rem;
    }
}

/* Mobile Muito Pequeno (até 375px) */
@media (max-width: 376px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .nav-content {
        padding: 6px 10px;
    }

    .specialty-card {
        min-height: 100px;
        padding: 1.5rem;
    }

    .testimonials-title {
        font-size: 1.3rem;
        padding: 20px;
    }

    .timeline-point-wrapper {
        max-width: 240px;
    }

    .point-card {
        padding: 0.7rem;
    }

    .point-card h4 {
        font-size: 0.9rem;
    }

    .point-card p {
        font-size: 0.75rem;
    }

    .point-card small {
        font-size: 0.65rem;
    }

    /* ARTICLES */
    .articles-grid {
        gap: 0.5rem;
    }

    .article-content {
        padding: 0.5rem;
    }

    .article-content h3 {
        font-size: 0.8rem;
        min-height: 35px;
    }

    .article-content p {
        font-size: 0.65rem;
    }

    .read-more {
        font-size: 0.6rem;
        padding: 0.2rem 0.3rem;
    }
}

/* Media Queries de Altura */
@media (max-height: 1024px) {
    .articles {
        min-height: 100vh;
        height: auto;
    }
    .horizontal-timeline {
        overflow-x: hidden;
        padding: 10px 60px ;
    }
}

@media (max-height: 990px) {
    .articles {
        min-height: 100vh;
        height: auto;
    }
}

@media (max-height: 915px) {
    .articles {
        min-height: 80vh;
        height: auto;
    }
}

@media (max-height: 882px) {
    .articles {
        min-height: 100vh;
        height: auto;
    }

    .about {
        padding: 70px 10px;
        min-height: auto;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-image img {
        /* width:80%; */
        min-width: 350px;
    }

    .about-text h2 {
        font-size: 2.0rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-height: 667px) {
    .articles {
        min-height: 100vh;
        height: auto;
    }

    .article-card{
        height: 100%;
    }
}

/* Landscape Media Queries */
@media (max-height: 600px) and (orientation: landscape) {
    .hero,
    .hero-blog {
        min-height: 100vh;
        padding: 100px 0 40px;
    }

    .hero::before,
    .hero-blog::before {
        height: 100vh;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .hero-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .nav-content {
        padding: 8px 25px;
        justify-content: flex-start;
    }

    .logo img {
        height: 70px;
    }

    .nav-menu a,
    .nav-menu-blog a {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        min-height: 45px;
    }

    .about {
        padding: 60px 30px;
        min-height: auto;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-image img {
        /* width:80%; */
        min-width: 350px;
    }

    .about-text h2 {
        font-size: 2.0rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }

    .specialties {
        padding: 90px 50px ;
        min-height: auto;
    }

    .container-specialties {
        flex-direction: row;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }

    .section-header {
        flex: 0 0 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.2rem;
    }

    .carousel-container {
        width: calc(100% - 230px);
    }

    .carousel-wrapper {
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
    }

    .specialties-carousel {
        display: flex;
        gap: 15px;
    }

    .specialty-card {
        min-width: 200px;
        flex: 0 0 auto;
        padding: 1.5rem;
        min-height: 100px;
        height: auto;
        /* scroll-snap-align: start; */
    }

    .specialty-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .specialty-card p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        display: none !important;
    }

    .carousel-dots {
        display: none;
        margin-top: 0.5rem;
    }

    .testimonials {
        padding: 15px 0;
        margin-top: 20px;
        min-height: auto;
    }

    .testimonials-title {
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        font-size: 1.8rem;
    }

    .horizontal-timeline {
        max-width: 100%;
    }

    .timeline-base {
        top: 40px;
        width: 100%;
    }

    .timeline-points {
        gap: 10px;
    }

    .timeline-point-wrapper {
        width: auto;
    }

    .timeline-point {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .point-number {
        font-size: 1.1rem;
    }

    .point-card {
        min-width: 130px;
        padding: 0.8rem;
    }

    .point-card h4 {
        font-size: 0.9rem;
    }

    .point-card p {
        font-size: 0.75rem;
    }

    .point-card small {
        font-size: 0.65rem;
    }

    /* ARTICLES EM LANDSCAPE */
    .articles {
        min-height: 100vh;
        height: 120vh;
        padding: 2rem 0;
        margin-top: 40px;
    }

    .articles h2 {
        margin-top: 40px;
    }

    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .article-card {
        min-height: 280px;
    }

    .article-content {
        padding: 1.2rem;
    }

    .article-content h3 {
        font-size: 1rem;
        min-height: 45px;
    }

    .article-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .read-more {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .location-section {
        padding: 30px 0;
    }

    .location-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .map-container {
        height: 300px;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .help {
        padding: 50px 0;
        min-height: 40vh;
    }

    .help h2 {
        font-size: 2rem;
    }

    .help h4 {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .footer-logo img {
        max-width: 180px;
    }

    .footer-logo p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Landscape para telas muito pequenas */
@media (max-height: 400px) and (orientation: landscape) {
    .hero,
    .hero-blog {
        min-height: 140vh;
        padding: 80px 0 30px;
    }

    .hero::before,
    .hero-blog::before {
        height: 145vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h3 {
        font-size: 1rem;
    }

    .logo img {
        height: 55px;
    }

    .nav-content {
        padding: 5px 20px;
    }

    .nav-menu a,
    .nav-menu-blog a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .specialty-card {
        min-width: 240px;
        padding: 1.2rem;
        min-height: 180px;
    }

    .timeline-point {
        width: 45px;
        height: 45px;
    }

    .point-card {
        min-width: 110px;
        padding: 0.6rem;
    }

    /* ARTICLES */
    .articles {
        min-height: 160vh;
        padding: 1.5rem 0;
    }

    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .article-content {
        padding: 1rem;
    }

    .article-content h3 {
        font-size: 0.9rem;
        min-height: 35px;
    }

    .article-content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .map-container {
        height: 250px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logo img {
        max-width: 150px;
    }
}

/* Ajustes para tablets em landscape */
@media (min-width: 1025px) and (orientation: landscape) {
    .container {
        max-width: 1400px;
    }

    .articles {
        min-height: 100vh;
        height: auto;
    }
}

/* Correções de orientação */
@media (orientation: portrait) {
    .hero,
    .hero-blog,
    .specialties {
        background-attachment: scroll;
    }
}

