/* =========================================
   CSS Reset & Variables
========================================= */
:root {
    /* Color Palette */
    --color-primary: #0C1C34;
    --color-primary-light: #152C52;
    --color-primary-dark: #071120;

    --color-accent: #D0A747;
    --color-accent-dark: #B27D2D;
    --color-accent-light: #e5c474;

    --color-text: #FFFFFF;
    --color-text-muted: #A0ABC0;

    --color-bg: #050E1A;
    /* Very dark blue for background */
    --color-surface: rgba(21, 44, 82, 0.4);
    /* Glassmorphism surface */
    --color-surface-hover: rgba(21, 44, 82, 0.7);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 0 20px rgba(208, 167, 71, 0.2);
}

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

html {
    /* scroll-behavior: smooth; REMOVIDO PARA EVITAR CONFLITO COM LENIS */
    background-color: var(--color-bg);
    min-height: 100vh;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

/* =========================================
   Typography & Gradients
========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.highlight {
    color: var(--color-accent);
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(208, 167, 71, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(208, 167, 71, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(208, 167, 71, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* =========================================
   Header & Nav
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(5, 14, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 14, 26, 0.9);
    box-shadow: var(--shadow-md);
}

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

/* =========================================
   Logo Crossfade Animation
========================================= */
.logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    width: 180px;
    /* fixed width to prevent layout shift */
}

/* Both logos sit on top of each other */
.logo-img,
.logo-text-wrapper {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo-img {
    height: 65px;
    width: auto;
    border-radius: 12px;
    /* Arredondamento do fundo branco da logo */
    /* Original colors — no filter, the logo is PNG with transparent base colors */
    /* We keep it as-is and rely on the dark background contrast */
    animation: logoFadeAB 30s ease-in-out infinite;
    opacity: 0;
}

.logo-text-wrapper {
    animation: logoFadeBA 30s ease-in-out infinite;
    opacity: 1;
    white-space: nowrap;
}

/* Phase A: text visible first → fades out; image fades in after 15s */
@keyframes logoFadeAB {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    /* fully visible: 6s → 21s  */
    80% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    /* fades out */
    100% {
        opacity: 0;
    }
}

/* Phase B: text visible first, fades out mid-cycle */
@keyframes logoFadeBA {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    /* text fades as image appears */
    80% {
        opacity: 0;
    }

    90% {
        opacity: 1;
    }

    /* text returns */
    100% {
        opacity: 1;
    }
}

/* Footer logo: static, use image only with brand colors preserved */
.logo-img-footer {
    position: static;
    transform: none;
    height: 80px;
    width: auto;
    animation: none;
    opacity: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 1.2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(208, 167, 71, 0.15) 0%, rgba(5, 14, 26, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(208, 167, 71, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(208, 167, 71, 0.2);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-element {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    /* Inner glow pulse */
    animation: graphicGlow 4s ease-in-out infinite;
}

@keyframes graphicGlow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 rgba(208, 167, 71, 0);
    }

    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(208, 167, 71, 0.12);
    }
}

/* The icon inside transitions with opacity */
.graphic-element i {
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.graphic-element i.fading-out {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
}

.graphic-element i.fading-in {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Outer dashed ring — rotates clockwise */
.graphic-element::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px dashed rgba(208, 167, 71, 0.3);
    animation: rotate 30s linear infinite;
}

/* Second inner ring — rotates counter-clockwise */
.graphic-element::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    border-radius: 50%;
    border: 1px dashed rgba(208, 167, 71, 0.12);
    animation: rotate 50s linear infinite reverse;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   Stats
========================================= */
.stats {
    padding: 0 0 6rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.stat-label {
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* =========================================
   Responsive Variables
========================================= */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .header .btn-primary {
        display: none;
    }

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

    /* Mobile Menu Implementation */
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-primary-dark);
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-badge,
    .badge,
    .status-badge {
        white-space: normal;
        text-align: center;
        height: auto;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-badge,
    .badge {
        white-space: normal;
        text-align: center;
        height: auto;
        padding: 8px 12px;
        font-size: 0.75rem;
        max-width: 90%;
        overflow: visible;
    }

    /* Hide the decorative orbital hero graphic on mobile - it fills the screen */
    .hero-image-wrapper {
        display: none;
    }
}

/* =========================================
   Global Section Styles
========================================= */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-title {
    font-size: 2.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.w-100 {
    width: 100%;
    display: block;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Sobre Section
========================================= */
.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-image {
    position: relative;
    border-radius: 20px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(208, 167, 71, 0.1), rgba(208, 167, 71, 0.02));
    border: 1px solid rgba(208, 167, 71, 0.2);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: var(--color-accent);
    /* Prepare for background image slider */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 7 Images Slideshow Animation (Total 28s -> 4s per image) */
.sobre-gallery-slider {
    animation: sobreBgSlider 28s infinite alternate ease-in-out;
}

@keyframes sobreBgSlider {

    0%,
    12% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/025__MG_9020_opt.jpg');
    }

    15%,
    26% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/032__MG_9027_opt.jpg');
    }

    29%,
    40% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/041__MG_9036_opt.jpg');
    }

    43%,
    54% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/203__MG_9201_opt.jpg');
    }

    57%,
    68% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/210__MG_9208_opt.jpg');
    }

    71%,
    82% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/211__MG_9209_opt.jpg');
    }

    85%,
    100% {
        background-image: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)), url('../images/215__MG_9213_opt.jpg');
    }
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.ex-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.ex-text {
    font-weight: 600;
    line-height: 1.2;
    font-size: 0.9rem;
}

.sobre-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sobre-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
}

.sobre-list li i {
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* =========================================
   Timeline Storytelling (Sobre Mim)
========================================= */
.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem 0;
}

/* Base Central Vertical Line */
.story-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, rgba(208, 167, 71, 0.1), var(--color-accent), rgba(208, 167, 71, 0.1));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-row::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 4px solid var(--color-bg);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(208, 167, 71, 0.2);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.timeline-media {
    width: 45%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-row.reverse {
    flex-direction: row-reverse;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.timeline-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-primary-light);
    border: 1px solid rgba(208, 167, 71, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
    font-size: 3rem;
    gap: 1rem;
}

.timeline-placeholder span {
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text-muted);
}

.timeline-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 1px solid rgba(208, 167, 71, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.timeline-img.center-focus {
    object-position: center;
}

.timeline-img:hover {
    transform: scale(1.02);
    border-color: var(--color-accent);
}

@media (max-width: 768px) {
    .story-timeline::after {
        left: 31px;
    }

    .timeline-row,
    .timeline-row.reverse {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
        gap: 2rem;
    }

    .timeline-row::after {
        left: 31px;
        top: 40px;
        transform: translate(-50%, 0);
    }

    .timeline-content,
    .timeline-media {
        width: 100%;
    }
}

/* =========================================
   Serviços Section
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--color-surface-hover);
    border-color: rgba(208, 167, 71, 0.3);
    box-shadow: var(--shadow-md);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(208, 167, 71, 0.1);
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* =========================================
   Produtos Section
========================================= */
.produtos {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-dark) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-img {
    height: 200px;
    background: var(--color-primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

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

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(0deg, var(--color-surface) 0%, transparent 100%);
}

.product-content {
    padding: 2.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* =========================================
   Contact CTA Section
========================================= */
.cta {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(208, 167, 71, 0.15) 0%, rgba(5, 14, 26, 0) 70%);
    z-index: -1;
    filter: blur(50px);
}

.cta-content {
    background: rgba(21, 44, 82, 0.3);
    border: 1px solid rgba(208, 167, 71, 0.3);
    padding: 5rem 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.cta .section-title {
    margin-bottom: 1.5rem;
}

.cta .section-desc {
    max-width: 600px;
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.2rem;
}

/* =========================================
   Footer
========================================= */
.footer {
    background: var(--color-primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6rem;
}

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

.footer-desc {
    color: var(--color-text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-muted);
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   Content Gallery (YouTube & Instagram)
========================================= */
.gallery-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.youtube-highlight {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.youtube-highlight:hover {
    border-color: rgba(208, 167, 71, 0.2);
    box-shadow: var(--shadow-md);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.youtube-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.instagram-moodboard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex-grow: 1;
}

.moodboard-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1;
}

.moodboard-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(208, 167, 71, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-overlay i {
    color: var(--color-primary-dark);
    font-size: 2.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.moodboard-item:hover .insta-overlay {
    opacity: 1;
}

.moodboard-item:hover .insta-overlay i {
    transform: translateY(0);
}

/* =========================================
   Internal Pages (Multi-Page Expansion)
========================================= */
.page-header {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 5rem;
    background: linear-gradient(180deg, rgba(5, 14, 26, 0.8) 0%, var(--color-bg) 100%);
    overflow: hidden;
}

.page-header .hero-bg-glow {
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
}

.page-header .hero-subtitle {
    margin-bottom: 0;
    max-width: 600px;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.d-inline {
    display: inline-flex !important;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.service-detail-row {
    display: flex;
    flex-direction: column;
    padding: 4rem;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    margin-bottom: 3rem;
    position: relative;
}

.service-detail-row:hover {
    border-color: rgba(208, 167, 71, 0.2);
    box-shadow: var(--shadow-md);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

.premium-card {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-color: rgba(208, 167, 71, 0.3);
}

.premium-card .product-img {
    background: rgba(5, 14, 26, 0.5);
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.product-features li i {
    color: var(--color-accent);
}

.text-white {
    color: #FFF;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6);
}

/* Forms */
.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-lista {
    margin-top: 3rem;
}

.contato-lista li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.c-icon {
    width: 50px;
    height: 50px;
    background: rgba(208, 167, 71, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contato-form-wrapper {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contato-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 14, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(208, 167, 71, 0.2);
}

/* =========================================
   Animations & Reveal Effects
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* Premium Glassmorphism */
.glass-panel,
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gold-glow {
    position: relative;
}
.gold-glow::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(208, 167, 71, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: inherit;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}
.gold-glow:hover::before {
    opacity: 1;
}

/* Enhanced Body Ambient Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(208, 167, 71, 0.03) 0%, transparent 40%);
    animation: rotateAmbient 40s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes rotateAmbient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   Responsive Additional
========================================= */
@media (max-width: 992px) {

    .sobre-container,
    .contato-container {
        grid-template-columns: 1fr;
    }

    .sobre-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .gallery-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

}

/* =========================================
   PREMIUM ANIMATION PACK
   All pages — Rich Micro-interactions
========================================= */

/* ── 1. Page Entry Fade-in ── */
body {
    animation: pageFadeIn 0.6s ease both;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── 2. Floating Particles & Orbs Wrappers (canvas-free) ── */
.particles-wrap,
.orbs-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(208, 167, 71, 0.6) 0%, transparent 70%);
    animation: particleDrift linear infinite;
    opacity: 0;
}

@keyframes particleDrift {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* ── 3. Card Shimmer Sweep on Hover ── */
.service-card,
.product-card,
.service-detail-row {
    overflow: hidden;
}

.service-card::after,
.product-card::after,
.service-detail-row::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.06) 50%,
            transparent 80%);
    transform: skewX(-15deg);
    transition: left 0.7s ease;
}

.service-card:hover::after,
.product-card:hover::after,
.service-detail-row:hover::after {
    left: 150%;
}

/* ── 4. Floating WhatsApp CTA Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: waPulse 2.5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
    animation-play-state: paused;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulseRing 2.5s ease-in-out infinite;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.25);
    animation: waPulseRing 2.5s ease-in-out infinite 0.4s;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

@keyframes waPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ── 5. Background Watermark Logo ── */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: auto;
    opacity: 0.03;
    /* Extremely discreet */
    pointer-events: none;
    /* Do not interfere with clicks */
    z-index: 0;
    user-select: none;
    filter: grayscale(100%) brightness(200%);
    /* Makes it blend cleanly */
}

@media (max-width: 768px) {
    .bg-watermark {
        width: 200px;
    }
}

/* ── 6. Animated CTA Section Border ── */
.cta-content {
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from var(--angle, 0deg),
            transparent 20%,
            rgba(208, 167, 71, 0.6) 40%,
            rgba(208, 167, 71, 1) 50%,
            rgba(208, 167, 71, 0.6) 60%,
            transparent 80%);
    animation: borderSpin 6s linear infinite;
    z-index: -1;
    padding: 2px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

@keyframes borderSpin {
    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── 6. Badge Glow Pulse ── */
.badge,
.status-badge,
.product-category {
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(208, 167, 71, 0.3);
    }

    50% {
        text-shadow: 0 0 15px rgba(208, 167, 71, 0.8), 0 0 25px rgba(208, 167, 71, 0.3);
    }
}

/* ── 7. Stats Number Pop ── */
.stat-number {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(208, 167, 71, 0.5);
}

.stat-number.counting {
    animation: statPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statPop {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── 8. Typing Cursor on Hero ── */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--color-accent);
    margin-left: 2px;
    vertical-align: middle;
    animation: blinkCursor 1s step-end infinite;
    border-radius: 2px;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── 9. Floating Orbs in Section Backgrounds ── */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    animation: orbFloat ease-in-out infinite alternate;
}

.orb-gold {
    background: radial-gradient(circle, #D0A747, transparent);
    animation-duration: 8s;
}

.orb-blue {
    background: radial-gradient(circle, #152C52, transparent);
    animation-duration: 11s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(30px, -40px) scale(1.15);
    }
}

/* ── 10. Icon Wiggle on Card Hover ── */
.service-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.2);
}

/* ── 11. Gradient Shimmer Text (headings) ── */
.section-title .text-gradient,
.hero-title .text-gradient {
    background-size: 200% 100%;
    animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* ── 12. Social Links Ripple ── */
.social-links a {
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 50%;
    background: rgba(208, 167, 71, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.5s ease;
}

.social-links a:hover::before {
    inset: 0;
    transform: scale(1);
}

/* ── 13. Footer Brand Word Float ── */
.footer-desc {
    animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ── 14. Input Focus Animated Underline ── */
.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(208, 167, 71, 0.15), 0 0 20px rgba(208, 167, 71, 0.1);
    transform: translateY(-1px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 15. Service Detail Row Animated Left Border ── */
.service-detail-row {
    border-left: 3px solid transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-detail-row:hover {
    border-left-color: var(--color-accent);
    transform: translateX(6px);
}