:root {
    --primary: #002050;
    --primary-dark: #001630;
    --secondary: #003060;
    --blue-light: #164b7a;
    --card: #0b315a;
    --gold: #e0c070;
    --gold-light: #f0d69b;
    --white: #f4f4f2;
    --text-secondary: #a0b0c0;
    --border: #315477;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
    --font-script: 'Allura', cursive;
}

body {
    background-color: var(--primary);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    height: 100%;
    box-sizing: border-box;
}

.navbar {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 50px;
}

.navbar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

    z-index: 1000;
}

.logo {
    font-size: 24px;
}

.nav-links-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links-desktop li {
    padding: 0 15px;

}

.nav-links-desktop a,
.nav-links-mobile a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;

}

.nav-links-desktop a:hover {
    color: var(--gold);
}

.mobilemenu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
    z-index: 1100;
}

.nav-links-mobile {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    width: 80%;
    list-style: none;
    padding: 0;
}

.nav-links-mobile li {
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1.2rem;
}

.hamburger,
.close {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}

.close {
    margin-top: 20px;
    margin-right: 20px;
    display: block;
    align-self: end

}

.flex {
    display: flex;
}

@media (max-width: 768px) {

    html {
        font-size: 12px;
    }

    .nav-links-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* ===================================================
   Landing page
   =================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    height: auto;
    min-height: 100%;
    color: var(--white);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-elegant);
    font-weight: 600;
    line-height: 1.12;
}

p {
    margin: 0;
}

.wrap {
    width: min(1120px, 100% - 40px);
    margin-inline: auto;
}

/* Navbar fixa */
.navbar {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    width: min(1120px, 100% - 28px);
    margin-inline: auto;
}

.logo {
    font-family: var(--font-elegant);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links-desktop a {
    font-size: 14px;
    font-weight: 500;
}

/* Botões e detalhes comuns */
.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(224, 192, 112, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(224, 192, 112, 0.38);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 130px 0 80px;
    background:
        radial-gradient(circle at 82% 28%, rgba(22, 75, 122, 0.7), transparent 55%),
        radial-gradient(circle at 8% 90%, rgba(0, 48, 96, 0.8), transparent 50%),
        linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    font-weight: 700;
}

.lead {
    max-width: 560px;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    color: var(--gold-light);
    font-size: 14px;
}

.chips i {
    margin-right: 6px;
    color: var(--gold);
}

.hero-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 480px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 192, 112, 0.28), transparent 68%);
    filter: blur(10px);
}

.hero-visual img {
    position: relative;
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
    animation: flutuar 6s ease-in-out infinite;
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Seções */
.section {
    padding: 100px 0;
    scroll-margin-top: 60px;
}

.section-alt {
    background: var(--primary-dark);
    border-top: 1px solid rgba(49, 84, 119, 0.5);
    border-bottom: 1px solid rgba(49, 84, 119, 0.5);
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section h2,
.cta h2 {
    font-size: clamp(32px, 4.2vw, 48px);
}

.section-head p {
    margin-top: 16px;
    color: var(--text-secondary);
}

/* Cards de serviços */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    padding: 32px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(224, 192, 112, 0.12);
    border: 1px solid rgba(224, 192, 112, 0.35);
    color: var(--gold);
    font-size: 20px;
}

.card h3 {
    font-size: 26px;
}

.card p {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Etapas */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.step-number {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    font-family: var(--font-elegant);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.steps h3 {
    font-size: 24px;
}

.steps p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Sobre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: 17px;
}

.values {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.values li {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.values i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(224, 192, 112, 0.12);
    color: var(--gold);
    font-size: 18px;
}

.values h3 {
    font-size: 22px;
}

.values p {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Dúvidas */
.faq-wrap {
    max-width: 820px;
}

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.3s;
}

.faq details[open] {
    border-color: var(--gold);
}

.faq summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 26px;
    font-weight: 400;
    transition: transform 0.25s;
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Chamada final */
.cta {
    padding: 72px 32px;
    text-align: center;
    border: 1px solid var(--gold);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(224, 192, 112, 0.16), transparent 60%),
        linear-gradient(160deg, var(--secondary), var(--primary));
}

.cta p {
    max-width: 520px;
    margin: 18px auto 32px;
    color: var(--text-secondary);
}

/* Formulário de contato */
.lead-form {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
}

.lead-form h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.form-intro {
    margin: 12px 0 36px;
    color: var(--text-secondary);
}

.question {
    min-width: 0;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
}

.question legend {
    margin-bottom: 14px;
    padding: 0;
    font-weight: 600;
    font-size: 17px;
}

.question legend span {
    margin-right: 4px;
    color: var(--gold);
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.field input {
    width: 100%;
    padding: 14px 16px;
    background: var(--primary-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.field select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    background-color: var(--primary-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e0c070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.field select:invalid {
    color: var(--text-secondary);
}

.field select option {
    background: var(--primary-dark);
    color: var(--white);
}

.field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(224, 192, 112, 0.18);
}

.field input::placeholder {
    color: var(--border);
}

.field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(224, 192, 112, 0.18);
}

.form-error {
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 14px;
}

.form-submit {
    width: 100%;
    cursor: pointer;
}

.form-note {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .lead-form {
        padding: 36px 20px;
        border-radius: 22px;
    }

    .fields {
        grid-template-columns: 1fr;
    }
}

/* Rodapé */
.footer {
    padding: 48px 0;
    background: var(--primary-dark);
    border-top: 1px solid rgba(49, 84, 119, 0.5);
    text-align: center;
}

.footer-inner {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact {
    width: 100%;
    max-width: 560px;
    margin: 22px 0 12px;
    padding-top: 26px;
    border-top: 1px solid rgba(49, 84, 119, 0.5);
}

.footer-contact h3 {
    margin-bottom: 14px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.footer-contact ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: left;
}

.footer-contact i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 4px;
    color: var(--gold);
    text-align: center;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact strong {
    color: var(--white);
    font-weight: 600;
}

.footer small {
    max-width: 560px;
    color: var(--border);
    font-size: 12px;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 960px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 110px 0 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        max-width: 340px;
    }

    .lead {
        font-size: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta {
        padding: 56px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-visual img {
        animation: none;
    }
}