@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --primary: #0f3b73;
    --secondary: #4a5568;
    --accent: #75a3ad;
    --text-main: #1a202c;
    --text-muted: #718096;
    --border: #e8ecf1;
    
    --container-max: 1100px;
    --nav-height: 140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; margin-bottom: 0.5rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; }

p {
    color: var(--secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid var(--primary);
    border-radius: 6px;
    letter-spacing: 0.02em;
}

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

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

/* ── Navbar ── */
.navbar {
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* ── Hero ── */
.hero {
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-crm {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-tags span {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--secondary);
    background: var(--bg-alt);
}

.hero-description {
    margin-bottom: 40px;
}

.hero-visual {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 16px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ── Especialidades ── */
.services {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.service-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* ── Informações / Artigos ── */
.info-section {
    padding: 80px 0;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    text-align: left;
    padding: 32px 28px;
    background: var(--bg-alt);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Quote ── */
.quote-section {
    padding: 60px 0;
    background: var(--bg-alt);
}

blockquote {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding: 0 24px;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    font-style: normal;
    line-height: 1;
}

blockquote cite {
    display: block;
    margin-top: 20px;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
    color: var(--accent);
}

/* ── Depoimentos ── */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-main);
}

.testimonial-card p {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* ── Sobre ── */
.about {
    padding: 80px 0;
    background: var(--bg-alt);
}

.about-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    margin-bottom: 24px;
}

.about-container p {
    margin-bottom: 20px;
}

/* ── Mapa ── */
.map-section {
    padding: 80px 0;
    text-align: center;
}

.map-wrapper {
    margin-top: 8px;
}

/* ── Footer ── */
footer {
    padding: 50px 0 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
    font-weight: 300;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-social a {
    color: var(--secondary);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ── WhatsApp Flutuante ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ── Hamburger (hidden on desktop) ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--primary);
    }

    .nav-logo {
        height: 100px;
    }

    .navbar {
        height: 120px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-tags span {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .services,
    .info-section,
    .about,
    .map-section {
        padding: 60px 0;
    }

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

    .info-card {
        padding: 24px 20px;
    }

    blockquote {
        font-size: 1.1rem;
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .footer-info {
        font-size: 0.9rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}
