* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #071a33;
    padding: 20px 8%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
    color: #d4af37;
    font-family: 'Cormorant Garamond', serif;
    font-size: 35px;
    font-weight: 700;
    transition: .3s;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: .85;
}

.logo span {
    display: block;
    font-family: 'Poppins';
    font-size: 11px;
    letter-spacing: 4px;
    color: white;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    transition: .3s;
}

nav ul a:hover {
    color: #d4af37;
}

.menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
}

/* HERO */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(rgba(7, 26, 51, .8),
            rgba(7, 26, 51, .8)),
        url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f") center/cover;

    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-text {
    max-width: 700px;
    color: white;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    line-height: 1.1;
}

.hero p {
    margin: 25px 0;
    font-size: 20px;
    color: #ddd;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #d4af37;
    color: #071a33;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-5px);
}

.section {
    padding: 90px 10%;
    text-align: center;
}

.section h2,
.depoimentos h2,
.contact h2 {
    font-family: 'Cormorant Garamond';
    font-size: 50px;
    margin-bottom: 35px;
}

.section p {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
}

.gray {
    background: #f5f5f5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    transition: .3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #071a33;
    margin-bottom: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.features div {
    padding: 30px;
}

.features h3 {
    color: #071a33;
    margin-bottom: 15px;
}

.depoimentos {
    padding: 90px 10%;
    text-align: center;
}

.blog {
    background: white;
}

/* FAQ */

.faq {
    background: #f5f5f5;
}


.question {
    max-width: 850px;
    margin: 20px auto;
    text-align: left;
}


.question button {
    width: 100%;
    padding: 20px 25px;

    border: none;
    border-radius: 8px;

    background: white;
    color: #071a33;

    font-size: 17px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);

    transition: .3s;
}


.question button:hover {
    background: #071a33;
    color: white;
}


.question p {
    display: none;

    padding: 20px 25px;

    background: white;

    color: #555;

    border-radius: 0 0 8px 8px;

    line-height: 1.7;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.contact {
    background: #071a33;
    color: white;
    padding: 90px 10%;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.contact textarea {
    height: 150px;
}

.contact button {
    padding: 15px;
    background: #d4af37;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: white;

    border-radius: 50%;

    font-size: 32px;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 5px 20px #0005;

    transition: .3s;
}


.whatsapp:hover {
    transform: scale(1.1);
}

footer {
    background: #030d19;
    color: white;
    padding: 25px;
    text-align: center;
}

/* RESPONSIVO */

@media(max-width:900px) {

    nav ul {
        display: none;
    }

    .menu {
        display: block;
    }

    .hero h1 {
        font-size: 45px;
    }

    .logo {
        font-size: 28px;
    }
}

.blog-preview a,
.card a {
    display: inline-block;
    margin-top: 20px;
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.article {
    max-width: 900px;
    margin: 150px auto;
    padding: 40px;
    line-height: 1.8;
}

.article h1 {
    font-family: 'Cormorant Garamond';
    font-size: 55px;
    color: #071a33;
}

.article h2 {
    margin-top: 40px;
    color: #071a33;
}

.article-img {
    width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

.article-contact {
    display: flex;
    flex-direction: column;

    margin-top: 40px;
    padding: 15px;

    background: #071a33;
    color: white;
    text-align: center;

    border-radius: 10px;
}

.article-contact h2 {
    color: white;
    margin: 0 0 20px;
}

.article-contact a {
    background: #d4af37;
    padding: 12px 25px;
    display: inline-block;
    margin-top: 15px;
    color: #071a33;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* PAGINA ADVOGADO */

.lawyer-hero {
    min-height: 90vh;
    padding: 150px 10% 80px;
    display: flex;
    align-items: center;
    gap: 70px;
    background: #071a33;
    color: white;
}

.lawyer-photo {
    width: 350px;
    height: 430px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 10px;
    border: 5px solid #d4af37;
}

.lawyer-text {
    max-width: 600px;
}

.lawyer-text h1 {
    font-family: 'Cormorant Garamond';
    font-size: 70px;
    color: #d4af37;
}

.lawyer-text h3 {
    margin: 20px 0;
}

.lawyer-text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* BLOG */

.blog-header {
    padding: 160px 10% 70px;
    background: #071a33;
    color: white;
    text-align: center;
}

.blog-header h1 {
    font-family: 'Cormorant Garamond';
    font-size: 60px;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 20px;
    color: #ddd;
}

.blog-header input {
    margin-top: 30px;
    padding: 15px 20px;
    width: 400px;
    max-width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}


.categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


.categories button {
    padding: 10px 25px;
    border: none;
    background: #071a33;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}


.categories button:hover {
    background: #d4af37;
    color: #071a33;
}


.article-card span {
    display: inline-block;
    margin-bottom: 15px;
    color: #d4af37;
    font-weight: bold;
}

@media(max-width:900px) {

    .lawyer-hero {
        flex-direction: column;
        text-align: center;
    }

    .lawyer-photo {
        width: 280px;
        height: 350px;
    }

    .lawyer-text h1 {
        font-size: 45px;
    }

}