html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f9fafb;
    color: #1f2937;
    font-family: sans-serif;
    line-height: 1.6;
}

header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caade;
}

nav a {
    margin-left: 1rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #4caade;
}

.hero {
    position: relative;
    background-color: transparent;
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    overflow: hidden;
    height: 50vh;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero a {
    background-color: #4caade;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background 0.3s;
}

.hero a:hover {
    background-color: #f3f4f6;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.videoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

section {
    padding: 3rem 1rem;
    border: 1px solid #0000001f;
}

h3 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.homeVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;

    & video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.wpp-container {
    bottom: 20px;
    right: 20px;
    position: fixed;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    z-index: 100;
}

.contactBnt {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 101;
    color: #f9fafb;
    border-color: #f9fafb;
}

.card {
    background-color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

ul.benefits {
    list-style: none;
    padding: 0;
}

ul.benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

ul.benefits span:first-child {
    font-size: 1.5rem;
    color: #4caade;
    margin-right: 0.5rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 300%; /* 3 imagens = 300% */
}


.carousel-slide img {
  flex: 0 0 100%; /* cada imagem ocupa 100% do container */
}

.scrollable-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Suaviza em iOS */
}

.carousel-slide {
  display: flex;
  width: max-content;
}

.carousel-slide img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  scroll-snap-align: start;
  border-radius: 1rem;
  object-fit: cover;
}

.img-rounded {
  width: 100%;
  border-radius: 1rem;
  max-width: 400px;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;

    & button {
        background-color: #4caade;
        color: white;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        transition: background 0.3s;

        &:hover {
            background-color: #1d4ed8;
        }

        &:active {
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 0 #00000048;
            /* sombra embaixo (realce 3D) */
            position: relative;
        }
    }
}

.btn {
        background-color: #4caade;
        color: white;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        transition: background 0.3s;

        &:hover {
            background-color: #1d4ed8;
        }

        &:active {
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 0 #00000048;
            /* sombra embaixo (realce 3D) */
            position: relative;
        }
    }

footer {
    background-color: #f3f4f6;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* MOBILE */
@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        height: auto;
    }

    .hero .container {
        width: 100%;
        padding: 0 1rem;
    }

}

/* ATOMIC CSS */
.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

.center {
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.gap-1 {
    gap: 10px;
}

.hide {
    display: none !important;
}