/* ==========================================================================
   VITRU - Sistema de Design
   ========================================================================== */

/* ==========================================================================
   1. Custom Fonts
   ========================================================================== */

   @font-face {
    font-family: 'OpenSans';
    src: url('../asset/fonts/Open/static/OpenSans_SemiCondensed-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../asset/fonts/Open/static/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bold-sans';
    src: url('../asset/fonts/Open/static/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-regular';
    src: url('../asset/fonts/Open/static/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../asset/fonts/Open/static/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheMix';
    src: url('../asset/fonts/themix/TheMixExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'mix-italic-extra';
    src: url('../asset/fonts/themix/TheMixExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. Design Tokens
   ========================================================================== */

:root {
    /* Color Palette */
    --color-card: #8411ce;
    --color-segundo-roxo: #6824d3;
    --color-primary: #ffc20e;
    --color-primary-hover: #ffca28;
    --color-secondary: #6b14a4;
    --color-dark: #2b2847;
    --color-dark-purple: #251545;
    --color-white: #ffffff;
    --color-grey-light: #eeeeee;

    /* Alpha Colors */
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-30: rgba(255, 255, 255, 0.3);
    --color-black-10: rgba(0, 0, 0, 0.1);

    /* Shadows */
    --shadow-sm: 0 2px 10px var(--color-black-10);
    --shadow-md: 0 4px 12px rgba(7, 85, 255, 0.4);
    --shadow-lg: 0 4px 12px rgba(98, 7, 255, 0.4);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 5.625rem;
    /* 90px */

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-family-display: 'TheMix', sans-serif;
    --font-family-sans: 'OpenSans', sans-serif;

    --font-size-xs: 0.875rem;
    /* 14px */
    --font-size-sm: 0.95rem;
    /* 15.2px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-md: 1.125rem;
    /* 18px */
    --font-size-lg: 1.25rem;
    /* 20px */
    --font-size-xl: 1.5625rem;
    /* 25px */
    --font-size-2xl: 1.875rem;
    /* 30px */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-loose: 1.8;

    /* Border Radius */
    --radius-sm: 0.25rem;
    /* 4px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.6875rem;
    /* 11px */
    --radius-xl: 1.125rem;
    /* 18px */
    --radius-2xl: 1.1875rem;
    /* 19px */

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;

    /* Layout */
    --navbar-height: 70vh;
    --card-min-height: 332px;
    --content-min-height: 550px;
}

/* ==========================================================================
   3. Base & Reset
   ========================================================================== */

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

body {
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
}

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

p {
    color: var(--color-white);
    margin-bottom: 0;
}

/* ==========================================================================
   4. Typography Utilities
   ========================================================================== */

.font-display {
    font-family: var(--font-family-display);
}

.font-sans {
    font-family: var(--font-family-sans);
}

.font-sans-regular {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-regular);
}

.font-sans-bold {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-bold);
}

.font-sans-extrabold {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-extrabold);
}

.font-uppercase {
    text-transform: uppercase;
}

.subtitle_sans__bold {
    font-family: 'OpenSans-regular';
    font-size: 18px;
}

.fs-xs {
    font-size: var(--font-size-xs);
}

.fs-sm {
    font-size: var(--font-size-sm);
}

.fs-base {
    font-size: var(--font-size-base);
}

.fs-md {
    font-size: var(--font-size-md);
}

.fs-lg {
    font-size: var(--font-size-lg);
}

.fs-xl {
    font-size: var(--font-size-xl);
}

.fs-2xl {
    font-size: var(--font-size-2xl);
}

/* ==========================================================================
   5. Color Utilities
   ========================================================================== */

.color-primary {
    color: var(--color-primary);
}

.color-secondary {
    color: var(--color-secondary);
}

.color-dark {
    color: var(--color-dark);
}

.color-white {
    color: var(--color-white);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}
.bg-segundo-roxo {
    background-color: var(--color-segundo-roxo);
}

.bg-grey-light {
    background-color: var(--color-grey-light);
}

.bg-dark-purple {
    background-color: var(--color-dark-purple);
}

/* ==========================================================================
   6. Layout Components
   ========================================================================== */

/* Hero Section */
.hero {
    background-image: url("../asset/section-one/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    position: relative;
    z-index: var(--z-base);
    min-height: var(--navbar-height);
}

.hero__content {
    min-height: var(--content-min-height);
}

.title__extra__bold {
    font-family: 'mix-italic-extra';
    color: var(--color-primary);
    font-size: 60px;
    line-height: 1;
}

.title__extra__bold-footer {
    font-family: 'mix-italic-extra';
    color: var(--color-primary);
    font-size: 40px;
    line-height: 1;
}

.section {
    padding: var(--space-3xl) 0;
}

.section--grey {
    background-color: var(--color-grey-light);
}

.section--dark-purple {
    background-color: var(--color-dark-purple);
}
.second--dark-purple {
    background-color: var(--color-teste);
}

/* ==========================================================================
   7. Navigation
   ========================================================================== */

.navbar {
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-sm);
    background-color: transparent;
}

.navbar__brand-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar__logo {
    height: 40px;
    /* filter: brightness(0) invert(1); */
}

.navbar__divider {
    width: 2px;
    height: 40px;
    background-color: var(--color-white-30);
}

.navbar__nav {
    align-items: center;
    gap: var(--space-sm);
}

.nav-link {
    color: var(--color-white) !important;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: var(--space-sm) var(--space-md) !important;
    transition: var(--transition-base);
    border-radius: var(--radius-sm);
    text-decoration: none;
    position: relative;
}

.modal {
    backdrop-filter: blur(2px) !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.modal-content {
    background-color: var(--color-dark-purple);
}
.modal-content .form-control {
    background-color: var(--color-dark-purple);
    color: white;
}

.custom-img-filter {
    filter: drop-shadow(2px 4px 6px black);
}

.nav-link:hover {
    background-color: var(--color-white-10);
    transform: translateY(-1px);
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Mobile Toggle */
.navbar-toggler {
    border: 2px solid var(--color-white-30);
    padding: var(--space-sm);
    background-color: transparent;
    transition: var(--transition-base);
}

.navbar-toggler:hover {
    background-color: var(--color-white-10);
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--color-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.btn {
    font-weight: var(--font-weight-semibold);
    padding: 0.65rem var(--space-lg) !important;
    border-radius: var(--radius-xl);
    border: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-dark) !important;
    font-weight: var(--font-weight-bold);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--terciary {
    border: 1px solid #FFFFFF;
    color: #FFFFFF !important;
    margin: 0px;
    padding: 15px !important;
}
 label {
    color: #FFFFFF !important;
}
.btn--primary:focus-visible {
    outline: 3px solid var(--color-white);
    outline-offset: 2px;
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--primary::after {
    content: "→";
    font-size: var(--font-size-lg);
    transition: transform var(--transition-base);
    display: inline-block;
}

.btn--primary:hover::after {
    transform: translateX(4px);
}

.btn--secondary {
    background-color: var(--color-card);
    color: var(--color-white) !important;
    font-weight: var(--font-weight-bold);
}
.btn--secondary:hover {
    background-color: var(--color-card);
    color: var(--color-white) !important;
}
.girl {
    width: 500px;
}

/* ==========================================================================
   9. Card Component
   ========================================================================== */

.card {
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6875rem;
    min-height: var(--card-min-height);
    transition: var(--transition-base);
}
.card-terciary {
    background-color: var(--color-card);
    color: #FFFF !important;
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6875rem;
    min-height: var(--card-min-height);
    transition: var(--transition-base);
}

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

.card--secondary {
    background-color: var(--color-segundo-roxo);
    color: #FFFF;
}

.card__icon {
    width: 50px;
    margin-bottom: var(--space-md);
}

.card__title {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-lg);
    text-transform: uppercase;
    margin: var(--space-md) 0;
}
.card__text__secondary {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-regular);
    color: #FFF !important;
}
.card__text {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-regular);
    color: var(--color-dark);
}

.card__info {
    background-color: #6824d3;
    border-radius: 20px;
    padding: 20px 100px;
}

.custom__image {
    width: 100px !important;
}

/* ==========================================================================
   10. Grid System
   ========================================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-md);
    align-items: center;
}

.grid__item {
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-2xl);
    padding: 20px 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--space-sm);
    transition: var(--transition-base);
    min-height: 215px;
    text-align: center;

}

.grid__item:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   11. Icon Components
   ========================================================================== */

.icon {
    width: 20px;
    height: auto;
}

.icon--md {
    width: 50px;
}

/* ==========================================================================
   12. Section Components
   ========================================================================== */

.section-header {
    margin-bottom: var(--space-xl);
}

.section-header__title {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-extrabold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
}

.section-header__subtitle {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: var(--space-md) 0;
}

.image-absolute {
    position: absolute;
    bottom: 0;
    z-index: var(--z-base);
    width: 342px;
}

/* ==========================================================================
   12. accordion
   ========================================================================== */
.accordion-category {
    margin-bottom: 10px !important;
    border-radius: 12px !important;
    cursor: pointer;
}

.accordion-header {
    margin-bottom: 0px;
    background: var(--color-secondary) !important;
    padding: 19px;
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-content {
    background: var(--color-secondary) !important;
    padding: 19px;
    color: white;
    margin-top: -21px;
    border-radius: 12px;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */


.footer {
    background-image: url("../asset/section-one/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    position: relative;
    z-index: var(--z-base);
    min-height: var(--navbar-height);
}

.info-footer {
    text-decoration: none;
    color: white;
    text-transform: uppercase;

}

.info-footer:hover{
    color: white;
}

.span-list {
    color: #FFFF;
    font-weight: 100;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #FFFF;
    padding: 6px;
    border-radius: 40px;
}

.span-lista a {
    color: #FFFF;
    cursor: pointer;
    text-decoration: none;
}

.form-floating>.form-select {
    height: 34px !important;
    padding: 8px !important;
    color: #FFFF !important;
    background-color: var(--color-dark-purple) !important;
    border: 1px solid;
    border-radius: 40px;
}
.forced-input {
    color: #ffff;
}
.form-select:focus {
    outline: none;
    box-shadow: none;
}

.input-group {
    border-bottom: 1px solid  #FFFF;;
}
.btn-close {
    filter: invert(1);
}
.form-control.link {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    border: none !important;
    color:  #FFFF;
}

.form-control.link:focus {
    outline: none;
    box-shadow: none;

}

.form-control.link {
    color:  #FFFF;
    padding: 0;

}

.font-label {
    font-size: 12px;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 21px;
    height: 19px;
    border: 1px solid #FFFF;
    border-radius: 3px;
    outline: none;
    transition: background-color 0.3s;
    color:#FFFF !important;
}
.span-select {
    color: #FFFF;
}
.custom-checkbox input[type="checkbox"]:checked {
    background-color:  transparent;
}
.custom-checkbox {
    color:  #FFFF;

}
.custom-checkbox input[type="checkbox"]:checked::before {
    content: '\2713';
    display: block;
    text-align: center;
    font-size: 12px;
    color:  #FFFF;
}

/* ==========================================================================
   14. Responsive Design
   ========================================================================== */

/* Large Tablets and Below */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--color-dark);
        padding: var(--space-md);
        margin-top: var(--space-md);
        border-radius: var(--radius-md);
        border: 1px solid var(--color-white-10);
        box-shadow: var(--shadow-sm);
    }

    .navbar__nav {
        gap: var(--space-xs);
    }

    .nav-link {
        padding: 0.75rem var(--space-md) !important;
        width: 100%;
        text-align: left;
    }

    .btn {
        margin-top: var(--space-sm);
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .custom-img-mobile,
    .image-absolute {
        display: none;
    }

    .card__info {
        padding: 9px;
        margin: 1px;
    }

    .navbar__brand-container {
        gap: var(--space-sm);
        width: 105px;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero__content {
        min-height: auto;
        padding: var(--space-lg) 0;
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    footer .d-flex {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        flex-direction: column !important;
    }

    footer .text-end {
        margin-top: 32px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        flex-direction: column !important;
    }

    .girl-mobile {
        margin-bottom: 30px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   14. Utility Classes
   ========================================================================== */

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.d-flex {
    display: flex;
}

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

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: between;
}

.gap-2 {
    gap: var(--space-sm);
}

.gap-3 {
    gap: var(--space-md);
}

.w-100 {
    width: 100%;
}