@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

:root {
    --primary-color: #1c7ec2;
    --primary-color-hover: #a0f1ff;
    --primary-dark: #002c77;
    --accent-color: #ffab73;
    --accent-dark: #f47e2d;
    --text-color: #333333;
    --text-light: #666666;
    --light-gray: #f8f9fa;
    --gray-100: #f5f5f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --white: #ffffff;
    --shadow-sm: 0px 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0px 4px 6px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --transition: 0.3s ease;
    --font-afacad: "Afacad", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Quicksand", sans-serif, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 10;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

ul {
    list-style: none;
}

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

/* Button Styles */
.btn {
    font-family: "Quicksand", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--white);
    color: var(--white);
}

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

.btn-outline {
    border: 1px solid var(--primary-dark);
    background-color: rgba(255, 255, 255, 0.75);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--gray-100);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn-full {
    width: 100%;
}

/* Header Styles */

#header {
    position: relative;
    width: 100%;
    max-width: 1200px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.header-aling {
    position: absolute;
    width: 100%;
    height: auto;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

#header.scrolled {
    background-color: var(--white);
    border-radius: 0 0 20px 20px;
    position: fixed;
}

#header.mobile {
    background-color: var(--white);
    border-radius: 0;
    position: fixed;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.header-content img {
    height: 2.5rem;
    width: 100%;
}

.message-error {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.alert-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: auto;

    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);

    transition: all 0.8s ease-in-out;
}

.alert-danger {
    border-radius: 2rem;
    padding: 0.2rem 0;
    margin: 0 auto;
    background: #b23030;
    color: rgb(255 255 255);    
    width: 80%;
    height: auto;
    font-size: 1.2rem;
    font-weight: 600;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;

    transition: all 0.8s ease-in-out;
}

.alert-hide {
    opacity: 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

nav a {
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

#biblioteca_certa:hover,
#biblioteca_certa:active {
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background-color: var(--accent-dark);
    color: var(--white);
}

nav a:hover {
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background-color: var(--primary-color);
    color: var(--white);
}

nav a.active {
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background-color: var(--primary-color);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-container {
    position: relative;
    display: none;
}

@media (min-width: 640px) {
    .search-container {
        display: flex;
    }
}

.search-container input {
    width: 10rem;
    height: 2.25rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0 2rem 0 0.75rem;
    font-size: 0.875rem;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-300);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle i:active {
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
@media (max-width: 767px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 1rem;
        display: flex;
        align-items: flex-start;

        opacity: 0;
        visibility: hidden;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        border-radius: 0px 0px 20px 20px;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    nav a {
        width: 100%;
        padding: 0.5rem 0;
    }

    .header-aling {
        padding-top: 0;
    }

    #header {
        border-radius: 0 0 20px 20px;
        top: 0;
    }

}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    padding-top: 5rem;
    background-color: var(--primary-color);
    z-index: -90;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -1rem;
}


@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 1390px) {
    .hero {
        height: 100vh;
    }

    .hero-content {
        margin-bottom: 0;
        flex-direction: row;
        align-items: center;
    }
}

.hero-text {
    width: 50%;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-text {
        width: 100%;
    }
}

.subheading {
    display: block;
    font-size: 1.2rem;
    color: var(--gray-100);
    margin-left: 0.1rem;
}

.subheading.accent {
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .subheading {
        text-align: center;
    }

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

.hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    color: var(--white);
    text-shadow: var(--shadow-md);
}

.hero h1 b {
    font-weight: 900;
    background-color: var(--white);
    color: var(--primary-color);
    text-shadow: none;
    padding: 0.1rem 0;
}

@media (max-width: 768px) {
    .hero h1 {
        text-align: center;
    }

    .hero h1 b {
        font-weight: 700;
        background-color: transparent;
        color: var(--white);
        text-shadow: var(--shadow-md);
        padding: 0;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    max-width: 32rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero p {
        text-align: center;
        background-color: #1c7dc280;
        max-width: 95%;
    }
}

@media (max-width: 414px) {
    .hero p {
        background-color: #1c7dc280;
        margin-bottom: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    width: 80%;
    height: auto;
    position: relative;
}

@media (min-width: 768px) {
    .hero-image {
        width: 40%;
    }
}

.hero-image img {
    border-radius: var(--radius);
    object-fit: cover;
    height: 100%;
    width: auto;
}

.cards-hero {
    width: 100%;
    height: 8rem;
    padding: 0rem 1rem;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}


.cards-hero .cards-container {
    width: 50%;
    height: 100%;
    display: flex;
    background-color: transparent;
}

.cards-hero .cards-container .card-hero {
    width: 33.33%;
    height: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.card-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-hero p {
    margin-bottom: 0rem;
}

.text-info span {
    font-size: 2rem;
}


@media (max-width: 640px) {
    .cards-hero {
        height: 12rem;
    }

    .cards-hero .cards-container {
        width: 100%;
        height: 100%;
        display: flex;
        background-color: transparent;
    }
}

@media (max-width: 414px) {
    .cards-hero {
        height: 12rem;
    }

    .cards-hero .cards-container {
        width: 100%;
        height: 100%;
        display: flex;
        background-color: transparent;
    }
}

.video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px 0 0 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    padding: 0.2rem;
    color: var(--primary-dark);
    background-color: rgba(255, 255, 255, 0.562);
    border-radius: 100px;
    pointer-events: none;
}

.book-popup {
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;

    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.book-popup.active {
    opacity: 1;
    visibility: visible;
}

.book-popup-content {
    position: relative;
    width: 70%;
    height: auto;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .book-popup-content {
        width: 100%;
    }
}

.book-popup-group {
    width: 100%;
    height: auto;
    padding: 2rem;
    padding-top: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.book-popup-group h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.book-popup-group h3 {
    font-weight: 700;
    color: var(--text-color);
}

.from-group-book {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 0.8rem;
}

.from-group-book .info-book {
    width: 100%;
    padding: 1rem 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.from-group-book .info-book .text-info-book p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.from-group-book .info-book .info-book-icons {
    border-radius: var(--radius);
    border: solid 1px var(--primary-dark);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.from-group-book .info-book .info-book-icons p {
    color: var(--primary-dark);
    margin: 0;
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
}

.img-info-book {
    position: relative;
    border-radius: var(--radius);
    max-height: 900px;
    height: auto;
    width: auto;    
}

.img-book {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-book img {
    border-radius: var(--radius);
    box-shadow: 10px 10px 5px var(--gray-300);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 10px 10px 5px var(--gray-300);
}

.carousel-track {
    display: flex;
    animation: scrollCarousel 18s linear infinite;
}

.slide-book {
    flex: 0 0 100%;
    height: 450px;
    width: 400px;
}

.slide-book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-popup.active {
    display: flex;
}

.video-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.video-content iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.book-popup-group .close-button-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.book-popup-group .close-button-container .close-button {
    position: relative;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.book-popup-group .close-button-container .close-button:hover {
    transform: scale(1.1);
    color: var(--accent-dark);
}


.experience-badge {
    position: absolute;
    bottom: 1rem;
    left: -1rem;
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 15rem;
}

.icon {
    background-color: rgba(28, 175, 160, 0.1);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.badge-title {
    font-weight: 500;
    margin-bottom: 0;
}

.badge-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .book-popup-group {
        padding: 0.5rem;
        width: 90%;
        height: auto;
        max-height: 90vh;
        border-radius: 15px;
        justify-content: space-between;
        overflow-y: auto;
        overflow-x: hidden;

        /* remove o espaço reservado */
        scrollbar-gutter: stable both-edges;
        /* padrão novo (Chrome/Firefox) */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge Legacy */
    }

    .book-popup-group h2 {
        margin: 0;
    }

    .book-popup-group h3 {
        margin-bottom: 0.5rem;
    }

    .from-group-book .info-book .text-info-book {
        margin-bottom: 0.5rem;
    }

    .from-group-book {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .from-group-book .info-book {
        padding: 0 0.8rem;
        width: 100%;
    }

    .book-popup-group .close-button-container .close-button {
        font-size: 1.5rem;
    }

    .slide-book {
        height: auto;
    }

    .img-info-book {
        height: auto;
    }

    .carousel-container {
        border-radius: 15px;
    }

}

.book-popup-group::-webkit-scrollbar {
    display: none;
}

/* Team Section */
.team {
    padding: 2rem 0;
    z-index: 500;
}

.team-content {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

@media (min-width: 768px) {
    .team-content {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }
}

.team-image {
    border-radius: var(--radius);
    width: 100%;
    height: auto;
    /* remove a altura fixa */
    max-height: 650px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .team-image {
        width: 50%;
        order: 1;
    }
}

@media (max-width: 414px) {
    .team-image {
        height: auto;
        width: auto;
    }
}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* mantém a proporção sem cortar */
    object-position: center;
    /* centraliza */
}

.team-text {
    width: 100%;
}

@media (min-width: 768px) {
    .team-text {
        width: 50%;
        order: 2;
    }
}

.team-text h2 {
    font-weight: 500;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .team-text h2 {
        text-align: center;
        margin-bottom: 1rem;
    }
}

.team-text h2 b {
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    background-color: rgba(28, 175, 160, 0.1);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 1rem 0;
    background-color: var(--primary-color);
    background-image: url('/img/background/efeito_universo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-universe {
    position: absolute;
    margin-top: 25rem;
    width: 100%;
    height: 100%;
    max-height: 1200px;
}

.bg-universe img {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .services-header {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }
}

.services-intro {
    width: 100%;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .services-intro {
        width: 50%;
        margin-bottom: 0;
    }
}

.clouds-top {
    position: relative;
    margin-bottom: -2px;
    width: 100%;
    z-index: 99;
    overflow: hidden;
}

.wave-bottom {
    position: relative;
    top: -1rem;
    width: 100%;
    z-index: -99;
}

@media (max-width: 414px) {
    .wave-bottom {
        top: -0.85rem;
    }
}

.clouds-top img {
    height: auto;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (max-width: 414px) {
    .clouds-top img {
        width: 300%;
        max-width: none;
    }
}

.wave-bottom img {
    height: auto;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.clouds-blue-bottom {
    position: relative;
    top: -2rem;
    width: 100%;
    height: 10rem;
    max-height: 10rem;
    background-image: url('/img/design/nuvens_transicao_azul.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    z-index: 99;
}

.clouds-bottom {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 10rem;
    background-image: url('/img/design/nuvens_transicao_baixo.png');
    z-index: 99;
}

.services-body {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 50;
}

.group-info-services {
    position: relative;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.group-info-services .box-info-services {
    position: relative;
    padding: 0.8rem;
    width: 100%;
    height: auto;
    background-color: #00000027;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
    border: 1px solid #00000046;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease-in-out;
}

.group-info-services .box-info-services:hover {
    transform: scale(1.1);
}


/* Animação de Escala infinita */
@keyframes scaleBigLoop {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Animação de Balanço infinita */
@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

.group-info-services .box-info-services img {
    width: 6rem;
    height: 6rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    transition: all 0.3s ease-in-out;
}

.text-box-info-services {
    width: 80%;
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.text-box-info-services h3 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.text-box-info-services p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.services-img-children {
    padding: 2rem 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-services-img {
    width: 60%;
    height: auto;
}

@media (max-width: 768px) {
    .services-body {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .container-services-img {
        width: 40%;
    }
}

@media (max-width: 414px) {
    .container-services-img {
        width: 60%;
    }
}

.slider-container {
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    background: transparent;
    padding: 1rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%;
}

.slide {
    display: flex;
    justify-content: center;
    width: 25%;
    flex-shrink: 0;
}

.slide img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 0.75rem;
    transition: transform 0.7s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-800);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-arrow-left {
    left: 1rem;
}

.slider-arrow-right {
    right: 1rem;
}

/* Decorative Elements */
.slider-wrapper::before {
    content: '';
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background: transparent;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(1rem);
    z-index: -1;
}

.slider-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: transparent;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(1rem);
    z-index: -1;
}

@media (max-width: 768px) {
    .services-intro h2 {
        font-size: 2rem;
    }

    .slider-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .slide img {
        height: 250px;
    }
}

.service-boxes {
    width: 100%;
}

@media (min-width: 1024px) {
    .service-boxes {
        width: 50%;
    }
}

.service-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.service-box.accent .service-icon {
    background-color: rgba(255, 126, 107, 0.1);
}

.service-box.accent .service-icon svg {
    color: var(--accent-color);
}

.service-box h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.service-box p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--white);
}

.service-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.link-with-arrow {
    color: white;
    background-color: var(--primary-color);
    border: solid var(--primary-color) 1px;
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.link-with-arrow i {
    margin-left: 0.2rem;
}

.link-with-arrow:hover {
    color: var(--primary-color);
    background-color: transparent;
}

.btn-card-find-out-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-card-find-out-more p {
    font-weight: 800;
    font-size: 1.3rem;
    text-align: center;
}

.btn-card-find-out-more img {
    width: 100%;
    max-width: 270px;
    height: auto;
    margin-bottom: 0.8rem;
}

.btn-find-out-more {
    width: 80%;
    color: var(--primary-color);
    background-color: transparent;
    border: solid var(--primary-color) 1px;
    padding: 0.4rem 0.6rem;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.2rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.btn-find-out-more:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-header h2 {
    margin-bottom: 1rem;
}

.stats-header p {
    max-width: 42rem;
    margin: 0 auto;
    opacity: 0.8;
}

.stats-content {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .stats-content {
        padding: 2.5rem;
        display: flex;
        gap: 2.5rem;
    }
}

.progress-bars {
    width: 100%;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .progress-bars {
        width: 50%;
        margin-bottom: 0;
    }
}

.progress-item {
    margin-bottom: 2.5rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.progress-bar {
    height: 0.5rem;
    background-color: var(--gray-200);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 9999px;
}

.stats-text {
    width: 100%;
    color: var(--text-color);
}

@media (min-width: 768px) {
    .stats-text {
        width: 50%;
    }
}

.stats-text h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stats-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subtitle-services {
    margin-bottom: 1rem;
    align-items: center;
    color: var(--white);
    padding: 0rem 0.8rem 0.3rem 0.8rem;
    border-bottom: solid var(--accent-dark) 3px;
}

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

.portfolio-tabs {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio-tabs .identification-kits {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0;
    padding: 0.2rem 2rem;
    background-color: var(--white);
    border-radius: 15px 15px 0 0;
}

.theo-correndo {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    margin-top: -2rem;
}

.theo-correndo img {
    width: 22rem;
}

@media (max-width: 768px) {
    .theo-correndo {
        display: none;
    }
}

.planet-saturn {
    position: absolute;
    width: 25%;
    max-width: 15rem;
    height: auto;
    left: 70%;
    margin-top: -3.5rem;
    animation: sway 7s infinite alternate;
}

@media (max-width: 768px) {
    .planet-saturn {
        width: 12rem;
        left: 70%;
        margin-top: -3.9rem;
    }
}

@media (max-width: 414px) {
    .planet-saturn {
        width: 7rem;
        left: 62%;
        margin-top: -3.2rem;
    }
}


.tabs-header {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 0.25rem;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .tabs-header {
        width: 100%;
    }
}

.tab-button {
    padding: 0.5rem 1.2rem;
    border: none;
    background: none;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: calc(var(--radius) - 0.25rem);
    transition: var(--transition);
}

.tab-button:hover,
.tab-button.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.tab-content {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
    padding: 0.8rem;
    border-radius: var(--radius);
    background-color: #ffffff1e;
    margin-bottom: 1rem;
}

.img-developing {
    width: 100%;
    max-width: 450px;
    height: auto;
    padding: 1rem
}

.portfolio-grid {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.portfolio-item {
    display: flex;
    justify-content: center;
    align-content: center;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 16rem;
    max-width: 210px;
    cursor: pointer;
}

.portfolio-item img {
    width: auto;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.empty-tab {
    max-width: 100%;
    padding: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-tab p {
    max-width: 50%;
    padding: 1rem 2rem;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
}

/* Ava Section */
.ava {
    padding: 1rem 0;
}

.ava-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .ava-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .portfolio-item {
        max-width: 100%;
    }
}

.ava-img {
    height: auto;
    width: 50%;
    border-radius: var(--radius);
    overflow: hidden;
}

.ava-img .imagem-ava {
    width: 100%;
    height: 100%;
}

.ava-text-contanier {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: auto;
}

.ava-text-contanier .ava-elements {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.group-text p {
    width: 80%;
}

.ava-text-contanier .group-icon-ava {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 768px) {
    .ava-text-contanier .group-icon-ava {
        justify-content: center;
    }
}

.ava-text-contanier .group-icon-ava .icon-ava {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius);
    gap: 0.8rem;
    transition: all 0.3s ease-in-out;
}

.ava-text-contanier .group-icon-ava .icon-ava i {
    width: 3.8rem;
    height: 3.5rem;
    padding: 0.5rem;
    border-radius: 300px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.ava-text-contanier .group-icon-ava .icon-ava p {
    margin: 0;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.ava-text-contanier .group-icon-ava .icon-ava:hover {
    transform: rotateY('90');
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.ava-text-contanier .group-icon-ava .icon-ava:hover i {
    transform: scale(1.5);
    background-color: transparent;
    color: var(--white);
    border: none;
    box-shadow: none;
}

.ava-text-contanier .group-icon-ava .icon-ava:hover p {
    color: var(--white);
}

.btn-ava {
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: solid 1px transparent;
    transition: all 0.3s ease-in-out;
}

.btn-ava:hover {
    color: var(--primary-dark);
    border-bottom: solid 1px var(--primary-dark);
}

@media (max-width: 768px) {
    .ava-img {
        width: 100%;
    }

    .ava-text-contanier {
        flex-direction: column;
        width: 100%;
    }

    .group-text .group-icon-ava {
        flex-direction: column;
    }

    .group-text p {
        width: 100%;
    }

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

    .ava-text-contanier .group-icon-ava .icon-ava p {
        display: none;
    }

    .ava-text-contanier .group-icon-ava .icon-ava p:hover {
        display: none;
    }

}

.img-robot-ava {
    position: relative;
    width: 120%;
}

@media (max-width: 414px) {
    .img-robot-ava {
        display: none;
    }
}

.events {
    padding-bottom: 4rem;
    background: var(--gray-200);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .events-grid {
        justify-items: center;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
        /* Centraliza se tiver 1 ou 2 */
        margin: 0 auto;
    }
}

.events-card {
    width: 100%;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.events-image {
    height: 14rem;
}

.events-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-content {
    padding: 1.5rem;
}

.date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.address {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.events-card h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.events-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .testimonial-content {
        flex-direction: row;
    }
}

.testimonial-text {
    width: 100%;
}

@media (min-width: 768px) {
    .testimonial-text {
        width: 40%;
    }
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    color: #FFB800;
}

.testimonial-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    margin-bottom: 0;
}

.author-title {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.quote-mark {
    position: absolute;
    top: -0.75rem;
    left: -0.75rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-gallery {
    width: 100%;
}

@media (min-width: 768px) {
    .testimonial-gallery {
        width: 60%;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
    }
}

.gallery-main {
    height: 100%;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .gallery-side {
        margin-top: 0;
    }
}

.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Contact Section */
.contact {
    --space-blue: hsl(210, 80%, 50%);

    width: 100%;
    height: auto;
    padding: 2rem 1rem;
    background-image: linear-gradient(135deg, var(--primary-dark), var(--space-blue));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
    }
}

.contact-text {
    width: 100%;
}

@media (min-width: 768px) {
    .contact-text {
        width: 50%;
    }
}

.contact-text img {
    border-radius: var(--radius);
    margin-top: 2rem;
}

.contact-form-container {
    width: 100%;
}

@media (min-width: 768px) {
    .contact-form-container {
        width: 50%;
    }
}

.contact-form {
    padding: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.form-group textarea {
    min-height: 5rem;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        text-align: left;
    }
}

.newsletter-text h3 {
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    opacity: 0.8;
    margin-bottom: 0;
}

.subscribe-form {
    display: flex;
    width: 100%;
}

@media (min-width: 768px) {
    .subscribe-form {
        width: auto;
    }
}

.subscribe-form input {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    min-width: 16rem;
}

.subscribe-form button {
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Footer */
footer {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    background-color: var(--primary-dark);
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-about p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

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

.social-link:hover {
    color: var(--primary-color-hover);
}

.social-link i {
    font-size: 1.3rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-300);
}

.footer-links a:hover {
    color: var(--primary-color-hover);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-around;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-100);
    margin-bottom: 0;
}

.footer-bottom p a {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.footer-bottom p a:hover {
    color: var(--primary-color-hover)
}

.footer-img img {
    width: 200px;
    height: auto;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 460px) {
    .footer-bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* FORMULÁRIO POP UP */
.contact-popup-group {
    --space-blue: hsl(210, 80%, 50%);

    width: 100%;
    height: auto;
    padding: 1rem;
    padding-top: 0;
    background-image: linear-gradient(135deg, var(--primary-dark), var(--space-blue));
    ;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.contact-popup-group .close-button-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.contact-popup-group .close-button-container .close-button {
    position: relative;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact-popup-group .close-button-container .close-button:hover {
    transform: scale(1.1);
    color: var(--accent-dark);
}

.from-group-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
}

.contact-popup-group .info-contact {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;

    gap: 1rem;
}

.contact-form .form-group-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .form-label {
    color: hsl(0, 0%, 100%);
    font-weight: 500;
    font-size: 1rem;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: hsl(0, 0%, 100%);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .form-select option {
    font-weight: 600;
    background: var(--primary-dark);
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
    color: hsl(240, 100%, 95%);
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn-submit {
    --coral-orange: hsl(23, 92%, 63%);
    --coral-orange-dark: hsl(14, 79%, 38%);
    --gradient-accent: linear-gradient(45deg, var(--coral-orange-dark), var(--coral-orange));


    margin: 0 auto;
    max-width: 300px;
    background: var(--gradient-accent);
    color: hsl(0, 0%, 100%);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 0 40px hsla(10, 85%, 65%, 0.3);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px -10px hsla(280, 70%, 40%, 0.4);
}

.contact-form .contact-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.img-info-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.img-info-contact h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gray-100);
}

.img-info-contact h3 b {
    color: var(--accent-dark);
}

.img-info-contact .whats-circle {
    width: auto;
    height: auto;
    padding: 0.3rem 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    background-image: linear-gradient(45deg, #0a7f3f, #1cb830);
    color: var(--white);
    border-radius: 1000px;
    border: 2px solid var(--white);
    box-shadow: 2px 2px 5px #3b3b3b69;
    transition: all 0.3s ease-in-out;

    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 1rem;
}

.img-info-contact .whats-circle:hover {
    transform: translateY(-10px);
    background-image: linear-gradient(45deg, var(--accent-dark), var(--accent-color));
    box-shadow: 0 0 10px var(--accent-color);
}

.img-info-contact .whats-circle i {
    font-size: 2rem;
    color: var(--white);
}

@media (max-width: 768px) {
    .contact-popup-group {
        padding: 0.5rem;
        width: 90%;
        height: auto;
        max-height: 90vh;
        border-radius: 15px;
        justify-content: space-between;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-gutter: stable both-edges;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .from-group-contact {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }

    .whats-circle {
        margin-top: 1rem;
    }

    .contact-popup-group .close-button-container .close-button {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .book-popup-group .close-button-container .close-button {
        margin-right: 10px;
    }
}

.floating-button-whats {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 100px;
    border: 1px solid var(--white);
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(16, 44, 26, 0.2);
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.floating-button-whats:focus,
.floating-button-whats:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
    outline: none;
}

.floating-button-whats i {
    color: var(--white);
    font-size: 2rem;
}
