/* ================================== */
/* DEFINIÇÃO DE VARIÁVEIS (CORES)     */
/* ================================== */
:root {
    --primary-color: #0D2C54;
    /* Azul Marinho Profundo (cor principal da Pàttino) */
    --primary-dark: #0A2240;
    /* Azul um pouco mais escuro para hover */
    --accent-color: #48D1CC;
    /* Ciano/Turquesa para detalhes e destaques */
    --text-color: #333;
    --text-color-light: #555;
    --background-light: #F8F9FA;
    /* Fundo cinza bem claro, quase branco */
    --white: #ffffff;
    --black: #000000;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--black);
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

header {
    position: fixed;
    top: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 100;
    transition: height 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: var(--accent-color);
    height: 14%;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 200px;
    flex-shrink: 0;
}

.logo {
    width: 160%;
    height: auto;
    margin: 0;
    display: block;
    max-width: 160px;
    transition: transform 0.3s ease;
    padding: 10px 10px 15px;

}

.logo-link:hover .logo {
    transform: scale(1.1);
}

.logo-link.touch-feedback-active .logo {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    gap: 20px;
    margin-top: 3px;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 20px;
}

nav a {
    color: var(--text-color-light);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    transform: scale(1);
    display: inline-block;
}

nav a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-link i {
    font-size: 28px;
    line-height: 0;
}

.whatsapp-link span {
    font-size: 20px;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 11;
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#servicos,
#quem-somos,
#nossa-equipe,
#proposito,
#contato,
#endereco {
    scroll-margin-top: 60px;
}

.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vw;
    color: var(--text-color);
    position: relative;
    background: linear-gradient(rgba(13, 44, 84, 0.7), rgba(0, 0, 0, 0.8)), url('background-pattino02.png');
    background-size: cover;
    background-position: center;
}

.hero-background-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-light);
    opacity: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 6;
    text-align: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--white);
}

.hero-content h1,
.hero-content p,
.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-content.visible h1,
.hero-content.visible p,
.hero-content.visible .btn {
    opacity: 1;
    transform: translateY(0);
}

.hero-content.visible p {
    transition-delay: 0.2s;
}

.hero-content.visible .btn {
    transition-delay: 0.4s;
}

.btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    color: var(--white);
    background: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(72, 209, 204, 0.4);
    transform: translateY(-2px);
}

/* ================================== */
/* ESTILOS DO CARROSSEL DE SERVIÇOS   */
/* ================================== */

/* ================================== */
/* NOVA SEÇÃO: GALERIA DE SERVIÇOS    */
/* ================================== */

.services-section {
    padding: 80px 30px;
    background-color: var(--background-light);
    text-align: center;
}

.services-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(13, 44, 84, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-description {
    font-size: 1.1rem;
    /* Tamanho de fonte confortável para leitura */
    color: var(--text-color-light);
    /* Cor padrão para textos secundários */
    line-height: 1.7;
    /* Espaçamento entre linhas para melhor legibilidade */
    margin-bottom: 25px;
    /* Espaço entre o texto e o botão */
    flex-grow: 1;
    /* MUITO IMPORTANTE: Garante que o texto ocupe o espaço disponível, empurrando o botão para baixo e alinhando todos os botões da mesma linha */
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: center;
    flex-grow: 1;
    /* Faz a lista crescer para alinhar os botões */
}

.service-card ul li {
    font-size: 1.1rem;
    color: var(--text-color-light);
    line-height: 1.8;
}

.service-card .btn {
    opacity: 1;
    transform: none;
    margin-top: auto;
    /* Alinha o botão na parte inferior do card */
}

/* Adicione este novo bloco */
.service-card-image {
    width: 100%;
    height: 200px;
    /* Altura fixa para todas as imagens, garantindo uniformidade */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
    /* Garante que a imagem não ultrapasse as bordas arredondadas */
    margin-bottom: 25px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Essencial: redimensiona a imagem para cobrir o container sem distorcer */
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
    /* Efeito de zoom sutil ao passar o mouse */
}

/* Opcional: Ajuste o card para não ter padding no topo, já que a imagem vai ocupar o espaço */
.service-card {
    padding: 0;
    /* Remove o padding antigo */
    padding-bottom: 35px;
    /* Mantém o padding apenas na parte inferior */
}

/* Ajuste no conteúdo do card para ter seu próprio padding */
.service-card-content {
    padding: 0 30px;
    /* Padding lateral para o conteúdo de texto */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.container {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-color: var(--background-light);
}

.item {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 40px;
    opacity: 0;
    transform: translateX(100vw);
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    z-index: 2;
    top: -100px;
}

.item.active {
    opacity: 1;
    transform: translateX(0);
}

.product-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 500px;
}

.product-img img {
    width: 75%;
    height: auto;
    max-width: 450px;
    border-radius: 30px;
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.item.active .product-img img {
    transform: translateX(0);
    opacity: 1;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    padding-left: 10px;
}

.product-tag {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.item.active .product-tag {
    transform: translateX(0);
    opacity: 1;
}

.product-name {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 10px;
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
    color: var(--text-color);
}

.item.active .product-name {
    transform: translateX(0);
    opacity: 1;
}

.description {
    font-size: 1.2rem;
    color: var(--text-color-light);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
    text-align: left;
    opacity: 0;
    transform: translateX(600px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.item.active .description {
    transform: translateX(0);
    opacity: 1;
}

.content .btn {
    transform: translateX(600px);
    opacity: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease,
        transform 0.6s ease 0.5s,
        opacity 0.6s ease 0.5s;
}

.item.active .content .btn {
    transform: translateX(0);
    opacity: 1;
}

.arrows {
    position: absolute;
    width: 90%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.arrow-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--white);
}

.arrow-btn:hover {
    background-color: #48D1CC;
    border-color: var(--white);
}

.indicators {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15%;
    z-index: 5;
}

.dots {
    display: flex;
    gap: 10px;
    top: 10px;
}

.dot {
    width: 40px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.dot.active {
    background-color: #48D1CC;
}

/* ================================== */
/* SEÇÃO QUEM SOMOS                   */
/* ================================== */

.about-us-section {
    display: flex;
    min-height: 82vh;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2px;
    background-color: #48D1CC;
}

.about-us-logo {
    max-width: 400px;
    width: 400%;
    height: auto;
    margin-bottom: 30px;
}

.about-us-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.about-us-section p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: justify;
}

/* ================================== */
/* NOVA SEÇÃO: NOSSA EQUIPE           */
/* ================================== */

.team-section {
    padding: 80px 30px;
    background-color: var(--white);
    text-align: center;
}

.team-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 50px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    background-color: var(--background-light);
    border-radius: 15px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(13, 44, 84, 0.15);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.team-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-light);
}

/* ================================== */
/* SEÇÃO FILOSOFIA (MISSÃO, VISÃO...) */
/* ================================== */

.purpose-section {
    padding: 80px 30px;
    text-align: center;
    background-color: var(--background-light);
}

.purpose-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.purpose-section p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.purpose-card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.purpose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.purpose-card-content {
    padding: 35px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.purpose-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
}

.purpose-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #343a40;
    margin-bottom: 15px;
}

.purpose-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    flex-grow: 1;
}

.address-section {
    height: 90vh;
    padding: 30px 30px;
    text-align: center;
    margin-bottom: 1px;
}

.address-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

#endereco-link {
    display: inline-block;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

#endereco-link:hover {
    color: var(--primary-dark);
}

#endereco-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-dark);
    transition: width 0.3s ease;
}

#endereco-link:hover::after {
    width: 100%;
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 410px;
    border-radius: 15px;
    top: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.map-overlay::after {
    content: 'Clique aqui para interagir com o mapa';
    font-weight: 600;
}

.map-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.contact-section {
    height: auto;
    min-height: 90vh;
    padding: 30px 30px;
    text-align: center;
    background-color: var(--background-light);
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.contact-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    margin-top: 10px;
}

.contact-card {
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-color-light);
}

.contact-card .btn {
    opacity: 1;
    transform: none;
    margin-top: 20px;
    display: inline-block;
}

.social-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    color: var(--white);
    font-size: 22px;
    text-decoration: none;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-bar a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-bar .facebook-icon:hover {
    background-color: #004eb4;
}

.social-bar a[href*="wa.me"]:hover {
    background-color: #25D366;
}

.social-bar .instagram-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

footer {
    padding: 40px 20px;
    padding-bottom: 80px;
    text-align: center;
    color: var(--white);
    background-color: var(--primary-color);
}

.legal-page-content {
    background-color: var(--white);
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 20px 50px 20px;
}

.legal-page-content h1 {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.legal-page-content>p:first-of-type {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.legal-page-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    font-size: 1.9rem;
    margin-top: 45px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9ecef;
}

.legal-page-content p,
.legal-page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    color: #343a40;
    margin-bottom: 1.2em;
}

.legal-page-content ul,
.legal-page-content ol {
    padding-left: 25px;
    margin-bottom: 1.2em;
}

.legal-page-content li {
    margin-bottom: 0.8em;
}

.legal-page-content strong {
    color: var(--black);
}

.legal-page-content a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-dark);
    transition: all 0.3s ease;
}

.legal-page-content a:hover {
    color: var(--white);
    background-color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.footer-links {
    margin-bottom: 20px;
    font-size: 90%;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    border-top: none;
    padding: 20px 30px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

#consent-banner.hidden {
    transform: translateY(150%);
}

.consent-text {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
}

.consent-text a {
    color: #80CBC4;
    /* Tom de ciano claro para link */
    text-decoration: underline;
    font-weight: 600;
}

.consent-text a:hover {
    color: var(--white);
}

#accept-consent-btn {
    flex-shrink: 0;
    opacity: 1;
    transform: none;
}

/* ================================== */
/* MEDIA QUERIES E RESPONSIVIDADE     */
/* ================================== */

@media (max-width: 992px) {
    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        padding: 0 15px;
        width: 100%;
        z-index: 101;
    }

    header nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--accent-color);
        padding: 20px 0;
        box-shadow: none;
        z-index: 100;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    header.open {
        height: 80px;
        flex-wrap: nowrap;
        padding-bottom: 0;
        background-color: var(--accent-color);
    }

    header.open nav {
        display: flex;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }

    header.open nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
        padding-left: 0;
    }


    header.open nav ul li:not(:last-child) {
        width: 80%;
        text-align: center;
        border-bottom: 1px solid --accent-color;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .logo-link {
        flex-shrink: 0;
        max-width: 100px;
        width: auto;
        padding: 0;
    }

    .logo {
        width: 120px;
        max-width: 120px;
        padding: 0;
    }

    .menu-toggle {
        display: flex;
    }

    #servicos {
        scroll-margin-top: 30px;
    }

    #quem-somos {
        scroll-margin-top: 50px;
    }

    #nossa-equipe {
        scroll-margin-top: 50px;
    }

    #proposito,
    #contato {
        scroll-margin-top: 30px;
    }
    
    #endereco {
        scroll-margin-top: 60px;
    }

    .hero-section {
        height: 100vh;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero-content {
        margin-top: -180px;
       
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;

    }

    .hero-content .btn {
        width: 80%;
        max-width: 300px;
        padding: 15px 10px;
    }

    .services-section h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* AJUSTES DO CARROSSEL PARA MOBILE */
    .container {
        padding-top: 0;
    }

    .item {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        padding-top: 80px;
        /* Espaço para o header */
        text-align: center;
        top: 0;
        /* Ajuste para o item ocupar a tela toda */
    }

    .product-img {
        justify-content: center;
        /* Centraliza a imagem */
        max-width: 100%;
        height: 40%;
    }

    .product-img img {
        width: auto;
        height: 100%;
        max-width: 90%;
        object-fit: contain;
    }

    .content {
        align-items: center;
        padding: 0;
        height: 60%;
        justify-content: flex-start;
    }

    .description {
        text-align: center;
    }

    .arrows {
        top: 35%;
        /* Posição das setas no mobile */
    }

    .indicators {
        bottom: 100px;
        /* Posição dos pontos no mobile */
    }

    .dot {
        width: 25px;
    }

    .about-us-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .about-us-section h2 {
        font-size: 2rem;
    }

    .about-us-section p {
        font-size: 1rem;
    }

    .team-section,
    .purpose-section {
        padding: 60px 20px;
    }

    .team-section h2,
    .purpose-section h2 {
        font-size: 2.2rem;
    }

    .team-section p,
    .purpose-section p {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .team-container,
    .purpose-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .team-card,
    .purpose-card {
        max-width: 300px;
    }

    .address-section {
        height: auto;
        padding: 60px 20px;
        margin: 0;
    }

    .address-section h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    #endereco-link {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }

    .map-container {
        height: 280px;
        top: 15px;
    }

    .map-overlay::after {
        font-size: 1rem;
        padding: 10px;
    }

    .contact-section {
        height: auto;
        padding: 60px 20px;
    }

    .contact-section h2 {
        font-size: 2.2rem;
    }

    .contact-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .contact-card {
        width: 95%;
        max-width: 320px;
        padding: 20px;
    }

    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .contact-card p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .contact-card .btn {
        width: 70%;
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    footer {
        padding: 40px 20px;
        padding-bottom: 80px;
    }

    footer p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .footer-links {
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .social-bar {
        bottom: 10px;
        gap: 10px;
    }

    .social-bar a {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    #consent-banner {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .consent-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    #accept-consent-btn {
        width: 80%;
        max-width: 280px;
        padding: 12px;
        font-size: 0.9rem;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 40px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}