/* ===== IN 2019 - Seminario Odontologia e Osseointegracao ===== */
/* Paleta: Azul escuro, branco, teal - odontologico/cientifico */
/* Fontes: Poppins + Lora */

:root {
    --color-primary: #1e3a5f;
    --color-primary-dark: #162d4a;
    --color-primary-light: #2a5a8f;
    --color-teal: #14b8a6;
    --color-teal-dark: #0d9488;
    --color-teal-light: #5eead4;
    --color-white: #ffffff;
    --color-bg: #f7faf9;
    --color-bg-alt: #f0f5f3;
    --color-text: #1a2e3d;
    --color-text-light: #4a6272;
    --color-text-muted: #7d95a4;
    --color-border: #d1ddd9;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Lora', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 36px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a:hover {
    color: var(--color-teal);
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-teal);
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

#main-nav a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width 0.3s ease;
}

#main-nav a:hover::after {
    width: 100%;
}

#main-nav a:hover {
    color: var(--color-teal-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(150deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 130px 20px 100px;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 10% 90%, rgba(20,184,166,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(20,184,166,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-white), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    max-width: 750px;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 400;
    max-width: 650px;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 15px 36px;
    background: var(--color-teal);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,184,166,0.3);
}

.btn-large {
    padding: 17px 44px;
    font-size: 1rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-teal);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section > .container > p {
    text-align: center;
    max-width: 650px;
    margin: 24px auto 50px;
    color: var(--color-text-light);
    font-size: 1.02rem;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 50px;
    align-items: start;
}

.content-text p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.content-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--color-primary);
}

/* ===== SIDEBAR ===== */
.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-teal);
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-family: var(--font-heading);
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '\25B8';
    color: var(--color-teal);
    margin-right: 10px;
}

.authority-links a {
    color: var(--color-teal-dark);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    display: block;
    padding: 6px 0;
}

.authority-links a:hover {
    color: var(--color-teal);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: var(--transition);
    border-left: 4px solid var(--color-teal);
}

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

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

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

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.feature:hover {
    background: var(--color-white);
    border-top-color: var(--color-teal);
    box-shadow: var(--shadow-md);
}

.feature h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
    text-align: center;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 1rem;
}

.section .btn-primary {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.78);
    padding: 50px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--color-teal-light);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-references h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 14px;
}

.footer-links ul,
.footer-references ul {
    list-style: none;
}

.footer-links ul li,
.footer-references ul li {
    margin-bottom: 7px;
}

.footer-links a,
.footer-references a {
    color: rgba(255,255,255,0.6);
    font-family: var(--font-heading);
    font-size: 0.88rem;
}

.footer-links a:hover,
.footer-references a:hover {
    color: var(--color-teal-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37,211,102,0.55);
    color: var(--color-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    #main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    #main-nav.active {
        transform: translateY(0);
    }

    #main-nav ul {
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }

    #main-nav ul li {
        border-bottom: 1px solid var(--color-border);
    }

    #main-nav a {
        display: block;
        padding: 12px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 75vh;
        padding: 100px 20px 80px;
    }

    .section {
        padding: 60px 0;
    }

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

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

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

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

    .btn-primary {
        padding: 13px 28px;
        font-size: 0.88rem;
    }
}
