/* 
 * Inova Odontologia - Modern Medical Design System
 * Inspired by: Clean Blue Aesthetics & Inova Reference
 * Color Palette: Medical Blue, Pure White, Soft Grey, Teal Accent
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #0099ff;
    /* Vibrant Blue - Primary Actions */
    --primary-dark: #007acc;
    /* Darker Blue - Hover States */
    --primary-light: #e0f2ff;
    /* Very Light Blue - Backgrounds */

    --secondary: #0e2a47;
    /* Navy Blue - Headings & Strong Text */
    --text-body: #556987;
    /* Slate Grey - Body Text */
    --text-light: #8896ab;
    /* Light Grey - Subtle Text */

    --accent: #00d4ff;
    /* Cyan - Highlights/Icons */
    --success: #25d366;
    /* WhatsApp Green */

    --white: #ffffff;
    --bg-light: #f8fbff;
    /* Slight Blue Tint Background */
    --bg-grey: #f1f5f9;

    /* Spacing & Layout */
    --container-max: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 153, 255, 0.08);
    --shadow-lg: 0 20px 40px rgba(14, 42, 71, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* --- Utils --- */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-padding {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-subtitle {
    display: table;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 4.8rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 1.8rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.6rem;
    transition: var(--transition);
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 153, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 153, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    /* Ajuste conforme necessário */
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 2rem;
}

.nav-menu {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 2.4rem;
    color: var(--secondary);
    background: none;
    border: none;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--header-height) + 12rem);
    padding-bottom: 12rem;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65)), url('../imagens/back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Gradiente animado de fundo com efeito de profundidade */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    animation: float-gradient 15s ease-in-out infinite;
    pointer-events: none;
    filter: blur(60px);
}

/* Círculos decorativos flutuantes */
.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-circle 20s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

@keyframes float-gradient {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes float-circle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

/* === PARTÍCULAS FLUTUANTES === */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.8), rgba(0, 153, 255, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    animation: float-particle 20s infinite ease-in-out;
}

/* Diferentes tamanhos e posições para cada partícula */
.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 10%;
    top: 20%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 25%;
    top: 60%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 70%;
    top: 30%;
    animation-duration: 22s;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 85%;
    top: 70%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    width: 7px;
    height: 7px;
    left: 50%;
    top: 15%;
    animation-duration: 20s;
    animation-delay: 1.5s;
}

.particle:nth-child(6) {
    width: 9px;
    height: 9px;
    left: 15%;
    top: 80%;
    animation-duration: 19s;
    animation-delay: 2.5s;
}

.particle:nth-child(7) {
    width: 11px;
    height: 11px;
    left: 90%;
    top: 25%;
    animation-duration: 17s;
    animation-delay: 0.5s;
}

.particle:nth-child(8) {
    width: 8px;
    height: 8px;
    left: 40%;
    top: 90%;
    animation-duration: 21s;
    animation-delay: 3.5s;
}

.particle:nth-child(9) {
    width: 10px;
    height: 10px;
    left: 60%;
    top: 50%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.particle:nth-child(10) {
    width: 7px;
    height: 7px;
    left: 30%;
    top: 40%;
    animation-duration: 23s;
    animation-delay: 2s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.5;
    }

    75% {
        transform: translate(80px, -150px) scale(1.1);
        opacity: 0.6;
    }
}

/* === ONDAS ANIMADAS === */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: wave-movement 15s ease-in-out infinite;
}

.wave-2 {
    animation: wave-movement 20s ease-in-out infinite reverse;
    opacity: 0.7;
}

@keyframes wave-movement {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-50px) translateY(-10px);
    }
}

/* === ESTRELAS BRILHANTES === */
.hero-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 153, 255, 0.4);
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) {
    left: 15%;
    top: 25%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    left: 75%;
    top: 15%;
    animation-delay: 1s;
}

.star:nth-child(3) {
    left: 45%;
    top: 35%;
    animation-delay: 0.5s;
}

.star:nth-child(4) {
    left: 85%;
    top: 60%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    left: 25%;
    top: 70%;
    animation-delay: 2s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    border: 2px solid var(--primary-light);
    animation: badge-entrance 0.8s ease-out, pulse-badge 3s ease-in-out 1s infinite;
    position: relative;
    overflow: hidden;
}

/* Brilho no badge */
.hero-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateY(-50%) translateX(-100%);
    animation: shine 3s ease-in-out infinite;
}

/* Ícone da estrela com rotação */
.hero-badge i {
    animation: rotate-star 4s linear infinite;
}

@keyframes rotate-star {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

@keyframes badge-entrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 153, 255, 0.2);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 153, 255, 0.4),
            0 0 60px rgba(0, 212, 255, 0.2);
    }
}

@keyframes shine {
    0% {
        transform: translateY(-50%) translateX(-100%);
    }

    50%,
    100% {
        transform: translateY(-50%) translateX(100%);
    }
}

.hero-text h1 {
    font-size: 6.4rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: #041221;
    /* Azul marinho extra escuro */
    animation: title-entrance 1s ease-out 0.2s backwards;
    position: relative;
}

/* Efeito de gradiente animado no texto */
.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glow-text 3s ease-in-out infinite, gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes title-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes glow-text {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(0, 153, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    }
}

.hero-text p {
    font-size: 1.9rem;
    margin-bottom: 4rem;
    max-width: 700px;
    line-height: 1.7;
    color: #2c3e50;
    /* Grafite escuro para melhor contraste */
    animation: text-entrance 1s ease-out 0.4s backwards;
}

@keyframes text-entrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: buttons-entrance 1s ease-out 0.6s backwards;
}

@keyframes buttons-entrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos de imagem hero removidos - agora usando background fixo */

/* Elementos decorativos flutuantes mantidos para profundidade */

/* === ELEMENTOS FLUTUANTES DECORATIVOS === */
.floating-element {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.floating-element-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2), rgba(0, 212, 255, 0.1));
    top: 10%;
    right: -10%;
    animation: float-element-1 8s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 153, 255, 0.3);
}

.floating-element-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 255, 0.1));
    bottom: 15%;
    right: 10%;
    animation: float-element-2 10s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.floating-element-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.25), rgba(0, 212, 255, 0.15));
    top: 60%;
    left: -5%;
    animation: float-element-3 12s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 153, 255, 0.25);
}

@keyframes float-element-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, 40px) rotate(180deg);
    }
}

@keyframes float-element-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(20px, -30px) rotate(-180deg) scale(1.1);
    }
}

@keyframes float-element-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(40px, -20px) rotate(180deg);
    }
}


/* --- Authority Strip --- */
.stats-strip {
    background: linear-gradient(135deg, #0e2a47 0%, #1a3a5c 50%, #0e2a47 100%);
    color: white;
    padding: 5rem 0;
    margin-top: -4rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Efeito de brilho animado no fundo */
.stats-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: rotate-glow 20s linear infinite;
    pointer-events: none;
}

/* Padrão decorativo de fundo */
.stats-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(0, 153, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 153, 255, 0.05) 87.5%, rgba(0, 153, 255, 0.05)),
        linear-gradient(150deg, rgba(0, 153, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 153, 255, 0.05) 87.5%, rgba(0, 153, 255, 0.05)),
        linear-gradient(30deg, rgba(0, 153, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 153, 255, 0.05) 87.5%, rgba(0, 153, 255, 0.05)),
        linear-gradient(150deg, rgba(0, 153, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 153, 255, 0.05) 87.5%, rgba(0, 153, 255, 0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

/* Separadores verticais entre os stats */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.5), transparent);
}

/* Efeito hover no stat-item */
.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Círculo de fundo no hover */
.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
    border-radius: 50%;
    transition: transform 0.4s ease;
    z-index: -1;
}

.stat-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.stat-item h3 {
    color: var(--white);
    font-size: 4.2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: counter-appear 0.8s ease-out backwards;
}

/* Animação de aparecimento dos números */
@keyframes counter-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeito de pulso nos números ao hover */
.stat-item:hover h3 {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
            0 0 20px rgba(0, 212, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
            0 0 30px rgba(0, 212, 255, 0.5),
            0 0 40px rgba(0, 212, 255, 0.3);
    }
}

.stat-item p {
    color: #b8d4f1;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    position: relative;
    animation: counter-appear 0.8s ease-out 0.2s backwards;
}

/* Ícone decorativo acima de cada stat */
.stat-item p::before {
    content: '●';
    display: block;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}


/* --- Services Section --- */
#servicos {
    background: radial-gradient(circle at 0% 0%, rgba(224, 242, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 153, 255, 0.05) 0%, transparent 50%),
        var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: card-entrance 0.8s ease-out backwards;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Animação de entrada escalonada */
.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Borda sutil no hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}


/* Efeito de brilho deslizante */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 50, 100, 0.12);
    border-color: var(--primary-light);
}

.service-card.selected {
    transform: translateY(-10px);
    border-color: var(--primary);
    border-width: 2px;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 153, 255, 0.15);
    z-index: 10;
}

/* Estrutura de Imagem do Serviço */
.service-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 2.22rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-info p {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-card.selected h3 {
    color: var(--primary);
}

/* Efeitos de Hover no Card com Imagem */
.service-card .service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-img::after {
    opacity: 1;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    font-size: 1.55rem;
    color: var(--text-light);
    line-height: 1.7;
    transition: var(--transition);
}

.service-card:hover p {
    color: var(--secondary);
}


/* --- About Section --- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8rem;
    align-items: center;
}

.about-text .section-subtitle {
    margin-left: 0;
    margin-right: auto;
}

.about-img {
    position: relative;
    padding: 2rem;
}

/* Forma decorativa atrás da imagem */
.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
    transform: rotate(-3deg);
}

.about-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-img:hover img {
    transform: translateY(-10px) rotate(2deg);
}

/* Card flutuante sobre a imagem */
.experience-card {
    position: absolute;
    bottom: -60px;
    right: -20px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: float-badge 4s ease-in-out infinite;
    z-index: 2;
}

.exp-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.exp-text h4 {
    font-size: 2rem;
    color: var(--primary);
}

.exp-text p {
    font-size: 1.3rem;
    font-weight: 600;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.diff-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #f0f4f8;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.diff-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.diff-item i {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.diff-item:hover i {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.diff-item h4 {
    font-size: 1.8rem;
    margin: 0;
}

.diff-item p {
    margin: 0 !important;
    line-height: 1.4;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Testimonials --- */
.testimonial-item {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.testimonial-item:hover::before {
    transform: scaleX(1);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.stars {
    color: #fece32;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    display: flex;
    gap: 0.3rem;
}

.t-text {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    height: 150px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.t-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.15);
    transition: var(--transition);
    position: relative;
    aspect-ratio: 1 / 1;
}

.t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.testimonial-item:hover .t-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

.t-info h4 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    color: var(--secondary);
}

.t-info span {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
}

/* --- FAQ --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding-bottom: 2rem;
    max-height: 200px;
    border-top-color: #eee;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item i {
    transition: 0.3s;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* --- Contact Split Design --- */
.contact-split {
    padding: 0;
    margin-bottom: 50px;
    background: #ffffff;
}

.contact-split-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 700px;
}

/* Left Side - Contact Info */
.contact-info-side {
    padding: 8rem 6rem;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-main-title {
    font-size: 4.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-tagline {
    font-size: 1.7rem;
    color: var(--text-body);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-method:hover .method-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.whatsapp-method:hover .method-icon {
    background: var(--success);
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.method-label {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
}

.method-value {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 600;
}

.method-sublabel {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.btn-schedule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 4rem;
    background: var(--success);
    color: white;
    border-radius: 50px;
    font-size: 1.7rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    text-decoration: none;
}

.btn-schedule:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
    color: white;
}

/* Right Side - Map */
.contact-map-side {
    position: relative;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-split-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-info-side {
        padding: 6rem 4rem;
    }
    
    .contact-map-side {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .contact-info-side {
        padding: 4rem 2rem;
    }
    
    .contact-main-title {
        font-size: 3.2rem;
    }
    
    .contact-tagline {
        font-size: 1.6rem;
    }
    
    .contact-methods {
        gap: 2rem;
    }
    
    .method-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.8rem;
    }
    
    .method-value {
        font-size: 1.6rem;
    }
    
    .contact-map-side {
        height: 350px;
    }
}


/* --- Footer --- */
.footer {
    background: #0b1c31;
    color: #94a3b8;
    padding: 8rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo {
    font-size: 2.4rem;
    color: white;
    font-weight: 800;
    margin-bottom: 2rem;
    display: block;
}

.footer h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.footer ul li {
    margin-bottom: 1.2rem;
}

.footer a:hover {
    color: var(--primary);
}

.socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.socials a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.socials a:hover {
    background: rgba(255, 255, 255, 0.2);
}



.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    text-align: center;
    font-size: 1.4rem;
}

/* --- Floating Actions --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .header {
        height: auto;
        padding: 1.5rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 3rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container,
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-img {
        margin-top: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }



    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-img {
        height: 200px;
    }

    .service-info {
        padding: 2rem;
    }

    .service-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2.8rem;
    }

    .hero-text h1 {
        font-size: 3.6rem;
    }

    .stats-grid,
    .footer-grid,
    .diff-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-img {
        height: 180px;
    }


}