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

body {
    background-color: #fff;
    color: #2d1e0f;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cabeçalho */
header {
    background-color: rgb(165, 24, 24);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* botão de menu mobile */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
}

header.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

header .logo {
    font-size: 31.25px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #ffd700;
    transform: scale(1.1);
}

nav ul li .nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li .login-btn, nav ul li .cadastro-btn {
    background-color: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

nav ul li .login-btn:hover, nav ul li .cadastro-btn:hover {
    background-color: #ffd700;
    color: #a31818;
    transform: translateY(-2px);
}

/* Seção Hero */
.hero {
    position: relative;
    min-height: calc(100vh - (2rem + 50px));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(165, 24, 24, 0.3) 0%, rgba(200, 50, 50, 0.1) 100%), 
        url('../assets/images/pizza-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(165, 24, 24, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1.2s ease-out;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1.4s ease-out;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ffd700;
    color: #a31818;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #a31818;
    transform: translateY(-3px);
}

/* Seção Features */
.features {
    background: linear-gradient(135deg, #fff 0%, #f8f1e9 100%);
    padding: 4rem 0;
    margin-top: -1px;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(165, 24, 24, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: #a31818;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Seção Sobre */
.sobre {
    padding: 6rem 0;
    background: white;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text h2 {
    font-size: 3rem;
    color: #a31818;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sobre-subtitle {
    font-size: 1.3rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.sobre-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-image {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(165, 24, 24, 0.3);
}

.sobre-image img {
    border-radius: 20px;
    max-height: 510px;
    display: block;
    object-fit: cover;
}

/* Seção Depoimentos */
.depoimentos {
    padding: 0 0 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #a31818;
    margin-bottom: 1rem;
    font-weight: 700;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.depoimento-card {
    background: linear-gradient(135deg, #f8f1e9 0%, #fff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(165, 24, 24, 0.15);
}

.depoimento-stars {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.depoimento-texto {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

.depoimento-autor {
    text-align: center;
    color: #a31818;
    font-weight: 600;
    font-size: 1rem;
}

/* Rodapé */
footer {
    background: linear-gradient(135deg, #2d1e0f 0%, #1a1209 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul { display: none; }
    nav.open ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgb(165, 24, 24);
        flex-direction: column;
        gap: 1.5rem;
        padding: 0.6rem 1rem 1rem;
        align-items: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    nav.open ul li a { padding: .5rem 1rem; width: 100%; text-align:center; }

    header {
        flex-direction: row;
        padding: 0.6rem 1rem;
    }

    .logo-container {
        flex-direction: row;
        text-align: center;
        gap: 0.5rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    header .logo {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    nav ul li .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }

    .hero {
        min-height: calc(100vh - 70px);
    }

    .hero-image {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 3rem 1.5rem;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

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

    .hero .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .sobre-text {
        text-align: center;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-text h2 {
        font-size: 2rem;
    }

    .sobre-image {
        display: none;
    }

    .features .container,
    .produtos-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .features,
    .sobre,
    .produtos-destaque,
    .depoimentos {
        padding: 4rem 0;
    }
}

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

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .sobre-text h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .produto-card,
    .depoimento-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        font-size: 3rem;
    }

    .produto-image {
        padding: 2rem;
    }

    .produto-image span {
        font-size: 4rem;
    }

    .image-placeholder {
        padding: 4rem 1.5rem;
    }

    .image-placeholder span {
        font-size: 4rem;
    }

    .features,
    .sobre,
    .produtos-destaque,
    .depoimentos {
        padding: 3rem 0;
    }
}