/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
   :root {
    /* Colors */
    --off-white: #f6f6f6;
    --verde-oliva: #638455;
    --verde-palido: #d8f5cc;
    --verde-palido-20: rgba(216, 245, 204, 0.2);
    --verde-suave: #91c48a;
    --verde-escuro: #475141;
    --pessego: #f2e3c0;
    --azul-ceu: #c5d4d9;
    --amarelo-mostarda: #f1c001;
    
    --text-dark: #2d3748;
    --text-light: #ffffff;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.caveat-font {
    font-family: var(--font-accent);
}

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.mt-4 { margin-top: 2rem; }
.text-xl { font-size: 1.5rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--verde-oliva);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 132, 85, 0.3);
}

.btn-mustard {
    background-color: var(--amarelo-mostarda);
    color: var(--text-dark);
}

.btn-mustard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 192, 1, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 132, 85, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(99, 132, 85, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 132, 85, 0); }
}

/* ==========================================================================
   1. Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    background-color: transparent;
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: var(--off-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.scrolled .header-img-logo {
    transform: scale(0.85);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 80px; /* Fixa a altura do header para não ficar gigante */
}

.logo {
    display: flex;
    align-items: center;
    margin-top: -15px;
    margin-bottom: -15px;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    transition: var(--transition-fast);
    color: #ffffff; /* Texto branco pois sobrepõe a hero escura */
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.desktop-nav a:hover {
    color: var(--verde-oliva);
}

.header.scrolled .desktop-nav a {
    color: var(--text-dark);
    text-shadow: none;
}

.header.scrolled .desktop-nav a:hover {
    color: var(--verde-oliva);
}

.header-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hamburger Menu Clean (Mobile) */
.hamburger-btn {
    display: none; /* Escondido no desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger-btn .bar {
    width: 30px;
    height: 2px;
    background-color: var(--verde-oliva);
    transition: var(--transition-fast);
}

.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(246, 246, 246, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.overlay-link {
    font-size: 2rem;
    font-weight: 500;
    color: var(--verde-oliva);
    transition: var(--transition-fast);
}

.overlay-link:hover {
    color: var(--verde-oliva);
    transform: scale(1.1);
}

.overlay-link.btn-primary {
    color: #ffffff; /* Garante que o botão Fale Conosco fique branco no menu */
}

.overlay-link.btn-primary:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 10s ease-out;
}

.hero-media.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    backdrop-filter: blur(4px); /* Blur suave para destacar o texto */
    -webkit-backdrop-filter: blur(4px); /* Suporte safari */
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   3. Sobre Nós
   ========================================================================== */
.sobre {
    padding: 6rem 0;
    background-color: var(--verde-oliva);
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre .section-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--verde-palido);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.sobre .section-subtitle {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.2;
    color: var(--off-white);
    margin-bottom: 2rem;
}

.sobre-text {
    order: 2;
}

.sobre-image {
    order: 1;
}

.sobre-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--off-white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--verde-oliva);
}

.section-subtitle {
    font-size: 2rem;
    color: var(--pessego);
    margin-bottom: 1.5rem;
}

.sobre-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.organic-frame {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: var(--transition-slow);
}

.organic-frame:hover {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.organic-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. Especialidades
   ========================================================================== */
.especialidades {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.especialidades .section-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 500;
    color: var(--verde-oliva);
    margin-bottom: 1rem;
}

.especialidades .section-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.especialidade-card.vertical-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: transparent;
    cursor: pointer;
}

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

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.especialidade-card.vertical-card:hover .card-bg-img {
    transform: scale(1.08);
}

.card-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.card-content-overlay {
    position: relative;
    z-index: 3;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-badge-overlay {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.card-title-overlay {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 600;
}

/* ==========================================================================
   5. Nosso Processo
   ========================================================================== */
.processo {
    padding: 6rem 0;
    background-color: var(--verde-oliva);
}

.processo .section-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--verde-palido);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.processo .section-subtitle {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.2;
    color: var(--off-white);
    margin-bottom: 2rem;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-bottom: 4rem; /* Espaço para rolagem extra das cards empilhadas */
}

.process-card.sticky-card {
    position: sticky;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

/* Offsets para o efeito de empilhamento */
.process-card.sticky-card:nth-child(1) {
    top: 120px;
    z-index: 10;
}

.process-card.sticky-card:nth-child(2) {
    top: 150px;
    z-index: 20;
    background-color: #f8fafc;
}

.process-card.sticky-card:nth-child(3) {
    top: 180px;
    z-index: 30;
    background-color: #f1f5f9;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.step-number {
    font-family: var(--font-accent);
    font-size: 4rem;
    color: var(--verde-oliva);
    line-height: 1;
    opacity: 0.8;
}

.process-icon-new {
    width: 60px;
    height: 60px;
    background-color: var(--verde-palido);
    color: var(--verde-oliva);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-content-new h4 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--text-dark);
    margin-top: 1rem;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.process-content-new p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   6. Nossa Equipe
   ========================================================================== */
.equipe {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.equipe .section-title {
    font-size: 1rem; /* Tamanho igual do Nosso Processo */
    font-weight: 500;
    color: var(--verde-oliva);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.equipe .section-subtitle {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.2;
    color: var(--verde-oliva); /* Cor verde oliva conforme solicitado */
    margin-bottom: 2rem;
}

.equipe-zigzag {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.equipe-row-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra de destaque */
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center; /* Centraliza verticalmente texto e imagem */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipe-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Intercalar lados (zigue-zague) */
.equipe-row-card:nth-child(even) {
    flex-direction: row-reverse;
}

.membro-foto-nova {
    width: 45%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.membro-foto-nova img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.equipe-row-card:hover .membro-foto-nova img {
    transform: scale(1.05); /* Efeito de zoom na foto */
}

.membro-info-nova {
    width: 55%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.membro-nome {
    font-size: 1.6rem;
    color: var(--verde-oliva); /* Cor legível no claro */
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.membro-detalhe {
    margin-bottom: 1.2rem;
}

.membro-detalhe:last-child {
    margin-bottom: 0;
}

.detalhe-titulo {
    font-size: 0.8rem;
    color: var(--amarelo-mostarda);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.detalhe-texto {
    font-size: 0.9rem;
    color: var(--text-dark); /* Cor legível no claro */
    line-height: 1.5;
    border-left: 2px solid var(--amarelo-mostarda);
    padding-left: 0.8rem;
    margin-left: 2px;
}

/* ==========================================================================
   7. Convênios
   ========================================================================== */
.convenios {
    padding: 6rem 0;
    background-color: var(--off-white);
    overflow: hidden;
}

.convenios .section-title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    color: var(--verde-oliva);
    display: block;
    margin-bottom: 1rem;
}

.convenios .section-subtitle {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.convenios-marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.convenios-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(
        to right,
        hsl(0 0% 0% / 0),
        hsl(0 0% 0% / 1) 10%,
        hsl(0 0% 0% / 1) 90%,
        hsl(0 0% 0% / 0)
    );
}

.marquee-track {
    display: flex;
    gap: 4rem;
    padding-right: 4rem; /* Garante que o espaçamento no final seja igual ao gap para emendar com a próxima trilha */
    min-width: 100%;
    flex-shrink: 0;
    animation: scroll-left 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.convenio-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.convenio-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.convenio-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.convenios-suporte {
    background-color: var(--verde-oliva);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.suporte-titulo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.suporte-texto {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   8. Depoimentos
   ========================================================================== */
.depoimentos {
    padding: 6rem 0;
    background-color: var(--verde-oliva);
    color: var(--off-white);
}

.depoimentos .section-header {
    margin-bottom: 4rem;
}

.depoimentos .section-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--verde-palido);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.depoimentos .section-subtitle {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.2;
    color: var(--off-white);
    margin-bottom: 2rem;
}

.depoimentos-marquee-container {
    max-width: 800px;
    margin: 0 auto;
    height: 700px; /* Altura visível */
    position: relative;
    overflow: hidden;
    /* Degradê em cima e embaixo para o efeito infinito */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.depoimentos-marquee {
    display: flex;
    flex-direction: column;
    animation: scroll-vertical 40s linear infinite;
}

.depoimentos-marquee:hover {
    animation-play-state: paused;
}

.depoimentos-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem; /* Distância entre o fim da primeira trilha e o começo da segunda */
}

.depoimento-item {
    width: 100%;
}

.depoimento-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: block;
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ==========================================================================
   9. CTA Final
   ========================================================================== */
.cta-final {
    background-color: var(--verde-oliva);
    overflow: hidden;
    padding: 2rem 0; /* Adiciona um respiro acima e abaixo */
}

.cta-container {
    display: flex;
    align-items: center;
}

.cta-image {
    flex: 1;
    min-height: 400px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.cta-content {
    flex: 1;
    padding: 4rem;
}

/* ==========================================================================
   8. Localidade
   ========================================================================== */
.localidade {
    padding: 6rem 0;
    background-color: var(--off-white);
}

.localidade-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--verde-oliva);
    margin-top: 0.2rem;
}

.localidade-mapa .map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    filter: grayscale(100%);
    transition: filter 1.5s ease;
}

.localidade-mapa.is-visible .map-wrapper {
    filter: grayscale(0%);
}

/* ==========================================================================
   9. Rodapé
   ========================================================================== */
.footer {
    background-color: var(--verde-oliva);
    color: var(--off-white);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--off-white);
    margin-bottom: 1rem;
}

.footer-links h4, .footer-social h4 {
    color: var(--verde-palido);
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
    color: var(--off-white);
}

.footer-links a:hover {
    color: var(--verde-palido);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}

.social-icons a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--off-white);
}

.social-icons a:hover img {
    /* Filtro CSS para transformar em Verde Oliva (#638455) */
    filter: brightness(0) saturate(100%) invert(49%) sepia(11%) saturate(1478%) hue-rotate(67deg) brightness(94%) contrast(83%);
    transform: scale(1.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--off-white);
}

/* ==========================================================================
   Animations & Motion Classes
   ========================================================================== */
.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }
.delay-3 { transition-delay: 0.6s !important; }

/* Fade In */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Up */
.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Right (from left to right) */
.animate-slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}
.animate-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Left (from right to left) */
.animate-slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}
.animate-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Cascade (Especialidades) */
.animate-cascade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-cascade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Embrace (CTA) */
.animate-embrace .cta-image {
    opacity: 0;
    transform: perspective(1000px) rotateY(-10deg) translateX(-30px);
    transition: opacity 1s ease, transform 1s ease;
}
.animate-embrace .cta-content {
    opacity: 0;
    transform: perspective(1000px) rotateY(10deg) translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.animate-embrace.is-visible .cta-image,
.animate-embrace.is-visible .cta-content {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .equipe-row-card,
    .equipe-row-card:nth-child(even) {
        flex-direction: column;
    }
    
    .membro-foto-nova {
        width: 100%;
        min-height: 350px;
    }
    
    .membro-info-nova {
        width: 100%;
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .header-cta {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex;
        position: absolute;
        right: 2rem;
    }

    .sobre-container, .localidade-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .cta-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .process-line {
        left: 20px;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        font-size: 3rem;
        top: -10px;
    }
    
    .equipe-zigzag {
        gap: 3rem;
    }
    
    .sobre, .especialidades, .process, .equipe, .convenios, .depoimentos, .localidade {
        padding: 4rem 0;
    }
    
    .depoimentos-marquee-container {
        height: 450px;
    }
    
    .process-card.sticky-card {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .convenios-suporte {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-links a, .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        display: inline-flex;
    }
}
