/**
 * Ocean Residência - Site Styles
 * Clean implementation without legacy template dependencies
 */

/* ==========================================================================
   Layout - Sidebar + Main Content
   ========================================================================== */

#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 18em;
    height: 100vh;
    background-color: var(--color-bg-primary);
    padding: 2em 1.5em;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

#sidebar .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#sidebar .logo-side {
    max-width: 230px;
    margin: 0 auto 2em;
}

#sidebar nav {
    flex: 1;
}

#sidebar nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#sidebar nav ul li a {
    display: block;
    padding: 0.5em 0;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

#sidebar nav ul li a:hover,
#sidebar nav ul li a.active {
    color: var(--color-accent);
}

#sidebar .footer-side {
    margin-top: auto;
    max-width: 100%;
}

#sidebar .sidebar-logos {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#sidebar .sidebar-logos img {
    height: 30px;
    width: auto;
    opacity: 0.8;
}

#wrapper {
    margin-left: 18em;
}

/* Responsive Sidebar */
@media screen and (max-width: 1280px) {
    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding: 1em 1.5em;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #sidebar .inner {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    #sidebar .logo-side {
        max-width: 153px;
        margin: 0;
    }

    #sidebar nav {
        flex: none;
    }

    #sidebar nav ul {
        flex-direction: row;
        gap: 1.5em;
    }

    #sidebar nav ul li a {
        font-size: 0.8em;
    }

    #sidebar .footer-side {
        display: none;
    }

    #sidebar .sidebar-logos {
        display: none;
    }

    #wrapper {
        margin-left: 0;
        padding-top: 4em;
    }
}

@media screen and (max-width: 768px) {
    #sidebar nav {
        display: none;
    }

    #wrapper {
        padding-top: 5em;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    background-color: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Geometric Background Pattern */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 120% at -10% 70%, rgba(0, 224, 150, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 100% at 110% 50%, rgba(0, 224, 150, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse 120% 80% at 50% 130%, rgba(13, 35, 69, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 100% 60% at 80% 90%, rgba(13, 35, 69, 0.7) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    display: block;
    max-width: 350px;
    height: auto;
    margin: 0 auto 30px;
}

@media screen and (max-width: 600px) {
    .hero-logo {
        max-width: 250px;
    }
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(12px, 2vw, 18px);
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.btn-status-pill {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    font-size: clamp(12px, 1.8vw, 16px);
    font-weight: 800;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 50px;
    margin-bottom: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-status-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 224, 150, 0.4);
}

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */

.hero-features {
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 0 20px 20px 20px;
    padding: 50px 20px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.feature-card__icon {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 224, 150, 0.3);
}

.feature-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-text-dark);
    stroke-width: 2;
    fill: none;
}

.feature-card__text {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    line-height: 1.4;
}

@media screen and (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .btn-status-pill {
        font-size: 11px;
        padding: 12px 24px;
    }
}

/* ==========================================================================
   Content Sections (Spotlights)
   ========================================================================== */

.spotlights {
    background-color: var(--color-bg-primary);
}

.spotlights > section {
    display: flex;
    min-height: auto;
}

.spotlights > section > .content {
    background-color: #FFFFFF;
    padding: 60px 40px;
    width: 100%;
}

.spotlights .inner {
    max-width: 900px;
    margin: 0 auto;
}

.spotlights .inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.spotlights .inner h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 30px 0 15px;
}

.spotlights .inner h3,
.spotlights .inner h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.spotlights .inner p,
.spotlights .inner .desc {
    font-size: 18px;
    color: var(--color-text-dark);
    line-height: 1.8;
    text-align: justify;
}

.spotlights .inner strong {
    color: var(--color-text-dark);
}

@media screen and (max-width: 768px) {
    .spotlights > section > .content {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   Text Utilities
   ========================================================================== */

.accent {
    color: var(--color-accent);
    font-weight: 600;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Program List
   ========================================================================== */

.program-list {
    margin: 0 0 30px 0;
}

.program-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.program-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ==========================================================================
   Card Important (Highlight Box)
   ========================================================================== */

.card-important {
    padding: 20px 35px 35px;
    background-color: var(--color-accent);
    max-width: 530px;
    margin: 30px auto;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.card-important p {
    color: var(--color-text-dark);
}

.card-important strong {
    color: var(--color-text-dark);
}

.card-important .title-important {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

.card-important .text-important {
    text-align: justify;
    font-size: 18px;
    line-height: 1.7;
}

.card-important .info-list {
    text-align: left;
    margin: 0;
    padding: 0;
}

.card-important .info-list li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-dark);
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-important .info-list li:last-child {
    border-bottom: none;
}

@media screen and (max-width: 580px) {
    .card-important {
        max-width: 100%;
        padding: 20px;
    }

    .card-important .title-important {
        font-size: 24px;
    }

    .card-important .info-list li {
        font-size: 14px;
    }
}

/* ==========================================================================
   Content Custom Layout
   ========================================================================== */

.content-custom {
    margin-bottom: 30px;
}

.content-custom h3,
.content-custom h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.margin-top {
    margin-top: 20px;
}

/* ==========================================================================
   CTA / Inscription Section
   ========================================================================== */

#inscricao {
    background-color: var(--color-bg-primary);
    padding: 80px 20px;
}

.footer-subscribe {
    max-width: 800px;
    margin: 0 auto;
}

.title-footer {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 20px;
}

#inscricao .desc {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

#inscricao h3 {
    color: var(--color-accent);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 10px;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.actions li {
    list-style: none;
}

.button.subscribe {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 224, 150, 0.4);
}

.button.subscribe.primary {
    background-color: var(--color-bg-primary);
    color: #FFFFFF;
}

.button.subscribe.primary:hover {
    background-color: var(--color-overlay);
}

.button.subscribe.disabled {
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    pointer-events: none;
}

.logo-footer {
    max-width: 150px;
    margin: 0 auto 20px;
}

.footer-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ==========================================================================
   Partner Footer Strip
   ========================================================================== */

.partner-footer {
    background-color: var(--color-footer-bg);
    padding: 20px 0;
}

.partner-footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-footer__left,
.partner-footer__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner-footer__logo {
    height: 35px;
    width: auto;
}

.partner-footer__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-footer__btn {
    display: inline-block;
    background-color: var(--color-bg-primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

.partner-footer__btn:hover {
    background-color: var(--color-overlay);
    transform: translateY(-2px);
}

.partner-footer__logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-footer__logos img {
    height: 40px;
    width: auto;
}

.partner-footer__partners {
    height: 50px;
    width: auto;
}

@media screen and (max-width: 600px) {
    .partner-footer__content {
        flex-direction: column;
        text-align: center;
    }

    .partner-footer__left,
    .partner-footer__right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .partner-footer__btn {
        font-size: 10px;
        padding: 8px 16px;
    }
}

/* ==========================================================================
   Copyright Section
   ========================================================================== */

.div-copyright {
    background-color: var(--color-footer-bg);
    padding: 15px 20px;
    text-align: center;
}

.ppi-credit {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 5px;
}

.copyright {
    font-size: 14px;
    color: var(--color-text-dark);
}

/* ==========================================================================
   Mobile Logo Visibility
   ========================================================================== */

.logo-icons-mobile,
.logo-icons-mobile-footer {
    display: none;
    max-width: 80%;
    margin: 30px auto 0;
}

@media screen and (max-width: 768px) {
    .logo-icons-mobile {
        display: block;
    }

    .logo-icons-mobile-footer {
        display: block;
    }
}

/* ==========================================================================
   Responsive Visibility Helpers
   ========================================================================== */

@media screen and (min-width: 769px) {
    .hidden-md,
    .hidden-lg {
        /* Keep visible on larger screens */
    }
}

@media screen and (max-width: 768px) {
    .hidden-sm {
        display: none;
    }
}

/* ==========================================================================
   Wrapper Styles
   ========================================================================== */

.wrapper {
    position: relative;
}

.wrapper.fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-up {
    animation: fadeUp 0.6s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inactive state for scroll animations */
.inactive {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.inactive.visible {
    opacity: 1;
    transform: translateY(0);
}
