/*
Theme Name: PsicologoDanielRoschel
Theme URI: https://danielroschel.com.br
Description: Tema personalizado para o site do Psicólogo Daniel Roschel, convertido de HTML estático.
Version: 1.0.0
Text Domain: psicologo-daniel-roschel-theme
Tags: custom-theme, responsive, one-page
*/

:root {
    --color-background: #fcfcfc;
    --color-background-alt: #fcfcfc;
    --color-text-primary: #0068be; /* Azul mais claro */
    --color-text-secondary: #00499f; /* Azul mais escuro */
    --color-accent: #00499f; /* Azul mais escuro como destaque */
    --color-accent-secondary: #0068be;
    --color-gradient-blue: linear-gradient(110deg, var(--color-text-primary), var(--color-accent)); 
    --color-white: #fcfcfc;
    --color-border: #00499f;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --line-height-body: 1.8;
    --container-width: 1140px;
    --section-padding: 8rem; 
    --border-radius: 20px;
    --border-radius-btn: 8px;
    --shadow-soft: 0 8px 30px rgba(0, 104, 190, 0.05);
    --shadow-medium: 0 15px 50px rgba(0, 104, 190, 0.1);
    --transition-fast: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- ESTILOS GERAIS E TIPOGRAFIA AJUSTADA --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    margin: 0;
    font-family: var(--font-body); 
    line-height: var(--line-height-body); 
    color: var(--color-text-secondary); 
    background-color: var(--color-background); 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    overflow-x: clip; 
}

h1, h2, h3, h4, h6 { font-family: var(--font-heading); font-weight: normal; line-height: 1.25; margin: 0; }
h1 { font-size: 3.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--color-text-primary); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
h6 { font-size: 1.8rem; margin-bottom: 1rem;   color: #00499f;  }
p { margin-bottom: 1.1rem; max-width: 65ch; }
p:last-child { margin-bottom: 0; }


.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gradient-text { background: var(--color-gradient-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; display: inline-block; }
@keyframes ken-burns { 0% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes bounce-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes textReveal { 0% { transform: translateY(100%); } 100% { transform: translateY(0); } }
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.5; }
}
.animate-fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
.text-reveal-container { display: block; overflow: hidden; }
.animate-text-reveal { display: block; animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.5, 0, 0, 1), transform 1s cubic-bezier(0.5, 0, 0, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- HEADER INTELIGENTE --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.5rem 0; transition: var(--transition-slow); }
.main-header.scrolled { background-color: rgba(252, 252, 252, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem 0; box-shadow: var(--shadow-soft); }
.header-container { display: flex; justify-content: center; align-items: center; }
.logo-text { font-weight: 700; font-size: 1.5rem; color: var(--color-text-primary); text-decoration: none; }

/* REMOÇÃO DOS MENUS (GLOBAL) */
.main-nav, .mobile-menu-icon, .mobile-nav { display: none !important; }

/* --- BOTÕES REFINADOS --- */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem; 
    padding: 1rem 2.5rem; 
    font-family: var(--font-body);   
    font-size: 0.9rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border: 2px solid transparent; 
    transition: var(--transition-fast); 
    cursor: pointer; 
    text-decoration: none; 
    border-radius: var(--border-radius-btn); 
}
.primary-btn { /* Botão padrão azul */
  background-image: var(--color-gradient-blue); 
  background-size: 130% auto;
  color: var(--color-white);
  box-shadow: 0 7px 25px rgba(0, 73, 159, 0.3); 
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 50px; 
  /* Removido margin-left fixo para desktop, controlado por classes específicas */
}
.primary-btn:hover { background-position: right center; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 73, 159, 0.3); }

/* Novo estilo para o botão do WhatsApp específico (verde) */
.btn.whatsapp-btn {
    background-image: linear-gradient(135deg, #25D366, #128C7E) !important; /* Degradê verde estilo WhatsApp */
    box-shadow: 0 7px 25px rgba(37, 211, 102, 0.3) ; /* Sombra verde */
    color: var(--color-white);
    width: auto !important;
    max-width: 600px !important;
    font-size: 0.85rem !important;
    padding: 0.6rem 1.2rem !important;
    background-image: linear-gradient(135deg, #25D366, #128C7E) !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3) !important;
    border-radius: 50px !important; /* botão redondo */
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem;
    margin: 0 auto !important; /* centraliza dentro do wrapper */
    cursor: pointer;
}
.btn.whatsapp-btn:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.secondary-btn { background-color: transparent; border-color: var(--color-border); color: var(--color-text-primary); }
.secondary-btn:hover { background-color: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.large-btn { padding: 1.2rem 3rem; font-size: 1rem; }
.primary-btn i { transition: var(--transition-fast); }
.primary-btn:hover i { transform: translateX(5px); }


/* --- HERO SECTION (DESKTOP) --- */
.hero-section {
    height: 100vh;
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
	background: none; 
}

/* OCULTA TODOS OS ELEMENTOS RELACIONADOS AO MOBILE NO DESKTOP */
.mobile-only-hero {
    display: none;
}
/* OCULTA O NOVO CONTAINER DO BOTÃO WHATSAPP MOBILE NO DESKTOP */
.whatsapp-mobile-cta {
    display: none; 
}


/* Background principal do hero para desktop */
.hero-desktop-content::before { /* O background de imagem real do desktop */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/img/banner01.png') no-repeat center center / cover; /* Caminho ajustado */
  z-index: -1;
}

.daniel-img {
  position: absolute;
  z-index: 1;
  width: 975px;
  max-width: none;
  top: 60px;
  left: 35%;
  user-select: none;
  pointer-events: none;
  animation: slideInFromRight 1.5s ease-out forwards;
  opacity: 0;
  transform: translateX(100%);
}

.hero-container { position: relative; z-index: 3; width: 100%;}

.hero-content {
    max-width: 550px;
    text-align: left;
    margin-left: 1%;
}
.hero-content h1 {
  font-size: 1.5rem;
  color: #016bc2; 
  margin-left: 4.3rem;
  margin-top: 3rem;
  margin-bottom: 0.3rem;
}

.hero-content p {
  color: #0068be; 
  margin-left: 4.3rem;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* ESTILO DO BOTÃO DO WHATSAPP NO DESKTOP */
.desktop-whatsapp-btn {
    display: block; /* Visível no desktop */
    position: static; /* Padrão de posicionamento */
    opacity: 1; 
    transform: none; 
    animation: none; 
    margin-left: 4.3rem; /* Alinha com o texto desktop */
    margin-top: 2rem; /* Espaço abaixo do parágrafo */
}
.desktop-whatsapp-btn .btn {
    margin-left: 0; /* Remove a margem fixa do primary-btn para centralizar */
}


.mobile-banner-img {
    display: none; 
}
.scroll-down-arrow { display: none; }

/* --- ESTILOS GERAIS DE SEÇÃO --- */
.content-section { 
    padding: var(--section-padding) 0; /* Padding superior e inferior padrão */
    position: relative; 
}
.content-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.alt-bg { background-color: var(--color-background-alt); }
.section-title { text-align: center; margin-bottom: 5rem; color: #00499f;  font-weight: 500; }
.section-title h2 { position: relative; display: inline-block; padding-bottom: 1rem; margin-bottom: 1.5rem; color: #00499f; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--color-gradient-blue); transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.scroll-reveal.is-visible .section-title h2::after { width: 80px; }
.section-title p { margin: -1.5rem auto 0 auto; color: var(--color-text-secondary); max-width: 80ch;  font-size: 0.9rem; line-height: 1.7; }
.section-subtitle { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent); font-weight: 700; margin-bottom: 0.75rem; display: block; }
.icon-divider { text-align: center; margin-top: 2rem; color: var(--color-border); }
.icon-divider i { font-size: 1.5rem; color: var(--color-accent); opacity: 0.5; }
.icon-divider::before, .icon-divider::after { content: ''; display: inline-block; width: 80px; height: 1px; background-image: linear-gradient(to right, transparent, var(--color-border)); vertical-align: middle; margin: 0 1rem; }
.icon-divider::after { background-image: linear-gradient(to left, transparent, var(--color-border)); }


/* ========================================================= */
/* --- SEÇÃO PARA QUEM É (ACOLHIMENTO) - CÓDIGO FINAL COM EFEITO DE MOVIMENTO --- */
/* ========================================================= */
@keyframes gradient-animation-for-whom { 
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#for-whom {
    background: linear-gradient(135deg, 
                rgba(0, 104, 190, 0.3),  
                rgba(0, 73, 159, 0.35), 
                rgba(0, 104, 190, 0.3)); 
    background-size: 400% 400%; 
    animation: gradient-animation-for-whom 20s ease infinite; 
    
    padding: var(--section-padding) 0; 
    overflow: hidden; 
    position: relative; 
    z-index: 1; 
}

#for-whom::before {
    display: none; 
}

/* Garante que o conteúdo dentro da grade esteja visível sobre o fundo */
#for-whom .for-whom-grid {
    position: relative;
    z-index: 2; 
    max-width: 65ch;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem; 
}

#for-whom .section-subtitle {
    margin-bottom: 0.5rem;
}
#for-whom h6 {
    font-size: 2.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
#for-whom p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 55ch; 
}

.checklist {
    list-style-type: none;
    padding-left: 0;
    display: inline-block; 
    text-align: left;
    margin-top: 2rem;
}
.checklist li {
    list-style-type: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.is-visible .checklist li {
    opacity: 1;
    transform: translateY(0);
}
.checklist i {
    color: var(--color-accent);
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}
.checklist li:hover i {
    transform: scale(1.2) rotate(10deg);
}


/* ========================================================= */
/* --- DESIGN VIDRO ESPELHADO (JORNADA) ---                  */
/* ========================================================= */
@keyframes shine-effect {
    0% { transform: translateX(-150%) skewX(-30deg); }
    100% { transform: translateX(150%) skewX(-30deg); }
}
#journey.content-section {
    background-color: #fcfcfc;
    margin-top: 3rem; /* Mantido o ajuste de margem superior aqui */
}


#journey .section-title h2 {
    color: #00499f;
    font-size: 1.8rem;
    line-height: 1.2;
}
#journey .section-title p {
    color: #00499f;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 300; 
}
.focused-steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: var(--section-padding);
    perspective: 2000px;
}
.step-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #00499f, #0068be);
    box-shadow: 0 10px 50px -20px rgba(0, 73, 159, 0.4);
    opacity: 0;
    transform: scale(0.95) translateY(20px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.step-card:nth-child(2) { transition-delay: 0.1s; }
.step-card:nth-child(3) { transition-delay: 0.2s; }
.step-card:nth-child(4) { transition-delay: 0.3s; }
.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    border: 1px solid rgba(252, 252, 252, 0.15);
    pointer-events: none;
    z-index: 5;
}
.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(252, 252, 252, 0.1) 50%, transparent 100%);
    z-index: 3;
    animation: shine-effect 5s infinite linear;
    animation-delay: calc(var(--i, 0) * 1s); 
}
.step-card:nth-child(1) { --i: 0; }
.step-card:nth-child(2) { --i: 0.5; }
.step-card:nth-child(3) { --i: 1; }
.step-card:nth-child(4) { --i: 1.5; }
.card-shine {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 73, 159, 0.3) 0%, transparent 40%);
    top: var(--shine-y, -250px);
    left: var(--shine-x, -250px);
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.5s, top 0.1s linear, left 0.1s linear;
    opacity: 0;
}
.step-card:hover .card-shine {
    opacity: 1;
}
.card-content {
    position: relative;
    z-index: 4;
    padding: 3rem 2.5rem;
    text-align: center;
    color: var(--color-white); /* Cor padrão para texto dentro do card */
    transform: translateZ(50px);
}
.step-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(-3deg);
}
.step-icon {
    margin-bottom: 1.5rem;
}
.step-icon i {
    font-size: 2.8rem;
    text-shadow: 0 0 20px rgba(252, 252, 252, 0.4);
    color: var(--color-white);
}
.step-label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}
.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--color-white); /* Garante que h3 seja branco aqui */
}
.card-content p {
    font-family: var(--font-body);
    max-width: 35ch;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.8rem;
	font-weight: 400;
}
.section-divider {
    height: 40px;
    position: relative;
    background-color: var(--color-background-alt);
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcfcfc;
}


/* ========================================================= */
/* --- SEÇÃO SOBRE MIM --- */
/* ========================================================= */
#about {
    background-color: var(--color-background);
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr; 
    align-items: center;
    gap: 2rem;
    text-align: center;
}
.about-image-wrapper {
    margin-bottom: 2rem;
}
.about-image-wrapper img {
    width: 100%;
    max-width: 250px; 
    height: auto; 
    object-fit: contain; 
    border-radius: 0;
    margin: 0 auto; 
    display: block;
    box-shadow: none;
    border: none;
    transform: none; 
    opacity: 0;
    transition: opacity 1s, transform 1s;
}
.about-image-wrapper.is-visible img {
    opacity: 1;
    transform: scale(1);
}
.about-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00499f;
    margin-bottom: 0.5rem;
}
.about-title {
    font-size: 2.8rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}
.about-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0 auto 2rem auto; 
    max-width: 60ch;
}
.about-credentials {
    list-style: none;
    padding: 0;
    margin: 0 auto 2.5rem auto; 
    display: inline-grid; 
    text-align: left; 
    gap: 1rem;
}
.about-credentials li {
    display: grid; 
    grid-template-columns: auto 1fr; 
    gap: 0.75rem; 
    align-items: start;
    font-family: var(--font-body);
    color: var(--color-text-primary);
	font-size: 0.9rem;
}
.about-credentials i {
    color: #00499f;
    font-size: 0.8rem;
    margin-top: 5px; 
}
.about-cta {
    margin-top: 1rem;
}


/* ========================================================= */
/* --- ABORDAGEM (DESIGN DE ABAS PROFISSIONAIS) ---          */
/* ========================================================= */

/* HIDE THE OLD TABS CONTAINER TO AVOID CONFLICTS */
.approach-tabs-container {
    display: none; 
}

/* Swiper Container Styles */
.approach-carousel {
    width: 100%;
    padding-top: 2rem; /* Space for the navigation arrows */
    padding-bottom: 4rem; /* Space for pagination dots */
    overflow: hidden; /* Ensures shadows don't get cut off */
    max-width: var(--container-width); /* Align with main content width */
    margin-left: auto;
    margin-right: auto;
}

/* Styles for Swiper Slides (Carousel Cards) */
.approach-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    /* Background similar to step-card for consistency */
    background: linear-gradient(135deg, #00499f, #0068be);
    color: var(--color-white); /* Ensure text is visible on dark background */
    box-shadow: none; /* Removed shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: grab; /* Indicates draggable */
    min-height: 350px; /* Ensure cards have a consistent height */
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: none; /* Removed shadow on hover */
}

/* Shine effect for approach cards, similar to journey cards */
.approach-card .card-shine {
    content: '';
    position: absolute;
    width: 500px; /* Larger to cover more area */
    height: 500px; /* Larger to cover more area */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
    top: var(--shine-y, 50%); /* Use custom properties for dynamic position */
    left: var(--shine-x, 50%); /* Use custom properties for dynamic position */
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s;
    pointer-events: none; /* Allows clicks/interactions on the card itself */
    border-radius: 50%; /* Make it circular */
}
.approach-card:hover .card-shine {
    opacity: 1; /* Show on hover */
}

.approach-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white); /* Ensure icon is white */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.approach-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-white); /* Ensure heading is white */
}

.approach-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 40ch; /* Limit text width for readability */
    margin: 0 auto;
    color: var(--color-white); /* Ensure paragraph is white */
}

/* Swiper Pagination (dots) */
.swiper-pagination {
    bottom: 0 !important; /* Position at the bottom */
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(0, 73, 159, 0.4) !important; /* Softer blue for inactive dots */
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent) !important; /* Accent blue for active dot */
    width: 25px !important; /* Wider active dot (bar effect) */
    border-radius: 5px !important;
}

/* Swiper Navigation (arrows) */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-accent) !important; /* Blue arrows */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--color-text-primary) !important; /* Lighter blue on hover */
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-prev {
    left: 10px !important; /* Position left arrow */
}

.swiper-button-next {
    right: 10px !important; /* Position right arrow */
}


/* ========================================================= */
/* --- SEÇÃO 'NA MÍDIA' --- */
/* ========================================================= */
#media { 
    background-color: #00499f; 
    padding: 8rem 0;
}
#media .section-title {
    margin-bottom: 2.5rem;
}
#media .section-title h2, #media .section-title p { 
    color: var(--color-white); 
}
#media .section-title h2::after { 
    background: var(--color-white); 
}
.media-portfolio-container { 
    max-width: 900px; 
    margin: 0 auto; 
}
.media-tab-nav { 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-bottom: 1.5rem;
}
.media-tab-link { 
    padding: 0.75rem 2rem; 
    font-family: var(--font-body); 
    font-size: 1rem; 
    font-weight: 700; 
    color: rgba(255, 255, 255, 0.7); 
    background: none; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}
.media-tab-link:hover { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.8); 
    color: var(--color-white); 
}
.media-tab-link.is-active { 
    background-color: var(--color-white); 
    border-color: var(--color-white); 
    color: #00499f;
}
.media-tab-content { 
    display: none; 
    animation: fadeIn 0.5s ease; 
}
.media-tab-content.is-active { 
    display: block; 
}
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem; 
}
.portfolio-card { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    padding: 1rem;
    background-color: var(--color-white); 
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05); 
    text-decoration: none; 
    transition: all 0.3s ease;
    min-height: 125px;
}
.portfolio-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
}
.media-logo {
    flex-shrink: 0;
    width: 140px;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.media-logo img {
    max-width: 130px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}
.portfolio-card:hover .media-logo img {
    transform: scale(1.05);
}
.media-info { 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.media-info h3 {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.media-info span { 
    font-size: 0.85rem; 
    color: var(--color-text-secondary); 
    margin-top: auto;
}
.media-link-icon { 
    font-size: 1.2rem; 
    color: #ccc;
    transition: all 0.3s ease;
}
.portfolio-card:hover .media-link-icon { 
    color: var(--color-accent);
    transform: translateX(5px); 
}

/* --- Seções Finais (Citações, Contato, etc.) --- */
.quote-section { padding: 6rem 0; text-align: center; background-color: var(--color-background); margin-top: 2rem;}
.quote-section blockquote p { font-family: var(--font-heading); font-size: 2.2rem; font-style: italic; font-weight: bold; color: #00499f; max-width: 800px; margin: 0 auto; line-height: 1.5; position: relative; padding: 0 2rem; }
.quote-section blockquote p::before, .quote-section blockquote p::after { content: "“"; font-size: 8rem; color: var(--color-accent); opacity: 0.08; position: absolute; line-height: 1; }
.quote-section blockquote p::before { top: -3rem; left: -1rem; }
.quote-section blockquote p::after { content: "”"; bottom: -5rem; right: -1rem; }
#testimonials { /* Adicionado para controlar o padding-bottom */
    padding-bottom: 3rem; /* Ajustando o padding-bottom para um valor menor */
}
.testimonials-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2.5rem; 
    max-width: 1000px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 1;   
    margin-bottom: 0; /* Removendo o margin-bottom para evitar espaço extra */
}
.testimonial-chat-wrapper { background: var(--color-white); border-radius: var(--border-radius); padding: 2rem; box-shadow: var(--shadow-soft); transition: var(--transition-slow); }
.testimonial-chat-wrapper:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-medium); }
.chat-header { display: flex; align-items: center; margin-bottom: 1.5rem; }
.chat-avatar { /* Ajustes para o CONTÊINER da imagem do avatar */
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    overflow: hidden; /* Garante que a imagem não vaze do círculo */
    margin-right: 1rem; 
    border: 2px solid var(--color-accent-secondary); 
    display: block; 
}
.chat-avatar img { /* A IMAGEM DENTRO DO CONTÊINER DO AVATAR */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o círculo sem distorcer */
    display: block; /* Para remover espaços indesejados abaixo da imagem */
    border-radius: 50%; /* Garante que a imagem seja circular dentro do contêiner */
}
.chat-header-info strong { display: block; color: var(--color-text-primary); font-family: var(--font-body); }
.chat-header-info span { font-size: 0.8rem; color: var(--color-accent); font-weight: 700; }
.chat-bubble { background-color: #fcfcfc; border-radius: 20px 20px 20px 5px; padding: 1rem 1.5rem; }
.chat-bubble p { margin: 0; font-size: 0.8rem; color: var(--color-text-primary); }

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.pricing-card-gradient {
  position: relative;
  border-radius: 1rem;
  background: #fcfcfc;
  padding: 2.5rem 2rem 3rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column; /* Para empilhar o conteúdo */
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  color: #0068be;
  min-height: 400px; /* Garante uma altura mínima para todos os cards */
  justify-content: space-between; /* Distribui o espaço entre os itens */
}
.pricing-card-gradient:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.pricing-card-gradient.recommended {
  background: linear-gradient(135deg, #00499f, #0068be);
  color: #fcfcfc;
  box-shadow: 0 20px 45px rgba(0, 73, 159, 0.35);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card-gradient.recommended:hover {
  transform: translateY(-10px) scale(1.05);
}
.pricing-card-gradient h3 {
    margin-bottom: 1rem;
    color: inherit;
}
.pricing-card-gradient .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem;
  color: inherit;
}
.pricing-card-gradient .price.placeholder-price {
    opacity: 0; /* Torna o placeholder do preço invisível */
    height: 3rem; /* Mantém a altura para não bagunçar o layout */
    margin: 1rem 0 1.5rem; /* Mantém as margens para espaçamento */
    pointer-events: none; /* Impede interação com o texto invisível */
}
.pricing-card-gradient .description {
  flex-grow: 1; /* Faz o parágrafo de descrição ocupar o espaço disponível */
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: inherit;
  display: flex; /* Para flex-grow funcionar */
  align-items: center; /* Centraliza verticalmente o texto da descrição */
  justify-content: center;
}
.pricing-card-gradient .sub-heading-price {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: inherit;
}
.pricing-card-gradient .plan-note {
  font-size: 0.9rem;
  font-style: italic;
  color: inherit;
  margin-top: auto; /* Empurra a nota para o final */
}
.pricing-card-gradient .plan-note.placeholder-note {
    opacity: 0; /* Torna o placeholder da nota invisível */
    height: 0.9rem; /* Mantém a altura para não bagunçar o layout */
    margin-top: auto;
    pointer-events: none;
}
.pricing-card-gradient .btn {
  background-color: #0068be;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 0.75rem;
  color: #fcfcfc;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 2rem auto 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.pricing-card-gradient .btn:hover {
  transform: scale(1.05);
}
.pricing-card-gradient.recommended .btn {
  background-color: #0068be;
  color: #fcfcfc;
  margin: 2rem auto 0;
}
.pricing-card-gradient.recommended .btn:hover {
  background-color: #00499f;
}

/* ========================================================= */
/* --- SEÇÃO DE CONTATO --- */
/* ========================================================= */
@keyframes shine-effect-final {
    0% { transform: translateX(-150%) skewX(-25deg); }
    50% { transform: translateX(250%) skewX(-25deg); }
    100% { transform: translateX(-150%) skewX(-25deg); } /* Ajustado para loop suave */
}
.contact-section-final {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem;
    min-height: 80vh;
    background-color: #0068be;
}
.contact-section-final::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shine-effect-final 6s infinite linear;
    z-index: 1;
}
.contact-box-final {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    background-color: rgba(0, 73, 159, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 104, 190, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.contact-box-final h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fcfcfc;
    margin: 0 0 1rem 0;
    padding: 0;
}
.contact-box-final .cta-text-final {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #fcfcfc;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    padding: 0;
}
.contact-buttons-final {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.btn-final.primary {
    background-color: transparent;
    background-size: 150% auto; 
	border-color: #fcfcfc;
    color: #fcfcfc;
    box-shadow: 0 20px 15px rgba(0,0,0,0.2);
}
.btn-final.primary:hover {
    background-position: right center;
}
.btn-final.secondary {
    background-color: transparent;
    border-color: #fcfcfc;
    color: #fcfcfc;
    box-shadow: 0 20px 15px rgba(0,0,0,0.2);
}
.btn-final.secondary:hover {
	background-position: right center;
}

/* ========================================================= */
/* --- NOVA SEÇÃO: NÚMEROS QUE INSPIRAM (STATS) ---          */
/* ========================================================= */
#stats {
    padding-top: var(--section-padding); 
    padding-bottom: var(--section-padding); 
    background-color: rgba(0, 73, 159, 0.05); 
    text-align: center;
}

#stats .section-title { 
    margin-bottom: 2rem; 
    color: var(--color-text-primary); 
}
#stats .section-title h2 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

#stats .section-title p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0; 
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-width);
    margin: 0rem auto 0 auto; 
    padding: 0 1rem;
}

.stat-item {
    background: linear-gradient(145deg, rgba(252, 252, 252, 1), rgba(245, 245, 245, 0.9)); 
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 73, 159, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 73, 159, 0.1); 
}

.stat-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 73, 159, 0.1);
}

/* Ícone */
.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient-blue); 
    border-radius: 50%;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 73, 159, 0.2);
}

.stat-icon-wrapper i {
    font-size: 1.4rem;
    color: var(--color-white);
}

/* Números e texto */
.stat-value-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.stat-item .stat-prefix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--color-gradient-blue); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-right: 0.2rem;
    line-height: 1;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--color-gradient-blue); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-right: 0.2rem; 
    line-height: 1;
}

.stat-item .stat-unit {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-left: 0.3rem;
    line-height: 1.1;
    display: none;
}

/* Regra específica para o primeiro item (20 mil) */
.stat-item:first-child .stat-unit {
    display: inline-block;
}

.stat-item .stat-description {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0;
    line-height: 1.3;
    max-width: 20ch;
    font-weight: normal;
    text-align: center;
}

/* ========================================================= */
/* --- RESPONSIVIDADE --- */
/* ========================================================= */

/* Desktop / Telas maiores que 768px */
@media (min-width: 769px) {
    /* Esconde elementos mobile no desktop */
    .mobile-only-hero {
        display: none !important;
    }
    .whatsapp-mobile-cta {
        display: none !important;
    }
    /* Garante que o botão desktop apareça */
    .hero-desktop-content { 
        display: flex; 
    }
    .desktop-whatsapp-btn {
        display: block !important;
    }
    /* Estilos para o botão desktop dentro do hero-content */
    .hero-content .desktop-whatsapp-btn {
        margin-left: 4.3rem !important; 
        margin-top: 2rem !important; 
    }
    .hero-content .desktop-whatsapp-btn .btn {
        margin-left: 0 !important; 
    }
}

/* Layout de Desktop para as seções "Sobre" e "Acolhimento" */
@media (min-width: 1025px) {
    #about .about-grid {
        grid-template-columns: 1fr 1.2fr;
        text-align: left;
    }
    #about .about-credentials {
        display: grid;
        margin-left: 0;
        margin-right: 0;
    }

    /* Swiper on Desktop */
    .approach-carousel .swiper-button-prev {
        left: -50px !important; 
    }
    .approach-carousel .swiper-button-next {
        right: -50px !important; 
    }
}


/* Telas de tablets (intermediário) */
@media (max-width: 1024px) {
    .focused-steps-container,
    .testimonials-container, 
    .pricing-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-gradient {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card-gradient.recommended {
        transform: scale(1);
    }

    /* Carousel */
    .approach-carousel {
        padding-left: 20px; 
        padding-right: 20px;
    }
}

/* Telas de celulares (Até 768px) - SEÇÃO CRÍTICA */
@media (max-width: 768px) {
    /* ZERA MARGEM/PADDING GLOBAIS - MANTIDO SEU CÓDIGO ORIGINAL */
    html, body {
        margin: 0; 
        padding: 0; 
        overflow-x: hidden; 
    }

    /* Ajustes globais para o mobile */
    :root { --section-padding: 3rem; }
    h1 { font-size: 2rem; margin-bottom: 0.8rem; } 
    h2 { font-size: 1.6rem; } 
    .section-title { margin-bottom: 2.5rem; } 

    /* Hero Section - AGORA com banner-mobile.png como background para mobile */
    .hero-section {
        height: auto; 
        padding: 0; 
        margin: 0; 
        position: relative; 
        background: none; 
    }

    /* OCULTA TODOS OS ELEMENTOS DO DESKTOP NA VERSÃO MOBILE */
    .hero-desktop-content {
        display: none; 
    }

    /* ATIVA E ESTILIZA O CONTÊINER PRINCIPAL DO MOBILE HERO */
    .mobile-only-hero {
        display: block; 
        width: 100%; 
        position: relative; 
        height: auto; 
        padding-bottom: 4rem; 
        margin-top: 0; 
    }

    /* CONTÊINER DA IMAGEM DE FUNDO DO BANNER MOBILE */
.mobile-banner-bg-container {
    display: block; 
    width: 100%; 
    height: 700px; 
    margin-top: -180px; 
    margin-bottom: 10px; 
    background-image: url('assets/img/banner-mobile.png'); /* Caminho ajustado */
    background-size: contain; 
    background-position: center bottom; 
    background-repeat: no-repeat; 
    position: relative; 
    background-color: rgba(255, 255, 255, 0.1);
}

/* CONTEÚDO DE TEXTO MOBILE (CAIXA BRANCA) */
.mobile-hero-content-box {
    background-color: rgba(252, 252, 252, 0.95); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    width: 95%; 
    max-width: 450px; 
    margin-left: auto; 
    margin-right: auto; 
    position: relative; 
    z-index: 5; 
    border-radius: 20px; 
    box-shadow: 0 15px 50px rgba(0, 104, 190, 0.15); 
    padding: 1rem; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    margin-top: -60px; 
}

/* TEXTOS DENTRO DA CAIXA BRANCA */
.mobile-hero-content-box h1,
.mobile-hero-content-box p {
    color: var(--color-text-primary); 
    margin-top: 1.5rem; 
    margin-right: 0; 
    text-align: center; 
}
.mobile-hero-content-box h1 {
    font-size: 1.5rem; 
    margin-top: 4rem; 
    line-height: 1.3; 
    margin-bottom: 0.4rem; 
}
.mobile-hero-content-box p {
    font-size: 0.9rem; 
    line-height: 1.6; 
    max-width: 90%; 
    margin-left: 1.2rem; 
    margin-bottom: 1.5rem; 
}

/* WRAPPER DO BOTÃO WHATSAPP */
.whatsapp-mobile-btn-wrapper {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: absolute; 
    top: 670px;
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 100; 
    width: 100%; 
    max-width: 100%; 
    text-align: center; 
    animation: none; 
    opacity: 1; 
}

.whatsapp-mobile-btn-wrapper .btn.whatsapp-btn {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1rem; 
    padding: 0.8rem; 
    background-image: linear-gradient(135deg, #25D366, #128C7E); 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); 
    border-radius: 50px; 
    white-space: normal; 
    text-align: center; 
    word-break: break-word; 
    cursor: pointer;
    width: 90%; 
    max-width: 500px; 
}


/* EFEITO HOVER DO BOTÃO */
.whatsapp-mobile-btn-wrapper .btn.whatsapp-btn:hover {
    background-position: right center; 
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); 
}


    /* Desativar animações que podem causar problemas no mobile */
    .text-reveal-container .animate-text-reveal {
        animation: none; 
        opacity: 1; 
        transform: translateY(0); 
    }
    .animate-fade-in {
        animation: none; 
        opacity: 1; 
    }

    /* ======================================= */
    /* Outros Ajustes de Seções (Mobile) */
    /* ======================================= */

    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }
    .stat-item {
        padding: 1rem; 
    }
    .stat-item .stat-icon-wrapper {
        width: 35px; height: 35px; 
        margin-bottom: 0.5rem; 
    }
    .stat-item .stat-icon-wrapper i {
        font-size: 1.2rem; 
    }
    .stat-item .stat-number, .stat-item .stat-prefix {
        font-size: 1.8rem; 
    }
    .stat-item .stat-unit {
        font-size: 0.8rem; 
    }
    .stat-item .stat-description {
        font-size: 0.7rem; 
        line-height: 1.3; 
        max-width: 18ch; 
    }

    .focused-steps-container {
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    .step-card {
        padding: 1.5rem 1rem; 
    }
    .card-content h3 { 
        color: var(--color-white); 
    }
    .step-icon i {
        font-size: 2rem; 
    }
    .step-label {
        font-size: 0.7rem; 
    }
    .card-content h3 {
        font-size: 1.2rem; 
    }
    .card-content p {
        font-size: 0.75rem; 
    }


    .testimonials-container {
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    #testimonials .chat-avatar { 
        width: 40px; 
        height: 40px; 
        margin-right: 0.8rem; 
    }
    #testimonials .chat-avatar img {
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
    }

    #for-whom h6,
    #journey .section-title h2 {
        font-size: 1.5rem; 
        line-height: 1.3; 
    }
    #for-whom p {
        font-size: 0.9rem; 
        line-height: 1.5; 
        max-width: 90%; 
        margin: 0 auto 1rem auto; 
    }
    .checklist li {
        font-size: 0.9rem; 
    }

    .media-tab-nav {
        flex-direction: column; 
        gap: 0.5rem; 
    }
    
    .tab-content-container {
        padding: 1.5rem; 
    }

    .quote-section { padding: 4rem 0; } 
    .quote-section blockquote p {
        font-size: 1.5rem; 
    }
    .quote-section blockquote p::before,
    .quote-section blockquote p::after {
        font-size: 5rem; 
    }

    .contact-section-final { padding: 6rem 1rem; } 
    .contact-box-final {
        padding: 2rem; 
    }

    .contact-box-final h2 {
        font-size: 1.8rem; 
    }

    .contact-buttons-final {
        flex-direction: column; 
    }

    .btn-final {
        width: 100%; 
    }
}