* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

:root {
    font-size: 62.5%;

    --main-color: var(--mh-navy, #0E3178);
    --secondary-color: var(--mh-gold, #BE7512);
    --main-color-soft: rgba(14, 49, 120, 0.92);
    --secondary-color-soft: rgba(190, 117, 18, 0.92);

    --ff: 'Kanit', 'Roboto', sans-serif;

    --gray-800: #27272a;
    --gray-700: #3f3f46;
    --gray-500: #71717a;
    --gray-300: #d4d4d8;
    --gray-100: #f4f4f5;
    --gray-50: #fafafa;

    --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 8px 20px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.12);

    --radius-sm: .5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
}

::selection {
    background-color: var(--secondary-color);
    color: #fff;
}

body {
    overflow-x: hidden;
    font-family: var(--ff);
    background-color: #fff;
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    font-size: clamp(1.25rem, 1.125rem + 0.5vw, 1.75rem);
    line-height: 150%;
    color: var(--gray-700);
}

ul {
    list-style: none;
}

h2 {
    font-size: clamp(2rem, 1.656rem + 1vw, 3rem);
    letter-spacing: -0.01em;
}

.slide-txt, .plano-card, .rede-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
}

/* ---------- NAVBAR ---------- */
#navbar img {
    width: min(30vw, 14rem);
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 2.5rem;

    background-color: var(--main-color-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    position: fixed;
    z-index: 9999;
    width: 100vw;
    top: 0;

    transition: all 250ms ease-in-out;

    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#hamburger {
    display: block;
    cursor: pointer;
}

.bar {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

#hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

#hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

ul#menu.active {
    left: 0;
}

ul#menu {
    position: fixed;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    left: -120%;
    top: 9vh;

    padding: 2rem 5vw;

    font-size: 1.6rem;

    background-color: var(--main-color);
    width: 100%;
    text-align: right;

    transition: 300ms ease;

    z-index: 10;
    box-shadow: var(--shadow-md);
}

#menu a {
    color: #ffffff;
    font-weight: 400;
    transition: color 200ms ease;
}

#menu li {
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    transition: 200ms ease;
}

#menu li:hover {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}

/* ---------- HERO ---------- */
#home {
    margin-top: 9vh;
    width: 100vw;
    min-height: 70vh;

    position: relative;
    background-image: url("/img/mulher-feliz-posando-foto-media 1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

#home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 49, 120, 0.78) 0%, rgba(14, 49, 120, 0.45) 50%, rgba(190, 117, 18, 0.55) 100%);
}

#home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 60%);
    z-index: 1;
}

/* ---------- SECTION TITLES ---------- */
section h2:not(.slide-txt h2) {
    color: var(--main-color);
    text-transform: uppercase;
    border-bottom: 3px solid var(--secondary-color);
    padding: .5vh 5vw 1.5vh;
    width: fit-content;
    margin: 8vh auto 5vh;
    letter-spacing: 0.02em;
    font-weight: 700;
}

/* ---------- PLANOS ---------- */
section#planos {
    position: relative;
    padding-bottom: 6vh;
}

section#planos > .cabecalhoPlanos {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a4aa3 100%);
    color: var(--gray-50);
    position: relative;
    padding: 4rem 0 5rem;
    text-align: center;
}

section#planos > .cabecalhoPlanos > h2 {
    color: #fff;
    font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
    font-weight: 700;
    border: none;
    margin: 0 auto .5rem;
    padding: 0;
    letter-spacing: 0.03em;
}

section#planos > .cabecalhoPlanos > h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

section#planos > .cabecalhoPlanos > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.8rem);
    font-weight: 300;
    text-align: center;
    margin-top: 1rem;
}

#planoGallery {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4rem;
    padding: 6vh 5vw 2vh;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.plano-card {
    padding: 2.5rem 1.5rem;
    background-color: #fff;
    border: 1px solid rgba(14, 49, 120, 0.08);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    width: min(85vw, 36rem);

    color: var(--gray-500);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    transition: transform 250ms ease, box-shadow 250ms ease;
}

.plano-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.planoLogo img {
    width: min(20vw, 14rem);
}

h3.planoNome {
    text-transform: uppercase;
    font-size: 1.6rem;
    color: var(--gray-800);
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.04em;
}

ul.planoDescricao {
    width: 90%;
    overflow-y: auto;
    max-height: min(30vh, 25rem);
    font-size: clamp(1.15rem, 1.25rem + 0.5vw, 1.5rem);
    line-height: 160%;
    font-weight: 300;

    padding-right: .5rem;
}

.ANSbox {
    background-color: black;
    font-family: Arial;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    width: fit-content;
    padding: .15rem .5rem;
    border: 1px double white;
    border-radius: 2px;
}

h4.planoValor {
    font-size: clamp(3.5rem, 3rem + 1vw, 4.8rem);
    color: var(--main-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p.planoPgmento {
    text-align: center;
    font-size: clamp(1rem, 0.875rem + 0.25vw, 1.25rem);
    width: 90%;
    color: var(--gray-500);
}

button.planoEscolher {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a4aa3 100%);
    border: none;
    border-radius: var(--radius-sm);
    padding: .75rem 2.5rem;
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 1.4rem + 0.5vw, 2.2rem);
    font-weight: 700;
    cursor: pointer;
    transition: 250ms ease;
    box-shadow: 0 4px 12px rgba(14, 49, 120, 0.25);
    letter-spacing: 0.02em;
}

button.planoEscolher:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d68820 100%);
    box-shadow: 0 6px 16px rgba(190, 117, 18, 0.35);
    transform: translateY(-2px);
}

/* ---------- CONTATO ---------- */
section#contato {
    display: flex;
    width: 100vw;
    min-height: 60vh;
    flex-direction: column;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d68820 100%);
    position: relative;
    overflow: hidden;
}

section#contato::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
}

section#contato > div > .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    position: relative;
    z-index: 1;
}

section#contato > div > .col-6 > h2 {
    font-weight: 700;
    font-size: clamp(3rem, 2.5rem + 2vw, 5rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

/* ---------- REDE ---------- */
#redeCredenciada {
    width: 100%;
}

.imagemFundo {
    background-image: url("/img/retrato-de-mulher-de-negocios-afro-usando-seu-telefone-celular-em-pe-ao-ar-livre-na-rua1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    position: relative;
}

.imagemFundo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 49, 120, 0.55), rgba(190, 117, 18, 0.3));
}

.infosRedeCredenciada {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a4aa3 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 3rem 2rem;
    position: relative;
}

.infosRedeCredenciada::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(190, 117, 18, 0.15), transparent 50%);
}

h5 {
    font-size: clamp(2rem, 1.7rem + 1vw, 3rem);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

section#rede {
    position: relative;
    height: 90vh;
    padding: 5vh 0;
    z-index: -2;
    background-color: var(--secondary-color);
}

section#rede .brazil {
    position: absolute;
    z-index: -1;
    opacity: .75;
    overflow: hidden;
    height: 67.5vh;

    top: 25%;
    left: 15%;
}

section#rede .brazil svg {
    width: 150vw;
    fill: var(--gray-50);
    stroke: var(--gray-300);
}

#rede h2 {
    color: white;
    border-color: white;
}

#redeGallery {
    display: flex;
    justify-items: center;
    gap: 2.5rem;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.rede-card {
    padding: 2rem;

    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: fit-content;

    transition: transform 250ms ease, box-shadow 250ms ease;
}

.rede-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

button.planoRede {
    background-color: var(--secondary-color);
    border-radius: 50px;
    border: none;
    padding: .75rem 1.5rem;
    width: 100%;

    font-weight: 700;
    font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.7rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;

    color: #fff;

    cursor: pointer;
    transition: 250ms ease;
    box-shadow: 0 4px 12px rgba(190, 117, 18, 0.25);
}

button.planoRede:hover {
    letter-spacing: 0.05em;
    background-color: #d68820;
    box-shadow: 0 6px 16px rgba(190, 117, 18, 0.4);
    transform: translateY(-2px);
}

button.btnContato {
    background-color: #fff;
    color: var(--main-color);
    border-radius: 50px;
    border: none;
    padding: 1.5rem 2.5rem;
    width: fit-content;
    gap: 1rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.7rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;

    cursor: pointer;
    transition: 250ms ease;
    box-shadow: var(--shadow-md);
}

button.btnContato:hover {
    background-color: var(--main-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

button.btnContato i {
    font-size: 1.4em;
}

.row {
    display: flex;
    justify-content: center;
}

a.contatoWPP {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #25D366;
    color: white;
    font-size: clamp(1.25rem, 1.125rem + 0.5vw, 1.75rem);
    text-transform: uppercase;
    font-weight: 500;
    padding: .25rem 2.5rem;
    width: fit-content;
    margin: 0 auto 5vh;
    border-radius: var(--radius-sm);
    transition: 250ms ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

a.contatoWPP svg {
    fill: white;
}

a.contatoWPP:hover {
    background-color: #12a748;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(18, 167, 72, 0.35);
}

@media (min-width: 1300px) {
    #planoGallery, #redeGallery {
        grid-template-columns: 1fr 1fr 1fr;
    }
    #redeGallery {
        display: grid;
    }
}

@media (max-width: 576px) {
    .imagemFundo {
        width: 100%;
    }

    .imagemFundo::after {
        width: 100%;
    }

    .redeCredenciada{
        flex-direction: column;
    }

    .infosRedeCredenciada {
        width: 100%;
        padding: 2rem;
    }

    .infosRedeCredenciada h5 {
        font-size: 2rem;
    }
    .iconeContato {
        width: 50%;
    }

    .contato-col {
        width: 100%;
        min-height: 20vh;
    }

    section#contato {
        min-height: 20vh;
    }

    .contato-col img{
        width: 50%;
    }
}
