/* CSS Reset & Base Styles */
:root {
    --primary-blue: #0076CE;
    --dark-blue: #1B295E;
    --light-bg: #F4F6FA;
    --white: #FFFFFF;
    --text-body: #1B295E;
    --font-family: 'Inter', sans-serif;
    --radius-btn: 50px;
    --radius-box: 16px;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.5;
    font-size: 16px;
}

button,
input,
textarea,
select,
summary {
    font-family: inherit;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-spacing {
    padding: 60px 0;
}

.mt-space {
    margin-top: 30px;
}

.text-bold {
    font-weight: 700;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    line-height: 1.2;
}

.title-primary {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.subtitle-bold {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.spacing-top {
    margin-top: 40px;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 400;
}

sup {
    font-size: 10px;
    vertical-align: super;
}

/* Hero Section */
.hero {
    width: 100%;
    background-color: var(--dark-blue);
}

.hero picture img {
    width: 100%;
    object-fit: cover;
}

/* Section Desconforto */
.section-desconforto {
    background-color: var(--white);
}

.section-desconforto .text-content p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
}

/* Section Alivio */
.section-alivio {
    background-color: var(--light-bg);
}

.grid-causas {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto;
    max-width: 400px;
}

.causa-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle.dark {
    background-color: var(--dark-blue);
}

.icon-circle img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.icon-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-blue);
}

/* Section Aliado */
.section-aliado {
    padding: 60px 0 0 0;
    background-color: var(--white);
}

.layout-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.aliado-text {
    flex: 1;
}

.aliado-text p {
    font-size: 18px;
}

.aliado-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.produto-img {
    max-width: 100%;
    border-radius: var(--radius-box);
}

/* Section Importante */
.section-importante {
    background-color: var(--white);
}

.grid-importante {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px auto;
    max-width: 500px;
}

.importante-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.icon-flat {
    height: 45px;
    width: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.text-md {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.br-desktop {
    display: none;
}

.link-bula {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-blue);
    text-decoration: underline;
    margin-top: 40px;
}

.link-bula .arrow {
    text-decoration: none;
}

/* Section Pega a Visão */
.section-pega-visao {
    background-color: #F2F9FD;
}

.pega-visao-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
}

.pega-visao-text {
    flex: 1;
}

.pega-visao-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.icon-eyes-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.icon-eyes {
    height: 30px;
}

.pega-visao-media {
    flex: 1;
}

.btn-primary {
    display: inline-block;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-bottom: 0;
}

.btn-primary:hover {
    background-color: #121c45;
}

/* Carousel */
.video-carousel {
    position: relative;
    width: 100%;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.thumbnail-container {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-box);
    overflow: hidden;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(27, 41, 94, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-button-overlay::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.thumbnail-container:hover .play-button-overlay {
    background-color: var(--primary-blue);
    transform: translate(-50%, -50%) scale(1.1);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-box);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-img {
    border-radius: var(--radius-box);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: block;
}

/* Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
    padding: 10px;
}

.lightbox-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.lightbox-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    background-color: #DDE2EC;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-blue);
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #c5ccdb;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #DDE2EC;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dot.active {
    background-color: var(--dark-blue);
}

/* Referências */
.section-referencias {
    background-color: var(--light-bg);
    padding: 80px 0 60px;
}

.accordion-ref {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-box);
    padding: 24px;
}

.accordion-ref summary {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #DDE2EC;
}

.accordion-ref summary::-webkit-details-marker {
    display: none;
}

.accordion-ref summary .chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--dark-blue);
    border-bottom: 2px solid var(--dark-blue);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-ref[open] summary .chevron {
    transform: rotate(-135deg);
}

.ref-content {
    padding: 20px 0 0 0;
    font-size: 14px;
    color: var(--text-body);
    hyphens: auto;
}

.ref-content ol {
    padding-left: 20px;
}

.ref-content li {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Footer */
.footer-top {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 48px 0;
}

.footer-brand {
    color: var(--white);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 4px;
}

.footer-tagline {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-bottom {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 0;
}

.legal-text {
    font-size: 11px;
    color: #A0A9C6;
    max-width: 900px;
    /* margin: 0 auto 8px; */
    text-align: left;
}

@media screen and (max-width: 992px) {
    .legal-text {
        text-align: center !important;
    }
}

.legal-text--bold {
    font-weight: 700;
    color: var(--white);
    font-size: 11px;
    max-width: 900px;
    /* margin: 0 auto 8px; */
    text-align: left;
}

.legal-text strong {
    color: var(--white);
}

.footer-partner {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-hypera {
    max-width: 140px;
}

.partner-slogan {
    font-size: 13px;
    color: var(--white);
    margin-bottom: 0;
}

.partner-cta {
    font-size: 13px;
    color: var(--white);
    margin-bottom: 0;
}

.btn-clique-aqui {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 4px;
    margin-left: 6px;
}

.btn-clique-aqui:hover {
    background-color: #005fa3;
}

/* Desktop Breakpoint */
@media (min-width: 768px) {
    .title-primary {
        font-size: 36px;
    }

    .section-spacing {
        padding: 80px 0;
    }

    /* Alívio Section */
    .grid-causas {
        flex-direction: row;
        justify-content: space-between;
        max-width: 900px;
    }

    .causa-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .icon-circle {
        width: 80px;
        height: 80px;
    }

    .icon-circle img {
        width: 40px;
        height: 40px;
    }

    /* Aliado Section */
    .layout-split {
        flex-direction: row;
        align-items: center;
    }

    /* Importante Saber */
    .grid-importante {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1000px;
    }

    .importante-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        flex: 1;
    }

    .br-desktop {
        display: inline;
    }

    /* Pega a Visão */
    .pega-visao-layout {
        flex-direction: row;
        align-items: center;
        gap: 60px;
        padding: 80px 0;
    }

    .pega-visao-text {
        max-width: 480px;
    }

    /* Footer */
    /* .legal-text,
    .legal-text--bold {
        text-align: center;
    } */

    .footer-brand {
        font-size: 52px;
    }

    .footer-tagline {
        font-size: 28px;
    }
}


#partner-hypera-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
}

@media screen and (max-width: 992px) {
    #partner-hypera-container {
        justify-content: center;
        text-align: center;
    }
}


#partner-hypera-container a,
#partner-hypera-container p {
    font-weight: 400;
    color: white;
}

#partner-hypera-container a {
    font-weight: 700;
    text-decoration: underline;
}

#partner-hypera-container a img {
    width: 118px;
    height: 32px;
    margin-right: 24px;
}

#partner-hypera-container a:hover {
    text-decoration: none;
    filter: drop-shadow(0px 0px 15px var(--primary-blue));
}

#partner-hypera-container p {
    margin-bottom: 0;
}