/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.noto-sans {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.link_g:link {
    color: var(--foreground);
}
.link_b:link {
    color: white;
}
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: -2;
}

.espacador{

    height: 70px;
    width: 100%;

}
.video-bg {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  z-index: -1;

  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 16 / 9;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  background-color: #000;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Ajuste se quiser mais contraste */
  z-index: -1;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans",  sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
}

/* Variáveis CSS */
:root {
    /* Cores */
    --primary: #2d3748;
    --primary-light: #4a5568;
    --secondary: #6c491d;
    --secondary-light: #f6ad55;
    --accent: #ecc94b;
    --background: #ffffff;
    --muted: #f7fafc;
    --muted-foreground: #938c72;
    --foreground: #8a7760;
    --white: #ffffff;
    --border: #e2e8f0;

    /* Gradientes */
    --gradient-sunset: linear-gradient(#2b6cb0, #dd6b20);;
    --gradient-hero:  linear-gradient(rgb(6 84 216 / 26%), #6922078f);
    --gradient-ocean: linear-gradient(135deg, #4299e1, #2b6cb0);

    /* Sombras */
    --shadow-soft: 0 4px 24px rgba(45, 55, 72, 0.08);
    --shadow-strong: 0 8px 32px rgba(45, 55, 72, 0.16);
    --shadow-sunset: 0 8px 32px rgba(237, 137, 54, 0.2);

    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.differential-item i {
  font-size: 3rem;
  color: #d3873b;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.headercontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    transition: 1s;
}
.headercontent.scrolled  {
     height: 60px;
}


.btn.scrolled{
        padding: 8px 15px;
    font-size: 0.7rem;
}

.logo {
    width: 200px;
    height: 82px;
    background-image: url(src/assets/logo.png);
    background-attachment: unset;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 50px;
    transition: 1s;
}
.logo.scrolled  {
        background-image: url(src/assets/logo_b.png);
    width: 100px;
    height: 41px;
}

@media (max-width: 1024px) {
 .logo  {
    width: 100px;
    height: 41px;
}
.headercontent  {
     height: 60px;
}
}
.logo-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .logo-title {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.header.scrolled .logo-subtitle {
    color: var(--muted-foreground);
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }

}

.nav-link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    transform: scale(1.05);
}

.header.scrolled .nav-link {
    color: var(--foreground);
}

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

.desktop-only {
    display: none !important;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: inline-flex;
    }    

}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}



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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    position: relative;
}

.header.scrolled .hamburger {
    background: var(--foreground);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: inherit;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-strong);
    animation: fadeIn 0.3s ease-out;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-link {
    color: var(--foreground);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

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

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-hero {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-hero:hover {
    background: var(--secondary-light);
    box-shadow: var(--shadow-sunset);
    transform: translateY(-2px);
    text-shadow: 3px 3px 8PX #0000001a;
}

.btn-cta {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-cta:hover {
    background: var(--secondary-light);
    box-shadow: var(--shadow-sunset);
    transform: translateY(-2px);
}

.btn-cta-final {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-cta-final:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-full {
    width: 100%;
    margin-top: 1.5rem;
}

.divisor{
    width: 100%;
    height: 100vh;
    background-image: url(src/assets/fachada2.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* text-shadow: 3px 3px 8PX #00000070; */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/fachada.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--white);
    padding: 0 1rem;
    min-width: 75%;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}



.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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



.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

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

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
    text-decoration: none;
}

/* Location Section */
.location {
    height: 100;
    background: var(--muted);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: 100vh;
}

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

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

@media (min-width: 1024px) {
    .location-info {
        padding: 1rem;
    }
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-title.white {
    color: var(--white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto;
}

.map-container {
    position: relative;
}

.map-image {
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.map-marker {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.swiper-button-next {
    color: white !important;
}

.swiper-button-prev {
    color: white !important;
}

.lead-form {
    width: 100%;
    max-width: 28rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-strong);
    padding: 2rem;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
}

/* Gallery Section */
.gallery {
    min-height: 100vh;
    background: var(--background);
    padding: 6rem 0;

}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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


.swiper.myGallery {
  padding: 2rem 0;
}

.swiper-slide {
  width: 250px !important;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumb {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumb:hover {
  transform: scale(1.05);
}



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

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    display: flex;
    align-items: end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 95vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav {
    position: absolute;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    top: 50%;
    transform: translateY(-50%);
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav.prev {
    left: 1rem;
}

.modal-nav.next {
    right: 1rem;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 2rem;
}

.modal-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    color: var(--white);
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-info p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* About Section */
.about {
    min-height: 100vh;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-image: url(src/assets/projeto.jpg);
    background-size: cover;
    background-attachment: fixed;
}


.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
}

.about-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.about-text .highlight {
    font-weight: 600;
    color: var(--foreground);
}

/* Differentials Section */
.differentials {
    min-height: 100vh;
    background: var(--muted);
    padding: 6rem 0;
}

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

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

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

.differential-item {
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.differential-item:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-8px);
}

.differential-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: var(--gradient-sunset);
    font-size: 2rem;
    transition: var(--transition);
}

.differential-item:hover .differential-icon {
    transform: scale(1.1);
}

.differential-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.differential-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* MPEN Section */
.mpen {
    min-height: 100vh;
    background: var(--primary);
    padding: 6rem 0;
    color: var(--white);
        background-image: url(src/assets/logo-mpem.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 80% 90%;
    background-size: 30%;
    background-blend-mode: overlay;
}
.diferenciais {
    min-height: 100vh;
    background: var(--primary);
    padding: 6rem 0;
    color: var(--white);
    
}

.mpen-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mpen-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.8;
}

/* Final CTA Section */
.final-cta {
    min-height: 100vh;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    color: var(--white);

}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}

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

.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .cta-subtitle {
        font-size: 1.5rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-footer {
    margin-top: 2rem;
    text-align: center;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    opacity: 0.8;
    mix-blend-mode: overlay;
    filter: brightness(1.2) contrast(1.1);
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: -2rem;
    z-index: 3000;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    padding: 1rem 1.5rem;
    transform: translateX(100%);
    transition: var(--transition);
    max-width: 20rem;
}

.toast.show {
    transform: translateX(0);
}

.toast-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.toast-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsividade adicional */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .location-info,
    .form-container {
        padding: 0rem;
    }
    
    .lead-form {
        padding: 1rem;
    }
  
}
@media (max-width: 940px) {
    .location-info {
        height: inherit;
    }
    .divisor {
        background-attachment: unset;
    }
}