/* RESET E VARIÁVEIS */
:root {
    --primary: #0285c7;
    --primary-dark: #036aa1;
    --text-muted: #475569;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}

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

.img-icon {
    width: 30px;
    height: auto;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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


.logo {
    font-size: 18px;
}

.logo img {
    display: flex;
    width: 110px;
    height: auto;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-right: 24px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.btn-primary {
    color: #ffffff;
}

.nav a.btn-primary::after {
    display: none;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin-right: 0;
    }
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #ffffff;
    border: 2px solid var(--primary);
    padding: 12px 32px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-orcamento {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 34px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-orcamento:hover {
    background: #ffffffee;
}

.btn-orcamento img {
    transition: transform 0.3s ease;
}

.btn-orcamento:hover img {
    transform: translateX(8px) scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 18px 50px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
}

@media (max-width: 768px) {

    .hero-buttons {
        display: flex;
        align-items: center;
    }

    .btn-primary,
    .btn-orcamento {
        width: fit-content;
        white-space: nowrap;
    }
}

/* ================= HERO ================= */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(2, 133, 199, 0.404),
            rgba(2, 132, 199, 0.85)),
        url("img/principal.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 64px;
    margin: 20px 0;
}

.hero-content p {
    font-size: 18px;
    max-width: 650px;
    margin: auto;
    opacity: 0.95;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border: #ffffff62 solid 1px;
    border-radius: 20px;
    font-size: 14px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    justify-content: center;
}

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

.section.light {
    background: #ffffff;
}

.section-tag {
    color: var(--primary);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section h2 {
    margin: 15px 0 20px;
    font-size: 34px;
}

.section p {
    color: var(--text-muted);
}

.section-desc {
    margin-bottom: 50px;
    max-width: 650px;
}

/* ================= SOBRE ================= */
.sobre-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Texto */
.sobre-text p {
    margin-bottom: 18px;
}

/* Imagem */
.sobre-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ================= RESPONSIVO ================= */
@media (max-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .sobre-image {
        order: 2;
        margin-top: 40px;
    }

    .sobre-text {
        order: 1;
    }
}

/* ================= FEATURES ================= */
.features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.features div {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: var(--radius);
    font-weight: 500;
}

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

.card.modern {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Gradiente de transição */
.card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            #ffffff 100%);
}

.card-content {
    padding: 26px;
}

.card-content h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--text-dark);
}

.card-content p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ================= CONTATO ================= */
.contato {
    display: flex;
}

/* Texto */
.contato-text {
    display: flex;
    flex-direction: column;
}

/* Imagem */
.contato-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ================= CARDS DE CONTATO ================= */

.contact {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 12px;
    margin-inline: auto;
}

/* Card */
.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-4px);
}

/* Ícone */
.contact-icon {
    min-width: 46px;
    height: 46px;
    background: #d7e5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Texto */
.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-card span {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ================= WHATSAPP CARD ================= */
.whatsapp-card {
    margin-top: 12px;
    padding: 20px 20px;
    background: linear-gradient(135deg, #e9fff2, #dfffea);
    border: 1.5px solid #9be3b5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #1f3d2b;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Info */
.whatsapp-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Ícone */
.whatsapp-info img {
    width: 54px;
    height: 54px;
    padding: 10px;
    background: #25d366;
    border: 2px solid #1ebe5d;
    border-radius: 50%;
}

.whatsapp-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.whatsapp-card p {
    font-size: 0.9rem;
    color: #3f6b52;
}

/* Botão */
.whatsapp-btn {
    background: #1ebe5d;
    color: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 2px solid #1ebe5d;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #ffffff;
    color: #1ebe5d;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 768px) {

    .contact {
        width: 80%;
        grid-template-columns: 1fr;
    }
    .whatsapp-card {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================= FOOTER ================= */
.footer {
    background: #020617;
    color: #e5e7eb;
    padding: 60px 0 0;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 64px 80px;
    align-items: flex-start;
}

.footer-brand h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

.footer-brand img {
    display: flex;
    width: 200px;
}

/* ================= WHATSAPP ================= */
.whatsapp-icon {
    position: fixed;
    cursor: pointer;
    width: 60px;
    height: 60px;
    bottom: 0;
    right: 0;
    margin: 2%;
    animation: whatsappPulse 0.4s ease-in-out infinite;
}

.whatsapp-icon:hover {
    animation-play-state: paused;
    transform: scale(1.15);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
