/* =========================================================================
   Odonto Clinic Design System - Portfolio Demo LinkAqui
   ========================================================================= */

:root {
    --primary-color: #00B4D8; /* Ciano Clínico */
    --primary-light: #90E0EF;
    --primary-dark: #0077B6;
    --secondary-color: #03045E; /* Azul Marinho (Autoridade) */
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, .logo {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

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

/* ================== Typography & Utils ================== */
.bg-light { background-color: var(--bg-light); }
.mt-4 { margin-top: 1.5rem; }

.section-padding { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ================== Buttons ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
    color: white;
}

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

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

/* ================== Header ================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
}

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

.nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-list a:hover {
    color: var(--secondary-color);
}
.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================== Hero Section ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #E0FBFC 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.hero-shape {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

/* ================== Services/Cards ================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #FFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #F3F4F6;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.1);
    border-color: var(--primary-light);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #E0FBFC;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--primary-dark);
}

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

.card p {
    color: var(--text-secondary);
}

/* ================== Footer ================== */
.footer {
    background: var(--secondary-color);
    color: #FFF;
    padding: 60px 0 20px;
}

/* ================== WhatsApp Float ================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* ================== Animations (Scroll Reveal) ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.reveal-delay.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================== Media Queries ================== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        font-size: 1.5rem;
    }

    .mobile-menu-btn { display: flex; z-index: 1002; }

    .btn-nav { display: none; }
    
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero { text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-content { margin: 0 auto; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .hero-buttons a { margin: 0 !important; width: 100%; }
    
    .about-text { text-align: center; }
}
