/* Custom properties base on Logo Colors */
:root {
    --color-primary: #1c4568; /* Azul Marinho Logo  */
    --color-primary-light: #2c689c;
    --color-secondary: #f3821a; /* Laranja CTA */
    --color-secondary-hover: #e06c07;
    --color-accent: #3eb5a9; /* Verde Água Accent */
    --color-white: #ffffff;
    --color-bg: #f1f5f9;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu .nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--color-secondary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

#mobile-menu-btn {
    display: none;
    padding: 8px 12px;
}

/* MOBILE NAV */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: 24px;
    z-index: 999;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-list a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list a.mobile-btn {
    text-align: center;
    margin-top: 16px;
    border: none;
}


/* HERO SECTION */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(62, 181, 169, 0.1);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--color-accent);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.blob-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    opacity: 0.1;
    animation: blob-bounce 8s infinite alternate ease-in-out;
}

@keyframes blob-bounce {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1); }
    100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: scale(1.05) translate(10px, -10px); }
}

.hero-img-fallback {
    position: relative;
    z-index: 1;
}


/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}

.card.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.card.hover-up:hover .card-icon {
    background-color: rgba(62, 181, 169, 0.25);
    transform: scale(1.05);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(62, 181, 169, 0.1);
    color: var(--color-accent);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.card-icon i {
    width: 32px;
    height: 32px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--color-text-light);
}


/* ABOUT SECTION */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.about-photo-placeholder i {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content h2 span {
    color: var(--color-secondary);
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.about-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.about-list i {
    color: var(--color-accent);
}

/* CTA SECTION */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.cta-container h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-container p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-inline: auto;
}

.cta-btn {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    border: none;
}

.cta-btn:hover {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}


/* CURSOS PAGE HEADER */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header h1 span {
    color: var(--color-secondary);
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 700px;
    margin-inline: auto;
}

/* COURSES GRID */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.course-card {
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.course-img-wrapper {
    position: relative;
    height: 200px;
}

.course-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.course-placeholder i {
    width: 48px;
    height: 48px;
}

.course-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.course-content p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.course-features {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.course-features i {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

/* FOOTER */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.brand-col p {
    max-width: 300px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list i {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.875rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20BA56;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .about-container, .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }

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

    .about-list {
        align-items: center;
    }
    
    .contact-list li {
        justify-content: center;
        text-align: center;
    }
    .contact-list i {
        margin-top: 0;
    }
    .brand-col p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu, .btn-area-aluno {
        display: none;
    }

    #mobile-menu-btn {
        display: inline-flex;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* COURSE FILTERS */
.course-filters-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

.course-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: rgba(28, 69, 104, 0.05);
}

.filter-btn.active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* COURSE CARD CUSTOM HOVER LIFT */
.course-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

/* HERO IMAGE FLOAT */
.hero-img-fallback {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* WHATSAPP PULSE */
.whatsapp-float {
    animation: pulse 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    15% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* NATIVE SCROLL REVEAL (Replacing AOS) */
.js-enabled [data-aos] {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease-out;
}

.js-enabled [data-aos="fade-up"] { transform: translateY(40px); }
.js-enabled [data-aos="fade-down"] { transform: translateY(-40px); }
.js-enabled [data-aos="fade-right"] { transform: translateX(-40px); }
.js-enabled [data-aos="fade-left"] { transform: translateX(40px); }
.js-enabled [data-aos="zoom-in"] { transform: scale(0.9); }

.js-enabled [data-aos].aos-animate {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* LOCALIZAÇÃO SECTION */
.location-section {
    background-color: var(--color-bg);
}

.container-md {
    max-width: 1024px;
}

.font-alt {
    font-family: 'Montserrat', sans-serif;
}

.location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: var(--color-white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.map-container {
    width: 100%;
    border-radius: 16px; /* rounded-2xl */
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
}

.location-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.location-details {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.location-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.location-details h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.location-details p {
    color: var(--color-text-light);
    line-height: 1.5;
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background-color: #31A59A;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .location-wrapper {
        padding: 24px;
        border-radius: 16px;
    }
    .location-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-accent {
        width: 100%;
    }
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #E1306C; /* Insta Brand Color */
    transform: translateY(-3px);
}

/* INSTA GRID SECTION */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.insta-item {
    aspect-ratio: 1/1;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.insta-item i {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.insta-item::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-color: rgba(0,0,0,0.1);
    transition: var(--transition);
}

.insta-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.insta-item:hover::after {
    background-color: transparent;
}

/* BUTTON INSTA */
.centered-action {
    text-align: center;
}

.btn-insta {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-insta:hover {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(62, 181, 169, 0.3);
}

/* INSTA CALLOUT (CURSOS) */
.insta-callout {
    margin-top: 64px;
    background: var(--color-primary);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.insta-callout::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 50%, rgba(62, 181, 169, 0.1) 100%);
}

.callout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    flex-shrink: 0;
}

.callout-icon i {
    width: 32px;
    height: 32px;
}

.callout-content {
    position: relative;
    z-index: 1;
}

.callout-content h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.callout-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.callout-content a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
}

.callout-content a:hover {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insta-callout {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

