/* ============================
   Marcelo Beltrame – Advogado
   Site institucional simples, responsivo e clean
   ============================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
    background-color: #f8f7f5;
    color: #222222;
    line-height: 1.6;
}

a {
    color: inherit;
}

/* Cabeçalho */

header {
    background: #0b132b;
    padding: 16px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 100px;
}

nav a {
    color: #ffffff;
    margin-left: 22px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.03em;
}

nav a:hover {
    color: #d4af37;
}

/* Seção de destaque */

.hero {
    text-align: center;
    padding: 100px 10% 70px 10%;
    background-color: #ffffff;
}

.hero h1 {
    font-size: 40px;
    color: #0b132b;
    margin-bottom: 8px;
}

.hero p {
    font-size: 19px;
    color: #444444;
    margin-top: 0;
}

/* Seções internas */

.section {
    padding: 60px 14%;
    background-color: #f8f7f5;
}

.section h2 {
    color: #0b132b;
    font-size: 30px;
    margin-bottom: 16px;
}

.section h3 {
    color: #273469;
    font-size: 22px;
    margin-top: 26px;
    margin-bottom: 4px;
}

.section p {
    margin-top: 4px;
    margin-bottom: 8px;
}

/* Botões */

.btn {
    background-color: #d4af37;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b8922b;
}

/* Rodapé */

footer {
    background: #0b132b;
    color: #ffffff;
    text-align: center;
    padding: 28px 8%;
    margin-top: 40px;
    font-size: 14px;
}

footer p {
    margin: 4px 0;
}

/* Contato */

.contact-data p {
    margin: 4px 0;
}

/* ============================
   SOBRE – FOTO + TEXTO
   ============================ */

.sobre-container {
    display: flex;
    align-items: flex-start;      /* mantém texto e imagem alinhados pelo topo */
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;            /* impede quebra que jogava a foto para cima */
    margin-top: 10px;
}

.sobre-foto img {
    width: 220px;                 /* reduzido para harmonizar com layout */
    max-width: 100%;
    border-radius: 8px;           /* suaviza o canto */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.13); /* sombra mais elegante */
}

.sobre-texto {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
}

/* ============================
   Botão flutuante de WhatsApp
   ============================ */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    line-height: 60px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 999;
}

.whatsapp-float:hover {
    background-color: #1da955;
}

/* ============================
   Responsivo
   ============================ */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        display: inline-block;
        margin: 4px 10px 4px 0;
    }

    .hero {
        padding: 70px 8% 50px 8%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 40px 8%;
    }

    /* Sobre – versão mobile */
    .sobre-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* ============================
   AJUSTES RESPONSIVOS MOBILE
   ============================ */

@media (max-width: 768px) {

    /* Ajusta o header */
    header {
        padding: 12px 5%;
        flex-direction: column;
        text-align: center;
    }

    header img {
        height: 70px;
        margin-bottom: 10px;
    }

    nav a {
        display: inline-block;
        margin: 6px 12px;
        font-size: 16px;
    }

    /* HERO SECTION */
    .hero img {
        height: 120px !important;
    }

    .hero h1 {
        font-size: 22px;
        margin-top: 10px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 16px;
    }

    /* SEÇÕES */
    .section {
        padding: 0 8%;
        margin-bottom: 32px;
        font-size: 17px;
        line-height: 1.55;
    }

    .section h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .section ul li {
        margin-bottom: 8px;
        font-size: 16px;
    }

    /* BOTÃO WHATSAPP FLUTUANTE */
    .whatsapp-float {
        font-size: 26px !important;
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }

    /* RODAPÉ */
    footer {
        text-align: center;
        font-size: 15px;
        line-height: 1.4;
        padding: 16px 6%;
    }
}
