/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #6AB3A3; /* Verde água suave */
    --primary-dark: #529687;
    --primary-light: #E8F4F1;
    --secondary: #FFB5A7; /* Coral suave (lúdico e acolhedor) */
    --accent: #FFD166; /* Amarelo vibrante/lúdico */
    --bg-main: #FFFFFF;
    --bg-light: #FFF9F5; /* Fundo levemente pêssego/quente */
    --text-main: #2D3748;
    --text-light: #718096;
    --border-color: #E2E8F0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    
    /* Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
    background-image: radial-gradient(rgba(106, 179, 163, 0.12) 2px, transparent 2px);
    background-size: 30px 30px;
}

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

.text-white {
    color: #fff;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(106, 179, 163, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 179, 163, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 15px 0;
}

#header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-img {
    height: 55px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    top: -100px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.trust-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
    display: block;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 1rem;
    line-height: 1.2;
}

.card-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   SOBRE SECTION
   ========================================================================== */
.sobre-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.title-with-avatar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.title-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid var(--secondary);
    box-shadow: var(--shadow-md);
    display: block;
}

.sobre-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.sobre-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.s-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.s-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.s-card span {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

/* ==========================================================================
   ESPECIALIDADES
   ========================================================================== */
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.esp-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.esp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.esp-icon {
    width: 65px;
    height: 65px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%; /* Formato circular para ficar mais amigável */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.esp-card:hover .esp-icon {
    background-color: var(--primary);
    color: white;
}

.esp-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.esp-card p {
    color: var(--text-light);
    text-align: justify;
}

/* ==========================================================================
   COMO FUNCIONA (TIMELINE)
   ========================================================================== */
.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
    text-align: left;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px var(--bg-light);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diferenciais {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 20px;
}

.dif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dif-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.dif-item i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.dif-item span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* ==========================================================================
   GALERIA (NOSSO ESPAÇO)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.dep-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
    border: 1px solid var(--border-color);
}

.stars {
    color: #FBBF24;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.dep-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.dep-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dep-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.dep-info strong {
    display: block;
    color: var(--primary-dark);
}

.dep-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 60px;
    align-items: flex-start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #1A202C;
    color: #CBD5E0;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-name {
    color: white;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary);
}

.contact-info li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    background-color: #0F172A;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1EBE55;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .sobre-container, .faq-container {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        box-shadow: 0 15px 20px rgba(0,0,0,0.05);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .sobre-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
