/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #17252d;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}


/* =========================
   CORES
========================= */

:root {
    --petroleo: #073b45;
    --petroleo-dark: #052d35;
    --azul: #147c8a;
    --azul-claro: #dff1f3;
    --cinza: #66747a;
    --cinza-claro: #f5f8f8;
    --branco: #ffffff;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7eeee;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--petroleo);
    color: white;
    font-family: "Playfair Display", serif;
    font-weight: bold;
    border-radius: 4px;
}

.logo div {
    display: flex;
    flex-direction: column;
}

.logo strong {
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

.logo small {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--azul);
}


/* MENU */

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--azul);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 25px;
    color: var(--petroleo);
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 720px;
    padding-top: 150px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            #f4f8f8 0%,
            #ffffff 55%,
            #eaf4f5 100%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.tag,
.section-title span,
.section-label,
.cta span {
    color: var(--azul);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 18px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.08;
    color: var(--petroleo);
}

.hero h1 span {
    color: var(--azul);
}

.hero-text > p {
    margin-top: 25px;
    max-width: 570px;
    color: var(--cinza);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    padding: 15px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--petroleo);
    color: white;
}

.btn-primary:hover {
    background: var(--azul);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--petroleo);
    color: var(--petroleo);
}

.btn-outline:hover {
    background: var(--petroleo);
    color: white;
}

.oab {
    margin-top: 25px;
    font-size: 12px;
    font-weight: 600;
    color: #7a888d;
}


/* HERO CARD */

.hero-card {
    min-height: 390px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--petroleo);
    color: white;
    position: relative;
    box-shadow: 20px 20px 0 var(--azul-claro);
}

.card-line {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 60px;
    height: 2px;
    background: var(--azul);
}

.law-symbol {
    font-size: 70px;
    font-family: serif;
    opacity: 0.9;
    margin-bottom: auto;
}

.hero-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
}

.hero-card p {
    margin-top: 10px;
    color: #c5d5d8;
}


/* =========================
   ATUAÇÃO
========================= */

.atuacao {
    padding: 110px 0;
}

.section-title {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-title h2 {
    margin-top: 10px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
    color: var(--petroleo);
}

.section-title p {
    margin-top: 15px;
    color: var(--cinza);
}

.areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.area-card {
    padding: 30px;
    min-height: 300px;
    border: 1px solid #e4eded;
    transition: 0.3s;
    background: white;
}

.area-card:hover {
    transform: translateY(-7px);
    border-color: var(--azul);
    box-shadow: 0 15px 40px rgba(7, 59, 69, 0.08);
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul-claro);
    color: var(--petroleo);
    font-size: 23px;
    margin-bottom: 30px;
}

.area-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: var(--petroleo);
}

.area-card p {
    margin: 14px 0 20px;
    font-size: 13px;
    color: var(--cinza);
}

.area-card a {
    color: var(--azul);
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   SOBRE
========================= */

.sobre {
    padding: 110px 0;
    background: var(--cinza-claro);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.sobre-image {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--petroleo),
            var(--azul)
        );

    position: relative;
}

.image-placeholder {
    width: 75%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    font-family: "Playfair Display", serif;
    font-size: 90px;
    color: rgba(255, 255, 255, 0.9);
}

.sobre-text h2 {
    margin-top: 15px;
    font-family: "Playfair Display", serif;
    font-size: 43px;
    line-height: 1.15;
    color: var(--petroleo);
}

.sobre-text p {
    margin-top: 20px;
    color: var(--cinza);
}

.numbers {
    display: flex;
    gap: 45px;
    margin-top: 35px;
}

.numbers div {
    display: flex;
    flex-direction: column;
}

.numbers strong {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    color: var(--azul);
}

.numbers span {
    font-size: 11px;
    color: var(--cinza);
}


/* =========================
   HISTÓRICO
========================= */

.historico {
    padding: 110px 0;
}

.timeline {
    max-width: 800px;
    border-left: 1px solid #c9d8da;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    padding-left: 45px;
    padding-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--azul);
    border: 3px solid white;
    box-shadow: 0 0 0 1px var(--azul);
}

.timeline-content span {
    font-size: 11px;
    font-weight: 700;
    color: var(--azul);
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin-top: 8px;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    color: var(--petroleo);
}

.timeline-content p {
    margin-top: 10px;
    color: var(--cinza);
}


/* =========================
   FORMAÇÃO
========================= */

.formacao {
    padding: 110px 0;
    background: var(--petroleo);
    color: white;
}

.formacao .section-title h2 {
    color: white;
}

.formacao .section-title p {
    color: #b7cbcf;
}

.formation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.formation-card {
    padding: 35px;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.formation-number {
    color: #7fc3cc;
    font-size: 12px;
    font-weight: 700;
}

.formation-card h3 {
    margin-top: 30px;
    font-family: "Playfair Display", serif;
    font-size: 23px;
}

.formation-card p {
    margin-top: 15px;
    color: #bdd0d3;
    font-size: 14px;
}

.formation-card small {
    display: block;
    margin-top: 15px;
    color: #8faeb3;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;
    background: var(--azul);
}

.cta-content {
    max-width: 750px;
    text-align: center;
    margin: auto;
    color: white;
}

.cta span {
    color: #c6ebef;
}

.cta h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: 43px;
}

.cta p {
    margin: 15px auto 30px;
    max-width: 600px;
    color: #d9eef0;
}

.btn-white {
    background: white;
    color: var(--petroleo);
}

.btn-white:hover {
    transform: translateY(-2px);
}


/* =========================
   CONTATO
========================= */

.contato {
    padding: 110px 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.contato h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: 45px;
    color: var(--petroleo);
}

.contato p {
    margin-top: 15px;
    color: var(--cinza);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e4eded;
    transition: 0.3s;
}

.contact-item:hover {
    padding-left: 28px;
    background: var(--cinza-claro);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul-claro);
    color: var(--petroleo);
    font-weight: bold;
    flex-shrink: 0;
}

.contact-item div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: 11px;
    color: var(--cinza);
}

.contact-item strong {
    font-size: 14px;
    color: var(--petroleo);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #032a31;
    color: white;
}

.footer-content {
    padding: 45px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content strong {
    font-family: "Playfair Display", serif;
    font-size: 20px;
}

.footer-content p {
    margin-top: 5px;
    color: #94afb4;
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    font-size: 12px;
    color: #c1d2d5;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #718e93;
    font-size: 10px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #147c5a;
    color: white;
    font-weight: bold;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    z-index: 999;
    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.08);
}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 900px) {

    nav {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;

        background: white;

        display: none;
        flex-direction: column;

        padding: 25px;

        border-bottom: 1px solid #ddd;
    }

    nav.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero-content,
    .sobre-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }

    .areas {
        grid-template-columns: repeat(2, 1fr);
    }

    .formation-grid {
        grid-template-columns: 1fr;
    }

    .contato-grid {
        gap: 50px;
    }
}


@media (max-width: 600px) {

    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .areas {
        grid-template-columns: 1fr;
    }

    .section-title h2,
    .sobre-text h2,
    .contato h2,
    .cta h2 {
        font-size: 34px;
    }

    .sobre-image {
        height: 380px;
    }

    .numbers {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .logo strong {
        font-size: 15px;
    }

    .contact-item strong {
        font-size: 13px;
        word-break: break-word;
    }
}