/* ========================= */
/* RESET E CONFIGURAÇÕES     */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f7f8fa;
    color: #222;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================= */
/* HEADER / NAVBAR           */
/* ========================= */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header .container {
    max-width: 1300px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 250px;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a73e8;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    transition: 0.3s;
    font-weight: 500;
}

.nav a:hover {
    color: #1a73e8;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
}

/* ========================= */
/* HERO                      */
/* ========================= */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a73e8, #0b54b7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero h1 span {
    color: #ffee58;
}

.hero p {
    margin-top: 15px;
    font-size: 1.2rem;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    padding: 12px 26px;
    background: #fff;
    color: #1a73e8;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e8f0fe;
}

.btn-secondary {
    padding: 12px 26px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================= */
/* SEÇÕES GERAIS             */
/* ========================= */

section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ========================= */
/* SERVICES                  */
/* ========================= */

.service-cards {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card .icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    color: #1a73e8;
}

/* ========================= */
/* ADVANTAGES                */
/* ========================= */

.advantages-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.adv {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.adv:hover {
    transform: translateY(-6px);
}

.adv i {
    font-size: 2.6rem;
    color: #1a73e8;
    margin-bottom: 12px;
}

/* ========================= */
/* DISADVANTAGES             */
/* ========================= */

.disadvantages-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.dis {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.dis:hover {
    transform: translateY(-6px);
}

.dis i {
    font-size: 2.6rem;
    color: #d9534f;
    margin-bottom: 12px;
}

/* ========================= */
/* PORTFOLIO                 */
/* ========================= */

.portfolio-grid {
    max-width: 800px;
    margin: 0 auto; /* centraliza o bloco */
    text-align: center; /* centraliza a imagem dentro */
}

.project {
    overflow: hidden;
    border-radius: 14px;
    transition: 0.3s;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

.project img {
    display: block;
    margin: 0 auto; /* garante que a imagem fique centralizada */
    transition: 0.3s;
}

.project:hover img {
    transform: scale(1.07);
}

/* ========================= */
/* CONTATO / FORM            */
/* ========================= */

.orcamento-box {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

.orcamento-box input,
.orcamento-box textarea {
    width: 100%;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

.orcamento-box input:focus,
.orcamento-box textarea:focus {
    border-color: #1a73e8;
}

.orcamento-buttons {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

.btn-whatsapp,
.btn-email {
    width: 50%;
    padding: 14px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
    transition: 0.3s;
}

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

.btn-email {
    background: #1a73e8;
}

.btn-email:hover {
    background: #0f5acc;
}

/* ========================= */
/* SOCIAL LINKS              */
/* ========================= */

.social {
    text-align: center;
    margin-top: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    font-size: 2rem;
    color: #1a73e8;
    transition: 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #0d47a1;
}

/* ========================= */
/* FOOTER                    */
/* ========================= */

.footer {
    padding: 20px;
    text-align: center;
    background: #f1f1f1;
    font-size: 0.9rem;
}

/* ========================= */
/* ANIMAÇÃO REVEAL           */
/* ========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* RESPONSIVIDADE            */
/* ========================= */

@media (max-width: 900px) {
    .nav {
        display: none;
        position: absolute;
        top: 75px;
        right: 20px;
        background: white;
        padding: 20px;
        border-radius: 8px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    }

    .menu-toggle {
        display: block;
    }

    .nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
    }

    .orcamento-buttons {
        flex-direction: column;
    }
}