* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f5f5;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.cabecalho {
    background: #111;
    color: white;
    padding: 20px 0;
}

.cabecalho .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cabecalho h1 {
    font-size: 24px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.destaque {
    display: flex;
    min-height: 600px;
    align-items: center;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.75)
        ),
        url("imagens/barbearia.jpg") center/cover;
    color: white;
    text-align: center;
}

.destaque h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.1;
}

.destaque p {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 18px;
}

.subtitulo {
    text-transform: uppercase;
    letter-spacing: 4px;
}

.botao {
    display: inline-block;
    border-radius: 8px;
    background: #c99b32;
    color: #111;
    font-weight: bold;
    padding: 14px 25px;
    text-decoration: none;
    transition: transform 0.2s;
}

.botao:hover {
    transform: translateY(-3px);
}

.secao {
    padding: 80px 0;
    text-align: center;
}

.secao h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

.secao-escura {
    background: #1b1b1b;
    color: white;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    border-radius: 12px;
    background: white;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card h3,
.card p {
    margin-bottom: 12px;
}

footer {
    background: #111;
    color: white;
    padding: 25px;
    text-align: center;
}

@media (max-width: 700px) {
    .cabecalho .container {
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .destaque {
        min-height: 500px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .secao {
        padding: 60px 0;
    }
}
