/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Psychology Landing Page Design System - Cores aconchegantes e acolhedoras */
:root {
    /* Paleta principal - marronzinho, branco e tons de nude */
    --background: hsl(40, 30%, 98%); /* Branco quente */
    --foreground: hsl(25, 20%, 20%); /* Marrom escuro para texto */
    --card: hsl(0, 0%, 100%); /* Branco puro para cards */
    --card-foreground: hsl(25, 20%, 20%); /* Texto escuro nos cards */
    --primary: hsl(25, 35%, 35%); /* Marronzinho principal */
    --primary-foreground: hsl(0, 0%, 100%); /* Branco para texto sobre marronzinho */
    --secondary: hsl(35, 15%, 88%); /* Bege suave */
    --secondary-foreground: hsl(25, 20%, 20%); /* Texto escuro sobre bege */
    --muted: hsl(35, 25%, 95%); /* Creme */
    --muted-foreground: hsl(25, 15%, 45%); /* Texto suave */
    --accent: hsl(30, 20%, 90%); /* Nude suave */
    --accent-foreground: hsl(25, 20%, 20%); /* Texto escuro sobre nude */
    --border: hsl(35, 15%, 88%); /* Bordas suaves */
    --input: hsl(35, 15%, 88%); /* Inputs suaves */
    --radius: 0.75rem;
    
    /* Cores customizadas do tema aconchegante */
    --marronzinho: hsl(25, 35%, 35%); /* Marronzinho principal */
    --marronzinho-light: hsl(25, 30%, 50%); /* Marronzinho mais claro */
    --marronzinho-lighter: hsl(25, 25%, 70%); /* Marronzinho bem claro */
    --warm-white: hsl(40, 30%, 98%); /* Branco quente */
    --cream: hsl(35, 25%, 95%); /* Creme */
    --soft-nude: hsl(30, 20%, 90%); /* Nude suave */
    --warm-beige: hsl(35, 15%, 85%); /* Bege quente */
    --soft-brown: hsl(25, 20%, 80%); /* Marrom suave */
    
    /* Gradientes aconchegantes */
    --gradient-marronzinho: linear-gradient(135deg, var(--marronzinho) 0%, var(--marronzinho-light) 100%);
    --gradient-warm: linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 100%);
    --gradient-soft: linear-gradient(180deg, var(--background) 0%, var(--warm-beige) 100%);
    --gradient-nude: linear-gradient(135deg, var(--soft-nude) 0%, var(--warm-beige) 100%);
    
    /* Sombras suaves e aconchegantes */
    --shadow-soft: 0 4px 20px hsla(25, 35%, 35%, 0.08);
    --shadow-card: 0 2px 12px hsla(25, 35%, 35%, 0.05);
    --shadow-hover: 0 8px 32px hsla(25, 35%, 35%, 0.12);
    
    /* Transições suaves e aconchegantes */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-gentle: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estilos base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

/* Classes utilitárias */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.bg-primary { background-color: var(--primary); }
.bg-white { background-color: white; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: calc(var(--radius) + 0.25rem); }
.rounded-xl { border-radius: calc(var(--radius) + 0.5rem); }
.shadow { box-shadow: var(--shadow-card); }
.shadow-lg { box-shadow: var(--shadow-hover); }

/* Feather Icons - Estilos básicos para renderização correta */
[data-feather] {
    display: inline-block !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
}

/* Garantir que os ícones SVG sejam renderizados corretamente */
[data-feather] svg {
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    max-width: none !important;
    max-height: none !important;
}

/* Sobrescrever qualquer regra do Tailwind que possa estar interferindo */
[data-feather].w-6,
[data-feather].h-6,
[data-feather].w-5,
[data-feather].h-5,
[data-feather].w-4,
[data-feather].h-4,
[data-feather].w-8,
[data-feather].h-8 {
    width: auto !important;
    height: auto !important;
}

/* Garantir que os ícones nos cards tenham o tamanho correto */
.service-card [data-feather],
.benefit-card [data-feather] {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* Regra geral para todos os ícones - sobrescrever qualquer conflito */
i[data-feather] {
    background: none !important;
    background-color: transparent !important;
    color: inherit !important;
    position: relative !important;
}

/* Garantir que os ícones SVG tenham o comportamento correto */
i[data-feather] svg {
    background: none !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Forçar a renderização correta dos ícones - sobrescrever qualquer regra conflitante */
i[data-feather]:before,
i[data-feather]:after {
    display: none !important;
    content: none !important;
}

/* Garantir que os ícones não tenham pseudo-elementos interferindo */
i[data-feather] * {
    background: none !important;
    background-color: transparent !important;
}

/* Regra final para garantir que os ícones sejam renderizados corretamente */
i[data-feather] {
    all: unset !important;
    display: inline-block !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    background-color: transparent !important;
    color: inherit !important;
    position: relative !important;
}

i[data-feather] svg {
    all: unset !important;
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    max-width: none !important;
    max-height: none !important;
    background: none !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-smooth);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.logo p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

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

.nav-desktop a {
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-sage);
    color: white;
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mobile-nav a:hover {
    background: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background: var(--gradient-soft);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-hover);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-divider {
    width: 4rem;
    height: 0.25rem;
    background: var(--primary);
    border-radius: 0.125rem;
    margin: 0 auto 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Cards */
.card {
    background: white;
    border-radius: calc(var(--radius) + 0.25rem);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
    border: 1px solid var(--border);
}

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

.card-header {
    padding: 1.5rem;
    padding-bottom: 1rem;
}

.card-content {
    padding: 1.5rem;
}

.card-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
            background: hsla(25, 35%, 35%, 0.1);
    border-radius: var(--radius);
    color: var(--primary);
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* About Section */
.about {
    background: white;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 200px;
}

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

/* Services Section */
.services {
    background: linear-gradient(180deg, hsla(145, 15%, 85%, 0.1) 0%, white 100%);
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits {
    background: white;
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: hsla(145, 15%, 85%, 0.1);
}

.benefit-card .icon-wrapper {
    margin: 0 auto 1rem;
    width: 4rem;
    height: 4rem;
}

.cta-card {
    background: linear-gradient(135deg, hsla(145, 15%, 85%, 0.2) 0%, hsla(33, 25%, 95%, 0.3) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(180deg, hsla(145, 15%, 85%, 0.1) 0%, white 100%);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
    height: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.quote-icon {
            color: hsla(25, 35%, 35%, 0.2);
    width: 2rem;
    height: 2rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
    width: 1rem;
    height: 1rem;
}

.testimonial-text {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.author-info {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, white 0%, hsla(145, 15%, 85%, 0.1) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info .card {
    cursor: pointer;
}

.contact-info .card:hover {
    background: var(--secondary);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(25, 35%, 35%, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.whatsapp-card {
    border: 2px solid #10b981;
    background: #f0fdf4;
    text-align: center;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px) scale(1.05);
}

.map-section {
    margin-top: 4rem;
}

.map-header {
    background: hsla(145, 15%, 85%, 0.2);
    padding: 2rem;
    text-align: center;
}

.map-placeholder {
    height: 16rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: var(--radius);
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: hsla(0, 0%, 100%, 0.2);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsla(0, 0%, 100%, 0.9);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.footer-links a:hover {
    color: white;
}

.ethics-card {
    background: hsla(0, 0%, 100%, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.ethics-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ethics-icon {
    background: hsla(0, 0%, 100%, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius);
}

.ethics-content {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.9);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    opacity: 0.3;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-gentle);
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        align-items: center;
    }

    .trust-indicators {
        align-items: center;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-card {
        position: static;
        margin-top: 2rem;
        max-width: none;
    }
}

@media (min-width: 769px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .trust-indicators {
        flex-direction: row;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Custom CSS to complement Tailwind CSS */

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* WhatsApp float button pulse effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    opacity: 0.3;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: hsl(25, 35%, 35%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(25, 35%, 25%);
}

/* Focus styles for form elements */
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(25, 35%, 35%);
    box-shadow: 0 0 0 3px hsla(25, 35%, 35%, 0.1);
}

/* Mobile menu animations */
#mobileNav {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
}

#mobileNav.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px hsla(25, 35%, 35%, 0.12);
}

/* Custom button animations */
.btn-animate {
    transition: all 0.3s ease;
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px hsla(25, 35%, 35%, 0.2);
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Custom focus ring for accessibility */
.focus-ring:focus {
    outline: 2px solid hsl(25, 35%, 35%);
    outline-offset: 2px;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .fade-in-up,
    .slide-in-left,
    .slide-in-right {
        animation-duration: 0.4s;
    }
    
    /* Optimize touch targets */
    button, a, input, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve mobile scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-muted {
        color: #666 !important;
    }
    
    .border-border {
        border-color: #333 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in-up,
    .slide-in-left,
    .slide-in-right {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .mobile-nav,
    button[onclick="toggleMobileMenu()"] {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* Custom utility classes */
.text-balance {
    text-wrap: balance;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Custom shadows */
.shadow-soft {
    box-shadow: 0 4px 20px hsla(25, 35%, 35%, 0.08);
}

.shadow-card {
    box-shadow: 0 2px 12px hsla(25, 35%, 35%, 0.05);
}

.shadow-hover {
    box-shadow: 0 8px 32px hsla(25, 35%, 35%, 0.12);
}

/* Custom gradients */
.gradient-marronzinho {
    background: linear-gradient(135deg, hsl(25, 35%, 35%) 0%, hsl(25, 30%, 50%) 100%);
}

.gradient-warm {
    background: linear-gradient(135deg, hsl(40, 30%, 98%) 0%, hsl(35, 25%, 95%) 100%);
}

.gradient-soft {
    background: linear-gradient(180deg, hsl(40, 30%, 98%) 0%, hsl(35, 15%, 85%) 100%);
}

/* Testimonials Carousel CSS */
#testimonials-carousel {
    will-change: transform;
    transform-style: preserve-3d;
}

#testimonials-carousel .w-full {
    transition: all 0.3s ease-in-out;
    backface-visibility: hidden;
}

/* Enhanced slide transitions */
#testimonials-carousel .w-full {
    opacity: 1;
    transform: scale(1);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#testimonials-carousel .w-full:hover {
    transform: scale(1.02);
}

/* Active dot styling - DESKTOP DEFAULT */
.active-dot {
    background-color: #8b5a3c !important;
    transform: scale(1.25);
    transition: all 0.3s ease-in-out;
    z-index: 10;
    border: 1px solid #8b5a3c !important;
}

/* Ensure dots are visible */
.dot-indicator {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #e5e5e5 !important;
    border: 1px solid #d1d5db !important;
}

/* Inactive dot styling */
[data-slide]:not(.active-dot) {
    background-color: var(--soft-nude) !important;
    transition: all 0.3s ease-in-out;
}

/* Responsive dot sizing - MOBILE FIRST */
@media (max-width: 480px) {
    .dot-indicator {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        max-width: 6px !important;
        max-height: 6px !important;
        background-color: #e5e5e5 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .active-dot {
        transform: scale(1.1) !important;
        background-color: #8b5a3c !important;
        border: 1px solid #8b5a3c !important;
    }
}

@media (max-width: 640px) {
    .dot-indicator {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        background-color: #e5e5e5 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .active-dot {
        transform: scale(1.15) !important;
        background-color: #8b5a3c !important;
        border: 1px solid #8b5a3c !important;
    }
}

@media (max-width: 768px) {
    .dot-indicator {
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        max-width: 10px !important;
        max-height: 10px !important;
        background-color: #e5e5e5 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .active-dot {
        transform: scale(1.2) !important;
        background-color: #8b5a3c !important;
        border: 1px solid #8b5a3c !important;
    }
}

/* Carousel navigation buttons */
#prev-btn, #next-btn {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#prev-btn:hover, #next-btn:hover {
    transform: scale(1.1) translateY(-50%);
}

/* Specific positioning for navigation arrows */
#prev-btn {
    left: 0;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#next-btn {
    right: 0;
    top: 50%;
    transform: translateX(50%) translateY(-50%);
}

#prev-btn:hover {
    transform: translateX(-50%) translateY(-50%) scale(1.1);
}

#next-btn:hover {
    transform: translateX(50%) translateY(-50%) scale(1.1);
}

/* Responsive arrow positioning */
@media (max-width: 640px) {
    #prev-btn, #next-btn {
        top: calc(50% - 16px); /* Adjust for 32px button height */
    }
    
    #prev-btn:hover {
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
    
    #next-btn:hover {
        transform: translateX(50%) translateY(-50%) scale(1.05);
    }
}

@media (max-width: 480px) {
    #prev-btn, #next-btn {
        top: calc(50% - 12px); /* Adjust for 24px button height */
    }
}

/* Smooth transitions for all carousel elements */
.carousel-slide {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects for testimonial cards */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    #prev-btn, #next-btn {
        width: 40px;
        height: 40px;
    }
    
    #prev-btn i, #next-btn i {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile-specific arrow positioning */
    #prev-btn, #next-btn {
        top: calc(50% - 20px); /* Adjust for smaller button height on mobile */
    }
}

@media (max-width: 640px) {
    /* Small mobile adjustments */
    #prev-btn, #next-btn {
        width: 32px;
        height: 32px;
        top: calc(50% - 16px);
    }
    
    #prev-btn i, #next-btn i {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    #prev-btn, #next-btn {
        width: 28px;
        height: 28px;
        top: calc(50% - 14px);
    }
    
    #prev-btn i, #next-btn i {
        width: 14px;
        height: 14px;
    }
}

/* Fine-tune arrow positioning for perfect centering */
#prev-btn, #next-btn {
    top: calc(50% - 24px); /* Adjust for button height */
}

/* DESKTOP STYLES - Telas maiores que 768px */
@media (min-width: 769px) {
    .dot-indicator {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
        max-width: 12px !important;
        max-height: 12px !important;
        background-color: #e5e5e5 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .active-dot {
        background-color: #8b5a3c !important;
        border: 1px solid #8b5a3c !important;
        transform: scale(1.25) !important;
    }
}