/* Section Overlay */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remover bordas azuis de seleção indesejadas */
td, th, img, div, p, span {
    outline: none !important;
}

/* Personalizar seleção de texto */
::selection {
    background-color: var(--primary-gold);
    color: var(--dark-bg);
}

::-moz-selection {
    background-color: var(--primary-gold);
    color: var(--dark-bg);
}

:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f4e4a6;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: none;
    --shadow-hover: none;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.title-accent {
    color: var(--primary-gold);
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    border-radius: 2px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    margin-left: 15px;
}

.nav-logo h2 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.nav-logo .subtitle {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

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

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: var(--white);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary-gold);
    color: var(--black);
}

/* CARDS2 Base Styles */
.cards2-section {
    position: relative;
    padding: 80px 0;
}
.cards2-columns {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.cards2-col { width: 50%; }
.cards2-section .container { position: relative; z-index: 2; }
.cards2-content > * {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: var(--transition);
}
.cards2-content > *:hover {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .cards2-columns { flex-direction: column; gap: 16px; }
    .cards2-col { width: 100%; }
}

.cta-btn {
    padding: 12px 25px;
    background: var(--primary-gold);
    color: var(--black);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
    animation: slideUp 1s ease-out;
    position: relative;
    z-index: 5;
}

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

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

.hero-title .highlight {
    color: var(--primary-gold);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
    animation: expandWidth 2s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
    width: 100%;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 30px;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    transform: rotate(45deg);
}

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

/* About Section */
.about {
    padding: 120px 0;
    background: var(--gray-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

/* Sessão02 Styles */
.session02 {
    padding: 0;
    background: var(--white);
    position: relative;
}

.session02-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.session02-content.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.session02-content.reverse .session02-text {
    order: 2;
}

.session02-content.reverse .session02-image {
    order: 1;
}

.session02-text {
    animation: fadeInLeft 1s ease-out;
    min-width: 0;
}

.session02-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--gray-medium);
    white-space: pre-line;
}

.session02-image {
    animation: fadeInRight 1s ease-out;
    min-width: 0;
}

.session02-image .image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    height: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.session02-image .image-container:hover {
    transform: translateY(-10px);
}

.session02-image .section-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.session02-image .image-container:hover .section-image {
    transform: scale(1.05);
}

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

/* Responsive para Sessão02 */
@media (max-width: 768px) {
    .session02-content,
    .session02-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Garantir imagem acima e texto abaixo no mobile */
    .session02-image { grid-row: 1; }
    .session02-text { grid-row: 2; }
    
    .session02-image .section-image {
        height: auto;
        max-height: 300px;
    }
}

/* Desktop: fixar largura da coluna da imagem e manter texto proporcional */
@media (min-width: 769px) {
    .session02-content,
    .session02-content.reverse {
        grid-template-columns: auto 1fr;
    }
    .session02-image .image-container {
        max-width: 440px;
        min-width: 320px;
    }
}

/* ===== SESSÕES DINÂMICAS ===== */
.dynamic-section {
    position: relative;
    padding: 0;
    min-height: 500px;
    overflow: hidden;
}

.dynamic-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dynamic-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

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

.dynamic-content {
    display: grid;
    align-items: center;
    gap: 3rem;
    min-height: 400px;
}

/* Layouts das Sessões Dinâmicas */
.dynamic-content.layout-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dynamic-content.layout-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dynamic-content.layout-right .dynamic-text {
    order: 2;
}

.dynamic-content.layout-right .dynamic-image {
    order: 1;
}

.dynamic-content.layout-center {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dynamic-content.layout-full {
    grid-template-columns: 1fr;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* Texto das Sessões Dinâmicas */
.dynamic-text {
    animation: fadeInLeft 0.8s ease-out;
    min-width: 0;
}

.dynamic-text .section-title {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.dynamic-description {
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Imagem das Sessões Dinâmicas */
.dynamic-image {
    animation: fadeInRight 0.8s ease-out;
    min-width: 0;
}

.dynamic-image .image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    height: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Garantir margem interna para imagens das sessões dinâmicas */
.dynamic-image .image-container {
    padding-inline: 20px;
    box-sizing: border-box;
}

/* Garantir margem interna para imagem da seção About */
.about .image-container {
    padding-inline: 20px;
    box-sizing: border-box;
}

/* Benefícios e Sessão 02: manter imagem dentro da margem interna */
.beneficios .image-container,
.session02-image .image-container {
    padding-inline: 20px;
    box-sizing: border-box;
}

/* Regra global para imagens com class="section-image" */
img.section-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile: reduzir levemente o padding para caber bem em telas menores */
@media (max-width: 768px) {
  .dynamic-image .image-container,
  .about .image-container {
    padding-inline: 12px;
  }
  .beneficios .image-container,
  .session02-image .image-container {
    padding-inline: 12px;
  }
}

.dynamic-image .image-container:hover {
    transform: translateY(-10px);
}

.dynamic-image .section-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.dynamic-image .image-container:hover .section-image {
    transform: scale(1.05);
}

/* Responsive para Sessões Dinâmicas */
@media (max-width: 768px) {
    .dynamic-content.layout-left,
    .dynamic-content.layout-right {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Garantir imagem acima e texto abaixo no mobile */
    .dynamic-image { grid-row: 1; }
    .dynamic-text { grid-row: 2; }
    
    .dynamic-image .section-image {
        height: auto;
        max-height: 300px;
    }
    
    .dynamic-section {
        padding: 60px 0;
    }
}

/* Desktop: fixar largura da coluna da imagem e manter texto proporcional */
@media (min-width: 769px) {
    .dynamic-content.layout-left,
    .dynamic-content.layout-right {
        grid-template-columns: auto 1fr;
    }
    .dynamic-image .image-container {
        max-width: 440px;
        min-width: 320px;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--gray-medium);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

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

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.profile-image {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.image-container:hover .profile-image {
    transform: scale(1.05);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.float-element:nth-child(2) {
    animation-delay: 1.5s;
}

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

/* Projects Section */
.projects {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

/* Borda animada para cards de projetos */
.project-card.animated-border {
    position: relative;
    overflow: visible;
    z-index: 2;
}

.project-card.animated-border::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #d4af37, #ff6b6b, #4ecdc4, #d4af37);
    background-size: 400% 400%;
    border-radius: 24px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 1;
}

.project-card.animated-border:hover::after {
    opacity: 1;
    animation-duration: 1.5s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Borda customizada com cor específica */
.project-card.custom-border::after {
    background: var(--custom-border-color, var(--primary-gold));
    animation: none;
}

.project-card.custom-border.animated::after {
    background: linear-gradient(45deg, 
        var(--custom-border-color, var(--primary-gold)), 
        color-mix(in srgb, var(--custom-border-color, var(--primary-gold)) 70%, white),
        var(--custom-border-color, var(--primary-gold))
    );
    background-size: 200% 200%;
    animation: customBorderPulse 2s ease-in-out infinite;
}

@keyframes customBorderPulse {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.6;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    border-radius: 0;
}

.project-image svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card:hover .project-image svg {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.project-info p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.project-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-btn svg {
    transition: var(--transition);
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

.feature {
    padding: 0.5rem 1rem;
    background: var(--light-gold);
    color: var(--dark-gold);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="%23d4af37" opacity="0.05"/></svg>') repeat;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info .section-title {
    text-align: left;
    color: var(--white);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(10px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    width: 30px;
}

.method-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.method-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: var(--gray-dark);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-column h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        justify-content: space-around;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .slider-controls {
        bottom: 60px;
        gap: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    max-height: 90vh;
}

.modal-image {
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    position: relative;
}

.modal-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.modal-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.modal-features .project-tag {
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-actions {
    margin-top: auto;
}

.modal-actions .whatsapp-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-info {
        padding: 2rem;
    }
    
    .modal-info h2 {
        font-size: 2rem;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
}

/* Videos Section */
.videos-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

.videos-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Container do slider de vídeos - viewport fixo */
.videos-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden; /* Manter hidden para criar viewport fixo */
    background: transparent;
}

/* Slider de vídeos - movimento suave */
.videos-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: max-content; /* Permitir que o slider seja maior que o container */
    padding: 20px 0;
    /* Remover overflow: visible para não interferir no viewport */
}

/* Itens de vídeo - tamanho fixo */
.video-item {
    flex: 0 0 auto; /* Não crescer nem encolher */
    width: 280px; /* Largura fixa padrão */
    max-width: 280px;
    min-width: 280px;
    height: 472px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 472px;
    overflow: hidden;
    background: #f0f0f0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay,
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    opacity: 0.9;
    z-index: 3;
}

.video-play-overlay svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.video-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.video-item:hover .video-info-overlay {
    transform: translateY(0);
}

.video-info-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.video-info-overlay p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.video-item:hover .play-overlay,
.video-item:hover .video-play-overlay {
    background: rgba(212, 175, 55, 0.9);
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

.video-item:hover .video-play-overlay svg {
    transform: scale(1.1);
}

.video-item h3 {
    padding: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.4;
}

.video-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-nav-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-50%) scale(1.1);
}

.videos-prev {
    left: 10px;
}

.videos-next {
    right: 10px;
}

/* Video Player Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.video-player-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-close-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .video-item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 250px;
    }
    
    .videos-slider-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .videos-section {
        padding: 60px 0;
    }
    
    .video-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
    }
    
    .videos-slider-container {
        padding: 0 40px;
    }
    
    .video-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-item {
        flex: 0 0 calc(100% - 20px);
        min-width: auto;
    }
    
    .videos-slider-container {
        padding: 0 30px;
    }
    
    .videos-slider {
        gap: 15px;
    }
}

/* ===== Mobile layout fixes (non-impact desktop) ===== */
@media (max-width: 768px) {
  /* Narrower content width and spacing */
  .dynamic-section { min-height: auto; }
  .dynamic-content { gap: 1.5rem; min-height: auto; }
  .dynamic-content.layout-center { max-width: 95vw; }
  .about-content, .contact-content { gap: 1.5rem; }
  .contact-form { padding: 1.25rem; }

  /* Avoid horizontal overflow in common sections */
  .header, .hero, .about, .session02, .beneficios, .projects, .contact, footer { overflow-x: hidden; }

  /* Ensure text blocks don’t exceed viewport width */
  .session02-text, .dynamic-text { max-width: 95vw; }
  .dynamic-description { max-width: 95vw; }
}

@media (max-width: 480px) {
  /* Extra tightening for very small screens */
  .dynamic-content { gap: 1.25rem; }
  .about-content, .contact-content { gap: 1.25rem; }
  .contact-form { padding: 1rem; }
  .session02 .container, .beneficios .container, .about .container, .contact .container, footer .container { padding: 0 12px; }
}

/* Removido: ocultação global de controles de editor.
   A remoção dos controles no site público é feita via JavaScript
   (disablePublicShapeEditing), permitindo que no admin os botões
   permaneçam visíveis e funcionais. */

/* Editor: menu de contexto visível com texto preto */
.editor-context-menu {
  position: fixed;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  padding: 8px;
  min-width: 180px;
  z-index: 10000;
}
.editor-context-menu button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #000;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
}
.editor-context-menu button:hover {
  background: #f3f3f3;
}