/* ==========================
   VARIÁVEIS
   ========================== */
:root {
    --color-bg: #f4e154;
    --color-text: #111;
    --color-header: #ffffff;
    --color-accent: #facc15;
    --color-white: #ffffff;
    --color-dark: #000000;

    --btn-radius: 10px;
    --transition: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
}

/* ==========================
   CONTAINER PADRÃO (SEÇÕES)
   ========================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 60px 0;
}

/* ==========================
   HEADER (CORRETO AGORA)
   ========================== */
header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* CONTAINER EXCLUSIVO DO HEADER */
.header-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 60px; /* 🔥 controla altura real */
}

/* LOGO */
.logo img {
    height: 40px;
    display: block;
}

/* MENU */
nav {
    display: flex;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
}

/* underline animado */
nav a::after {
    content: "";
    height: 2px;
    width: 0%;
    background: var(--color-accent);
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

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

/* MENU MOBILE */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 4px 0;
}

/* ==========================
   HERO
   ========================== */
.hero {
    height: 85vh;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

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

/* ==========================
   TÍTULOS
   ========================== */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ==========================
   BOTÕES
   ========================== */
.btn {
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 8px;
    transition: var(--transition);
}

.primary {
    background: var(--color-accent);
    color: #000;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.outline {
    border: 2px solid #fff;
    color: #fff;
}

.outline:hover {
    background: #fff;
    color: #000;
}

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

.card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card i {
    margin-bottom: 15px;
    color: var(--color-accent);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ==========================
   SOBRE
   ========================== */
.about-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-cards {
    flex: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    flex: 1 1 150px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-card:hover {
    transform: scale(1.05);
}

/* ==========================
   BOTÕES FLUTUANTES
   ========================== */
.whatsapp-float,
.phone-float {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
    color: #fff;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.whatsapp-float {
    bottom: 20px;
    background: #25d366;
}

.phone-float {
    bottom: 90px;
    background: #000;
}

.whatsapp-float:hover,
.phone-float:hover {
    transform: scale(1.1);
}

/* ==========================
   FOOTER
   ========================== */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* ==========================
   ANIMAÇÃO
   ========================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
   RESPONSIVO
   ========================== */
@media (max-width: 768px) {

    .header-container {
        height: 55px;
    }

    nav {
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 70vh;
    }

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

    .about-content {
        flex-direction: column;
    }
}