/* styles.css - Versão Final Corrigida */

:root {
    --primary-red: #a11f13;
    --primary-yellow: #FFC107;
    --dark-red: #75160d;
    --light-yellow: #ffe9a2;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --gray: #666666;
    --dark-gray: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;

    --font-titles: 'Lobster', sans-serif;
    --font-text: 'Montserrat', sans-serif;

    --card-w: 330px;
    --card-h: 585px;
    --gap: 20px;
    --radius: 22px;
    --speed: 30s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    background: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled-dark {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled-dark .nav-link {
    color: var(--white);
}

.navbar.scrolled-dark .nav-logo {
    color: var(--primary-yellow);
}

.navbar.scrolled-dark .nav-toggle span {
    background: var(--white);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-titles);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    transition: color 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.navbar.scrolled .nav-logo {
    color: var(--primary-red);
    text-shadow: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary-red);
    box-shadow: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
    color: var(--dark-gray);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--white));
    transition: width 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-link::after {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    box-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-yellow);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-red);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

@media (min-width: 769px) {
    .hero-video.desktop {
        display: block;
    }
    .hero-video.mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-video.desktop {
        display: none;
    }
    .hero-video.mobile {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-titles);
    font-size: 100px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1;
    letter-spacing: 5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                     0 0 20px rgba(255, 193, 7, 0.3);
    }
    50% {
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                     0 0 40px rgba(255, 193, 7, 0.6);
    }
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 50px;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    background: var(--light-yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.btn-large {
    padding: 22px 50px;
    font-size: 18px;
}

/* Botões WhatsApp - Todos verdes */
.btn-whatsapp,
.btn-primary[href*="wa.me"],
a.btn-primary[href*="wa.me"] {
    background: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover,
.btn-primary[href*="wa.me"]:hover,
a.btn-primary[href*="wa.me"]:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Botão Outline para Saiba Mais */
.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Conheça Indicator */
.conheca-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: conhecaFadeIn 1s ease 1s both;
}

.conheca-text {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.conheca-arrow {
    font-size: 18px;
    color: var(--primary-yellow);
    opacity: 0;
    transition: all 0.3s ease;
}

.conheca-indicator:hover .conheca-arrow {
    opacity: 1;
    transform: translateY(5px);
}

@keyframes conhecaFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* About Preview */
.about-preview {
    padding: 120px 0 60px 0;
    background: var(--off-white);
    width: 100%;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.about-text {
    width: 100%;
}

.about-text h2 {
    font-family: var(--font-titles);
    font-size: 48px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

.image-frame {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Carrossel de Videos */
.carousel-outer {
    position: relative;
    width: 100vw;
    overflow: hidden;
    padding: 60px 0;
    margin-bottom: 40px;
    margin-top: 40px;
    background: var(--off-white);
}

.carousel-outer::before,
.carousel-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}
.carousel-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white) 0%, transparent 100%);
}
.carousel-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white) 0%, transparent 100%);
}

.track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: scrollLeft var(--speed) linear infinite;
    will-change: transform;
}

.track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.card {
    width: var(--card-w);
    height: var(--card-h);
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    cursor: default;
    user-select: none;
    background: var(--off-white);
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);    
}

.card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Menu Section */
.menu-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    overflow: hidden;
    padding: 120px 0;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        ),
        repeating-linear-gradient(-45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        );
    animation: patternFloat 20s ease-in-out infinite;
}

.menu-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-titles);
    font-size: 56px;
    font-weight: 400;
    text-align: center;
    color: var(--white);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.menu-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
}

.menu-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px var(--shadow-strong);
    border-color: var(--primary-yellow);
}

.menu-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-icon {
    transform: scale(1.1) rotate(5deg);
}

.menu-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.menu-card:hover h3 {
    color: var(--primary-red);
}

.menu-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.menu-footer {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Units Section */
.units-section {
    padding: 120px 0;
    background: var(--light-gray);
}

.unit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
}

.unit-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.unit-card.reverse .unit-image {
    order: 2;
}

.unit-card.reverse .unit-info {
    order: 1;
}

.unit-image {
    position: relative;
    height: auto;
    padding: 20px;
}

/* Carrossel de imagens - padrão */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-strong);
    aspect-ratio: 3/4;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-gray);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary-yellow);
}

.dot:hover {
    background: var(--white);
    transform: scale(1.1);
}

.unit-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 5px 20px var(--shadow-strong);
}

.unit-info {
    padding: 60px;
}

.unit-info h3 {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.unit-info p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
}

.unit-address {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.unit-address strong {
    display: block;
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.unit-address p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.unit-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    text-align: center;
    overflow: hidden;
    padding: 120px 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        ),
        repeating-linear-gradient(-45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        );
    animation: patternFloat 20s ease-in-out infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-titles);
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--white);
    z-index: 1;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 60px;
    color: var(--white);
    z-index: 1;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 3px solid transparent;
}

.cta-feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 40px var(--shadow);
}

.cta-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.cta-feature h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.cta-feature p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Quem Somos Section */
.quem-somos-section {
    padding: 120px 0;
    background: var(--white);
}

.quem-somos-text {
    max-width: 900px;
    margin: 0 auto 80px;
}

.lead {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-red);
    line-height: 1.6;
    margin-bottom: 30px;
}

.quem-somos-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
}

.essencia-grid h3 {
    font-family: var(--font-titles);
    font-size: 42px;
    font-weight: 400;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 50px;
}

.essencia-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.essencia-item {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.essencia-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 40px var(--shadow);
}

.essencia-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.essencia-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.essencia-item p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

.essencia-footer {
    text-align: center;
    font-size: 20px;
    color: var(--gray);
    font-style: italic;
}

/* Unit Detail Section */
.unit-detail-section {
    padding: 60px 0 120px 0;
    background: var(--off-white);
}

.unit-detail-section.alt {
    background: var(--white);
}

.unit-detail-header {
    text-align: center;
    margin-bottom: 80px;
}

.unit-number {
    display: inline-block;
    font-family: var(--font-titles);
    font-size: 100px;
    font-weight: 400;
    color: var(--primary-yellow);
    opacity: 0.3;
    line-height: 1;
}

.unit-detail-header h2 {
    font-family: var(--font-titles);
    font-size: 56px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.unit-tagline {
    font-size: 24px;
    color: var(--gray);
    font-weight: 300;
}

.unit-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

/* Logo das unidades */
.unit-logo {
    width: 160px;
    height: 160px;
    margin-bottom: 30px;
    padding: 15px 15px 25px 15px;
    border-radius: 50%;
    overflow: hidden;
    align-items: center;
    text-align: center;
    justify-items: center;
    display: inline-flex;
    background-color: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
    animation: floatBounce 3s ease-in-out infinite;
}

.unit-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.unit-detail-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 40px var(--shadow);
}

.mission-box h3 {
    font-family: var(--font-titles);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
}

.mission-box p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    color: var(--white);
}

.compromisso-list {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 40px var(--shadow);
}

.compromisso-list h3 {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.compromisso-list ul {
    list-style: none;
    display: grid;
    gap: 15px;
}

.compromisso-list li {
    font-size: 20px;
    line-height: 1.6;
    color: var(--white);
}

.unit-detail-image {
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
}

.unit-detail-image img,
.unit-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Unit Menu Section */
.unit-menu-section {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow);
    margin-bottom: 80px;
}

.unit-menu-section h3 {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 20px;
    text-align: center;
}

.unit-menu-section > p {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.menu-category {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.menu-category:hover {
    background: var(--primary-yellow);
    transform: translateX(10px);
}

.category-icon {
    font-size: 32px;
}

.menu-category span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Unit CTA */
.unit-cta {
    text-align: center;
}

.unit-cta h3 {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 30px;
    line-height: 1.4;
}

.delivery-highlight {
    font-size: 20px;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 30px;
}

.delivery-note {
    font-size: 16px;
    color: var(--gray);
    margin-top: 20px;
}

.unit-location-card {
    max-width: 600px;
    margin: 60px auto 0;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--primary-yellow);
}

.unit-location-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.unit-location-card > p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
}

.location-details p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-strong);
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-family: var(--font-titles);
    font-size: 32px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-address {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-hours {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-hours strong {
    color: var(--dark-gray);
    display: block;
    margin-bottom: 10px;
}

.delivery-platforms {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.delivery-platforms > p {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.platforms span {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--dark-red);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-titles);
    font-size: 32px;
    font-weight: 400;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    opacity: 0.8;
}

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

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* WhatsApp Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.whatsapp-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-content h3 {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 30px;
    text-align: center;
}

.modal-units {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-unit {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.modal-unit:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-red);
    transform: translateX(10px);
}

.unit-icon {
    font-size: 40px;
}

.unit-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.unit-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.unit-phone {
    display: inline-block;
    background: #25D366;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

/* Page Header */
.page-header {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        ),
        repeating-linear-gradient(-45deg, 
            rgba(255, 174, 0, 0.1) 0px, 
            rgba(255, 174, 0, 0.1) 20px,
            transparent 20px, 
            transparent 40px
        );
    animation: patternFloat 20s ease-in-out infinite;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-titles);
    font-size: 64px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 22px;
    color: var(--white);
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.unit-badge-header {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease;
}

.unit-header-1 {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
}

.unit-header-2 {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--light-yellow) 100%);
}

.unit-header-2 .page-title,
.unit-header-2 .page-subtitle {
    color: var(--dark-gray);
}

.unit-header-2 .unit-badge-header {
    background: var(--primary-red);
    color: var(--white);
}

/* Link Styles */
.link-underline {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.link-underline:hover {
    color: var(--dark-red);
    transform: translateX(5px);
}

.unit-extra-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes particleRise {
    to {
        top: -10%;
        opacity: 0;
        transform: translateX(50px);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 968px) {
    /* Menu mobile - fundo branco com traço amarelo */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        gap: 10px;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--dark-gray) !important;
        font-size: 18px;
        padding: 15px 25px;
        width: 100%;
        text-align: center;
        border-radius: 50px;
        text-shadow: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link.active {
        color: var(--primary-yellow) !important;
        background: transparent;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: var(--primary-yellow);
        border-radius: 3px;
        display: block;
        box-shadow: 0 2px 5px rgba(255, 193, 7, 0.5);
    }

    .nav-link:hover {
        background: var(--light-gray);
        color: var(--primary-red) !important;
    }

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

    .navbar.scrolled .nav-link {
        color: var(--dark-gray) !important;
    }

    .navbar.scrolled .nav-link.active {
        color: var(--primary-yellow) !important;
    }

    .navbar.scrolled .nav-toggle span {
        background: var(--primary-red);
    }

    /* Ajustes gerais de layout */
    .hero-title {
        font-size: 60px;
    }

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

    .about-content,
    .unit-card,
    .unit-card.reverse,
    .unit-detail-content,
    .unit-detail-content.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .unit-card.reverse .unit-image,
    .unit-card.reverse .unit-info {
        order: initial;
    }

    .unit-image {
        padding: 15px;
    }

    .carousel-container {
        margin: 0;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .unit-buttons {
        flex-direction: column;
    }

    .btn-outline,
    .btn-primary,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .section-title {
        font-size: 40px;
    }

    .unit-detail-header h2 {
        font-size: 40px;
    }

    .unit-number {
        font-size: 60px;
    }

    .menu-grid,
    .essencia-items,
    .menu-categories {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .unit-info {
        padding: 40px 30px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .page-header {
        padding: 140px 0 80px;
    }

    .page-title {
        font-size: 40px;
    }

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

    /* Carrossel de vídeos - reduzido */
    .carousel-outer {
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .carousel-outer::before,
    .carousel-outer::after {
        width: 60px;
    }

    :root {
        --card-w: 180px;
        --card-h: 320px;
        --gap: 10px;
        --speed: 25s;
    }

    .card {
        border-radius: 15px;
    }

    .carousel-outer::before {
        background: linear-gradient(to right, var(--off-white) 0%, transparent 80%);
    }
    .carousel-outer::after {
        background: linear-gradient(to left, var(--off-white) 0%, transparent 80%);
    }

    /* Units section - margens reduzidas */
    .units-section {
        padding: 60px 0;
    }

    .unit-card {
        margin-bottom: 40px;
        border-radius: 20px;
    }

    /* Menu cards */
    .menu-grid {
        gap: 15px;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .menu-card {
        padding: 25px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-feature {
        padding: 30px 20px;
    }

    /* Quem Somos */
    .quem-somos-section {
        padding: 60px 0;
    }

    .lead {
        font-size: 20px;
    }

    .essencia-items {
        gap: 20px;
    }

    .essencia-item {
        padding: 30px 20px;
    }

    /* Contato */
    .contact-section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-card h3 {
        font-size: 28px;
    }

    .contact-address {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    /* Ajuste do carrossel de vídeos (já incluso) */
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    :root {
        --card-w: 150px;
        --card-h: 266px;
        --gap: 8px;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 20px;
    }

    .nav-link.active::after {
        width: 30px;
        height: 2px;
        bottom: 6px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 2px;
    }

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

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

    .btn-large {
        padding: 16px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .modal-content {
        padding: 30px 15px;
    }

    .modal-content h3 {
        font-size: 28px;
    }

    .modal-unit {
        padding: 15px;
    }

    .unit-icon {
        font-size: 30px;
    }

    .unit-info h4 {
        font-size: 18px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .carousel-dots {
        bottom: 10px;
        padding: 4px 8px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .about-preview {
        padding: 60px 0 30px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 16px;
    }

    .mission-box,
    .compromisso-list {
        padding: 25px;
    }

    .mission-box p,
    .compromisso-list li {
        font-size: 16px;
    }

    .unit-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .units-section {
        padding: 40px 0;
    }

    .unit-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 360px) {
    :root {
        --card-w: 130px;
        --card-h: 230px;
    }

    .hero-title {
        font-size: 32px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .units-section {
        padding: 30px 0;
    }

    .unit-card {
        margin-bottom: 20px;
    }
}

/* Garantia de que imagens não estouram */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ajustes para unit-detail-image e unit-image */
.unit-detail-image,
.unit-image {
    overflow: hidden;
    border-radius: 30px;
}