@font-face {
    font-family: "Space Grotesk";
    src: url("../Fontes/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Slab";
    src: url("../Fontes/RobotoSlab-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* RESET */

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

/* BASE */

:root {
    --bg-main: #161f27;
    --bg-secondary: #1f2d36;
    --bg-tertiary: #2a3d48;
    --card-bg: #faf8f5;
    --card-border: #e5e0da;
    --text-main: #fafbfc;
    --text-secondary: #b8c5cc;
    --text-dark: #1f2d36;
    --primary: #3d7a7c;
    --primary-light: #4d9295;
    --primary-hover: #2f6365;
    --primary-dark: #2d5c5e;
    --accent: #8b4049;
    --accent-light: #9f4e58;
    --whatsapp: #2a9d8f;
    --whatsapp-hover: #238276;
    --gold: #d4af37;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

section,
header,
footer,
main,
.hero,
.stats,
.sobre,
.areas,
.depoimentos,
.contato,
.sobre-carousel,
.depoimentos-carousel,
.depoimentos-wrapper,
.footer-container,
.areas-grid,
.main-nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

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

body,
p,
a,
li,
span,
button {
    font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Slab", Georgia, serif;
}

/* HEADER */

header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(31, 45, 54, 0.98) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1003;
}

/* NAV */

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 15px 10%;
    position: relative;
}

.logo {
    flex-shrink: 0;
    z-index: 1002;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(61, 122, 124, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(61, 122, 124, 0.5);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* MENU MOBILE */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1007;
    background: rgba(61, 122, 124, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: 0;
}

.menu-toggle:hover {
    background: rgba(61, 122, 124, 0.3);
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO */

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("../imagens/FOTO2.jpeg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding: 80px 10% 180px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 31, 39, 0.7) 0%, rgba(31, 45, 54, 0.65) 50%, rgba(42, 61, 72, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--gold), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-hover) 100%);
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(42, 157, 143, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(42, 157, 143, 0.7);
    background: linear-gradient(135deg, #32b5a4 0%, var(--whatsapp) 100%);
}

.cta i {
    font-size: 20px;
}

/* STATS */

.stats {
    position: relative;
    margin-top: -120px;
    padding: 0 10%;
    z-index: 10;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.stat-box {
    background: linear-gradient(135deg, var(--card-bg) 0%, #ffffff 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    flex: 1;
    max-width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 52px;
    margin-bottom: 24px;
    opacity: 0.7;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    opacity: 1;
    transform: scale(1.15);
}

.stat-box h3 {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.stat-box p {
    color: var(--text-dark);
    font-size: 16px;
    opacity: 0.75;
    margin: 0;
    font-weight: 400;
}

/* SOBRE */

.sobre {
    padding: 80px 10% 30px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-terciary) 100%);
}

.sobre-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    overflow: hidden;
}

.sobre-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.sobre-content {
    flex: 1;
    min-width: 0;
}

.sobre-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.sobre-subtitle {
    font-size: 18px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

.sobre-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(61, 122, 124, 0.12);
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(77, 146, 149, 0.25);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(61, 122, 124, 0.2);
    transform: translateX(8px);
    border-color: var(--primary-light);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.sobre-image {
    flex: 0 0 420px;
    position: relative;
}

.sobre-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

.sobre-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(31, 45, 54, 0.95), rgba(42, 61, 72, 0.95));
    backdrop-filter: blur(15px);
    padding: 16px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(77, 146, 149, 0.4);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.sobre-badge i {
    font-size: 20px;
    color: var(--gold);
}

.sobre-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    display: flex;
    opacity: 1;
}

/* ÁREAS */

.areas {
    padding: 40px 10% 60px;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
}

.areas-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.areas-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.areas-header p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.area-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.area-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.area-card:hover .area-image img {
    transform: scale(1.15);
}

.area-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 31, 39, 0.88), rgba(61, 122, 124, 0.88));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.35s ease;
}

.area-card:hover .area-overlay {
    opacity: 1;
}

.area-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: scale(0.8);
    transition: all 0.35s ease;
}

.area-card:hover .area-icon {
    transform: scale(1);
}

.area-icon i {
    font-size: 36px;
    color: #ffffff;
}

.area-content {
    padding: 30px 25px;
}

.area-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.area-content p {
    font-size: 15px;
    color: var(--text-dark);
    opacity: 0.75;
    line-height: 1.7;
    margin: 0;
}

/* DEPOIMENTOS */

.depoimentos {
    padding: 60px 10% 60px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-terciary) 100%);
}

.depoimentos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.depoimentos-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 0.5px;      
}

.depoimentos-header p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.depoimentos-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 70px;
    overflow: hidden;
}

.depoimentos-wrapper {
    overflow: hidden;
    width: 100%;
}

.depoimentos-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.depoimento-card {
    min-width: calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, #ffffff 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-light);
}

.depoimento-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.depoimento-stars i {
    color: var(--gold);
    font-size: 18px;
}

.depoimento-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(61, 122, 124, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

/* BOTÕES CARROSSEL */

.carousel-btn,
.carousel-prev-depoimentos,
.carousel-next-depoimentos {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(61, 122, 124, 0.4);
    transition: all 0.3s ease;
}

.carousel-btn:hover,
.carousel-prev-depoimentos:hover,
.carousel-next-depoimentos:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(61, 122, 124, 0.6);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.carousel-prev,
.carousel-prev-depoimentos {
    left: 0;
}

.carousel-next,
.carousel-next-depoimentos {
    right: 0;
}

.carousel-indicators,
.carousel-indicators-depoimentos {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator,
.indicator-depoimento {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(61, 122, 124, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator-depoimento.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.indicator:hover,
.indicator-depoimento:hover {
    background: var(--primary-light);
}

/* CONTATO */

.contato {
    padding: 60px 10% 60px;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-terciary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.contato-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.contato-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-hover) 100%);
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(42, 157, 143, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 45px rgba(42, 157, 143, 0.6);
}

.cta-whatsapp i {
    font-size: 24px;
}

/* FOOTER */

.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
    padding: 60px 10% 20px;
    border-top: 1px solid rgba(77, 146, 149, 0.2);
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(61, 122, 124, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 146, 149, 0.2);
    flex-shrink: 0;
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(61, 122, 124, 0.4);
}

.footer-social i {
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul li i {
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(77, 146, 149, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-bottom i {
    color: var(--accent-light);
}

/* ===== FIX DEFINITIVO MENU MOBILE (dropdown topo->baixo + clicável) ===== */
@media (max-width: 900px) {
    header {
        z-index: 4000 !important;
    }

    .main-nav {
        position: relative !important;
        z-index: 4000 !important;
        gap: 12px !important;
        padding: 12px 5% !important;
    }

    .menu-toggle {
        display: flex !important;
        margin-left: auto !important;
        z-index: 4003 !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 78dvh !important;
        margin: 0 !important;
        padding: calc(72px + env(safe-area-inset-top)) 16px 16px !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;

        background: linear-gradient(180deg, rgba(31, 45, 54, 0.98) 0%, rgba(22, 31, 39, 0.98) 100%) !important;
        border-bottom: 1px solid rgba(77, 146, 149, 0.25) !important;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35) !important;

        z-index: 4002 !important;
        transform: translateY(-120%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s ease, opacity 0.2s ease !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-links.active,
    body.menu-open .nav-links {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 4002 !important;
    }

    .nav-link,
    .nav-btn {
        width: 100% !important;
        margin: 0 !important;
    }

    .nav-link {
        padding: 13px 14px !important;
        border-radius: 10px !important;
        background: rgba(61, 122, 124, 0.12) !important;
        font-size: 14px !important;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-btn {
        padding: 13px 14px !important;
        font-size: 14px !important;
    }

    body.menu-open::before {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.55) !important;
        z-index: 4001 !important; /* abaixo do menu */
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }
}

@media (max-width: 600px) {
    .nav-links {
        padding: calc(66px + env(safe-area-inset-top)) 14px 14px !important;
    }
}

/* RESPONSIVO */

@media (max-width: 900px) {
    .main-nav {
        justify-content: space-between !important;
        align-items: center;
        gap: 12px;
        padding: 12px 5% !important;
        overflow: visible !important;
        z-index: 1006;
    }

    .logo {
        margin: 0 !important;
    }

    .logo img {
        height: 48px;
    }

    .menu-toggle {
        display: flex !important;
        margin-left: auto;
        z-index: 1013;
    }

    .nav-links {
        z-index: 1012;
    }

    .nav-links {
        position: fixed !important;
        top: 0;
        right: 0;
        left: auto;
        width: min(280px, 82vw);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 88px 18px 18px;
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
        border-left: 1px solid rgba(77, 146, 149, 0.25);
        box-shadow: -12px 0 24px rgba(0, 0, 0, 0.35);
        z-index: 1006;

        transform: translateX(104%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.25s ease;
        will-change: transform;

        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link,
    .nav-btn {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        padding: 13px 14px;
        border-radius: 10px;
        background: rgba(61, 122, 124, 0.1);
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-btn {
        padding: 13px 14px;
        font-size: 14px;
    }

    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 1010; /* abaixo do menu */
    }

    body.menu-open header {
        z-index: 1013;
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* garanta que o header fique acima do overlay quando menu estiver aberto */
    body.menu-open header {
        z-index: 1010;
    }

    .hero {
        min-height: 500px;
        padding: 60px 6% 120px;
        background-attachment: scroll;
        background-position: center 20%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-description br {
        display: none;
    }

    .stats {
        margin-top: -80px;
        flex-direction: column;
        padding: 0 6%;
        gap: 20px;
    }

    .stat-box {
        max-width: 100%;
        width: 100%;
        padding: 35px 25px;
    }

    .sobre {
        padding: 60px 6% 40px;
    }

    .sobre-carousel {
        padding: 0 52px;
    }

    .sobre-container {
        flex-direction: column;
        gap: 40px;
    }

    .sobre-content h2,
    .areas-header h2,
    .depoimentos-header h2,
    .contato-content h2 {
        font-size: 32px;
    }

    .sobre-subtitle {
        font-size: 16px;
    }

    .sobre-image {
        flex: 1;
        width: 100%;
    }

    .sobre-image img {
        max-height: 450px;
    }

    .sobre-features {
        grid-template-columns: 1fr;
    }

    .areas {
        padding: 40px 6% 50px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .depoimentos {
        padding: 50px 6% 50px;
    }

    .depoimentos-carousel {
        padding: 0 52px;
    }

    .depoimento-card {
        min-width: 100%;
        max-width: 100%;
    }

    .carousel-prev-depoimentos,
    .carousel-next-depoimentos,
    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .contato {
        padding: 50px 6% 50px;
    }

    .contato-content p {
        font-size: 16px;
    }

    .footer {
        padding: 40px 6% 20px;
    }

    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .footer-section {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .main-nav {
        padding: 12px 5%;
    }

    .logo img {
        height: 45px;
    }

    .menu-toggle {
        padding: 10px;
    }

    .menu-toggle span {
        width: 24px;
    }

    .nav-links {
        width: min(260px, 84vw);
        padding: 88px 16px 16px;
    }

    .hero {
        min-height: 450px;
        padding: 50px 5% 100px;
    }

    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .cta {
        padding: 15px 30px;
        font-size: 14px;
    }

    .stats {
        margin-top: -60px;
        padding: 0 5%;
        gap: 15px;
    }

    .stat-box {
        padding: 30px 20px;
    }

    .stat-icon {
        font-size: 38px;
        margin-bottom: 18px;
    }

    .stat-box h3 {
        font-size: 18px;
    }

    .stat-box p {
        font-size: 14px;
    }

    .sobre {
        padding: 50px 5% 30px;
    }

    .sobre-carousel {
        padding: 0 44px;
    }

    .sobre-container {
        flex-direction: column;
        gap: 40px;
    }

    .sobre-content h2,
    .areas-header h2,
    .depoimentos-header h2,
    .contato-content h2 {
        font-size: 28px;
    }

    .sobre-subtitle {
        font-size: 15px;
    }

    .sobre-content p {
        font-size: 15px;
    }

    .sobre-badge {
        padding: 12px 18px;
        left: 10px;
        bottom: 10px;
    }

    .areas {
        padding: 40px 5% 40px;
    }

    .areas-header {
        margin-bottom: 40px;
    }

    .areas-header p,
    .depoimentos-header p {
        font-size: 14px;
    }

    .area-image {
        height: 180px;
    }

    .area-content {
        padding: 25px 20px;
    }

    .area-content h3 {
        font-size: 18px;
    }

    .area-content p {
        font-size: 14px;
    }

    .depoimentos {
        padding: 40px 5% 40px;
    }

    .depoimentos-carousel {
        padding: 0 44px;
    }

    .depoimentos-header {
        margin-bottom: 40px;
    }

    .depoimento-card {
        padding: 25px;
    }

    .depoimento-text {
        font-size: 14px;
    }

    .contato {
        padding: 40px 5% 40px;
    }

    .contato-content p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .cta-whatsapp {
        padding: 15px 30px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 5% 20px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section ul li,
    .footer-bottom p {
        font-size: 13px;
    }

    .footer-section ul li a,
    .footer-section ul li span {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 375px) {
    .nav-links {
        width: min(240px, 82vw);
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        padding: 8px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-description {
        font-size: 13px;
    }

    .sobre-content h2,
    .areas-header h2,
    .depoimentos-header h2,
    .contato-content h2 {
        font-size: 24px;
    }

    .stat-box h3 {
        font-size: 16px;
    }

    .sobre-carousel,
    .depoimentos-carousel {
        padding: 0 40px;
    }

    .carousel-btn,
    .carousel-prev-depoimentos,
    .carousel-next-depoimentos {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* HOTFIX FINAL - MENU MOBILE CLICÁVEL */
@media (max-width: 900px) {
    body.menu-open::before {
        z-index: 5000 !important;   /* overlay */
        pointer-events: auto !important;
    }

    header,
    .main-nav {
        position: relative !important;
        z-index: 5001 !important;
    }

    .nav-links {
        z-index: 5002 !important;   /* menu acima do overlay */
    }

    .nav-links.active {
        z-index: 5002 !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-links,
    .nav-links * {
        pointer-events: auto !important;
    }

    .menu-toggle {
        z-index: 5003 !important;   /* botão acima de tudo */
    }
}
