:root {
    --primary-blue: #4169E1;
    /* Royal Blue */
    --accent-yellow: #FFD700;
    /* Vibrant Yellow */
    --support-green: #32CD32;
    /* Lime Green */
    --bg-color: #F8F9FA;
    --text-color: #333;
    --white: #ffffff;
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Open Sans', sans-serif;
    --blob-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: var(--font-body);
    /* Changed from heading font */
    font-weight: 600;
    /* Reduced from bold */
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.3s;
}

nav a:hover {
    color: var(--support-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, #e3f2fd 100%);
    padding: 100px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero .container.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 1);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-video-container {
    flex: 1;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    border: 5px solid var(--white);
    aspect-ratio: 16 / 9;
}

.hero-video-container iframe {
    width: 100%;
    height: 100%;
}

.hero-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections Common */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--support-green);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--support-green);
}

/* Domingo Azul */
.domingo-azul {
    background-color: #e3f2fd;
}

.da-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.da-text {
    flex: 1;
    min-width: 300px;
}

.da-img {
    flex: 1;
    min-width: 300px;
}

.da-img img {
    width: 100%;
    border-radius: 15px;
    border: 4px solid var(--primary-blue);
}

/* Units */
.units-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.unit-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.12);
    border-color: rgba(65, 105, 225, 0.2);
    background-color: transparent !important;
}

.unit-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.unit-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Empurra o botão pro fundo do card */
.unit-card > div:last-child {
    margin-top: auto !important;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

footer h3 {
    color: var(--accent-yellow);
}

footer a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.desktop-only {
    display: inline-block;
}

@media (max-width: 768px) {
    .hero .container.hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    header .container {
        justify-content: space-between;
        position: relative;
    }

    .desktop-only {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        transition: right 0.3s ease;
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav a {
        font-size: 1.2rem;
    }
}


/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-img-container {
    animation: float 6s ease-in-out infinite;
}

.about-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism for floating elements if added */
.glass {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Creative & Playful Additions */
:root {
    --blob-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

body {
    background-image: radial-gradient(#e3f2fd 10%, transparent 11%), radial-gradient(#e3f2fd 10%, transparent 11%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.section-wave-top,
.section-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.section-wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.section-wave-bottom {
    bottom: -1px;
}

.section-wave-top svg,
.section-wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-fill-white {
    fill: var(--bg-color);
}

.wave-fill-blue {
    fill: #e3f2fd;
}

section {
    position: relative;
    padding: 80px 0;
}

/* Organic Shapes */
.btn {
    border-radius: var(--blob-radius);
    transition: all 0.3s ease;
}

.btn:hover {
    border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
    transform: scale(1.05) rotate(-2deg);
}

.about-card {
    border-radius: 20px;
    border: 3px dashed var(--support-green);
    position: relative;
    overflow: hidden;
}

.unit-card {
    /* Retirado do hover maluco global para o design fixo */
}

.unit-card:hover {
    /* Retirado do hover global que quebrava tudo e usava o fundo primary */
}

/* Animations - Wiggle */
@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.about-icon {
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
}

.hero h1 {
    text-shadow: 3px 3px 0px var(--accent-yellow);
}



body {
    background-image: radial-gradient(#e3f2fd 10%, transparent 11%), radial-gradient(#e3f2fd 10%, transparent 11%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.section-wave-top,
.section-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.section-wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.section-wave-bottom {
    bottom: -1px;
}

.section-wave-top svg,
.section-wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-fill-white {
    fill: var(--bg-color);
}

.wave-fill-blue {
    fill: #e3f2fd;
}

section {
    position: relative;
    /* For waves */
    padding: 80px 0;
    /* Increase padding for waves */
}

/* Organic Shapes */
.btn {
    border-radius: var(--blob-radius);
    transition: all 0.3s ease;
}

.btn:hover {
    border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
    transform: scale(1.05) rotate(-2deg);
}

.about-card {
    border-radius: 20px;
    border: 3px dashed var(--support-green);
    position: relative;
    overflow: hidden;
}

.unit-card {
    /* Limpando o duplicado abaixo */
}

.unit-card:hover {
    /* Limpando hover que distorce */
}

/* Animations - Wiggle */
@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.glass {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-bottom: 4px solid var(--accent-yellow);
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.review-source {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    font-weight: bold;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.review-author {
    font-weight: bold;
    color: var(--primary-blue);
    text-align: right;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.service-img-frame {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img-frame img {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-service {
    background-color: var(--support-green);
    color: white;
    font-size: 0.9rem;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-service:hover {
    background-color: #28a745;
    transform: scale(1.05);
}

/* Responsivo para Unidades */
@media (max-width: 1100px) {
    .units-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .units-grid {
        grid-template-columns: 1fr;
    }
}