/* ===================================
   VARIÁVEIS CSS
   =================================== */
:root {
    --azul-escuro: #001f3f;
    --azul-claro: #4da6ff;
    --dourado: #ffd700;
    --roxo: #8b4789;
    --branco: #ffffff;
    --cinza-claro: #f8f9fa;
    --texto-escuro: #333333;
    --verde-whatsapp: #25d366;
    --sombra: rgba(0, 0, 0, 0.1);
    --gradient-header: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-claro) 50%, var(--roxo) 100%);
    --gradient-hero: linear-gradient(135deg, var(--azul-claro) 0%, var(--roxo) 100%);
    --gradient-cta: linear-gradient(135deg, var(--verde-whatsapp) 0%, #128c7e 100%);
    --gradient-section: linear-gradient(180deg, var(--branco) 0%, var(--cinza-claro) 100%);
}

/* ===================================
   RESET E CONFIGURAÇÕES GLOBAIS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--texto-escuro);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cinza-claro);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--azul-claro) 0%, var(--roxo) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--roxo) 0%, var(--azul-escuro) 100%);
}

/* Barra de progresso no topo */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--dourado) 0%, var(--azul-claro) 50%, var(--roxo) 100%);
    z-index: 10000;
    transition: width 0.2s ease;
}

/* ===================================
   CABEÇALHO
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-header);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px var(--sombra);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--branco);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Emojis animados no cabeçalho */
.header-emojis {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

/* ===================================
   SEÇÃO HERO
   =================================== */
.hero {
    margin-top: 0px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/saude-bucal-manaus-am.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

/* Camada preta transparente sobre o background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--branco);
    margin-bottom: 2rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* ===================================
   CTAs DA HERO
   =================================== */
.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--azul-escuro);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
    border-color: var(--dourado);
    color: var(--roxo);
}

.hero-cta-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta-button i,
.hero-cta-button span:first-child {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.hero-cta-button:hover i,
.hero-cta-button:hover span:first-child {
    transform: scale(1.2) rotate(5deg);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--branco);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-cta);
    color: var(--branco);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    border-color: var(--branco);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ===================================
   SEÇÃO DE CONTEÚDO SEO
   =================================== */
.seo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.service-section {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--sombra);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--azul-claro) 0%, var(--roxo) 50%, var(--dourado) 100%);
}

.service-section h2 {
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-left: 1.5rem;
}

.service-section h2::before {
    content: '✨';
    position: absolute;
    left: 0;
    animation: pulse 2s ease-in-out infinite;
}

.service-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--texto-escuro);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.service-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.service-section li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===================================
   MAPA GOOGLE
   =================================== */
.map-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.map-section h2 {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--sombra);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ===================================
   BOTÃO WHATSAPP FLUTUANTE
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--gradient-cta);
    color: var(--branco);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
    border-color: var(--branco);
}

.whatsapp-icon {
    font-size: 1.8rem;
    animation: shake 2s ease-in-out infinite;
}

/* ===================================
   RODAPÉ
   =================================== */
footer {
    background: var(--gradient-header);
    color: var(--branco);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dourado);
    font-weight: 700;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--branco);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--dourado);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ===================================
   UTILIDADES
   =================================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

