/* ===================================
   WebDep Agency - Main Stylesheet
   Version: 1.0.0
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   1. CSS Variables (Design System)
   =================================== */
:root {
    /* Colors */
    --color-primary: #FF0000;
    --color-secondary: #000000;
    --color-white: #FFFFFF;
    --color-bg-light: #FFFFFF;
    --color-bg-dark: #0a0a0a;
    --color-gray: #1f1f1f;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);

    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-subtitle: 'Antonio', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Font Sizes - Fluid Typography */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
    --fs-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --fs-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
    --fs-5xl: clamp(3rem, 2rem + 5vw, 6rem);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Shadows */
    --shadow-brutal: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    --shadow-brutal-white: 4px 4px 0px 0px rgba(255, 255, 255, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;

    /* Breakpoints */
    --bp-mobile: 320px;
    --bp-tablet: 768px;
    --bp-desktop: 1920px;

    /* Z-index */
    --z-negative: -1;
    --z-normal: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Force Light Mode Only - Ignora preferência do navegador/SO */
:root {
    color-scheme: light only;
    --color-bg: var(--color-bg-light);
    --color-text: var(--color-secondary);
    --color-surface: var(--color-gray-50);
}

/* ===================================
   2. Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    transition: background-color var(--transition-base), color var(--transition-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

/* ===================================
   3. Typography
   =================================== */
.font-display {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.font-subtitle {
    font-family: var(--font-subtitle);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--color-primary);
}

/* ===================================
   4. Layout
   =================================== */
.container {
    width: 100%;
    max-width: 1440px; /* Aumentado para o site ficar mais largo/esticado */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md); /* Reduzido o padding lateral para o logo ir mais pra esquerda */
    }
}

.section {
    padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

/* ===================================
   5. Components - Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.4);
    /* Glassmorphism translucidez */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Borda fina clara */
    color: var(--color-white);
    padding: 1rem 0; /* Espaço pro logo não colar no topo */
    z-index: var(--z-fixed);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-parallax] {
    will-change: transform;
    transition: transform 0.1s cubic-bezier(0, 0, 0, 1);
}

/* WordPress Admin Bar Fix */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

.header.scrolled {
    padding: 0;
    height: auto;
    background: rgba(10, 10, 10, 0.85);
    /* Mais escuro ao descer */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav {
    height: 4rem;
}

.header .nav__logo img {
    height: 50px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.header.scrolled .nav__logo img {
    height: 35px;
    /* Reduz o logo */
}

.header.scrolled .btn {
    padding: 0.6rem 1.5rem;
    font-size: var(--fs-base);
}

@media (min-width: 768px) {
    .header.scrolled {
        height: 4.5rem;
    }

    .header.scrolled .nav {
        height: 4.5rem;
    }
}

html.dark .header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--color-gray-800);
}

.nav {
    display: flex;
    justify-content: space-between; /* Retorna ao padrão (logo esquerda, toggle direita) no mobile */
    align-items: center;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav {
        height: 5rem;
    }
}

@media (min-width: 1024px) {
    .nav {
        justify-content: flex-start; 
        gap: clamp(3rem, 10vw, 8rem); /* Distância controlada entre o logo e o começo do menu ("Sobre") */
    }
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: var(--z-fixed);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewX(-10deg);
}

@media (min-width: 768px) {
    .logo-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.logo-icon span {
    color: var(--color-white);
    font-family: var(--font-subtitle);
    font-size: var(--fs-lg);
    font-weight: 700;
    transform: skewX(10deg);
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: var(--fs-3xl);
    }
}

.logo-highlight {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0 0.25rem;
}

html.dark .logo-highlight {
    background: var(--color-white);
    color: var(--color-secondary);
}

/* Mobile Menu */
.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-secondary);
    /* Fixed: White menu issue */
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-base);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.nav__menu.show {
    right: 0;
}

@media (min-width: 1024px) {
    .nav__menu {
        position: static;
        flex: 1; /* Ocupa todo o resto do espaço */
        justify-content: space-between; /* Separa a lista do botão */
        max-width: none; /* Remove restrição herdada do mobile */
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .nav__list {
        margin-right: 0; /* zera margens artificiais adicionais */
    }
}

@media (min-width: 1200px) {
    .nav__menu {
        gap: var(--spacing-md);
    }
    .nav__list {
        margin-right: 0;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .nav__list {
        flex-direction: row;
        gap: var(--spacing-sm);
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .nav__list {
        gap: var(--spacing-md);
    }
}

.nav__link {
    font-weight: 500;
    font-size: var(--fs-lg);
    transition: color var(--transition-fast);
}

@media (min-width: 1024px) {
    .nav__link {
        font-size: 0.95rem;
    }
}

@media (min-width: 1200px) {
    .nav__link {
        font-size: var(--fs-base);
    }
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__toggle {
    z-index: var(--z-fixed);
    padding: var(--spacing-xs);
    color: var(--color-white);
}

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

/* ===================================
   6. Components - Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    /* Impede quebra de linha do botão */
}

@media (min-width: 768px) {
    .btn {
        font-size: var(--fs-lg);
    }
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-brutal);
}

html.dark .btn--primary {
    box-shadow: var(--shadow-brutal-white);
}

.btn--primary:hover {
    background: #cc0000;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

html.dark .btn--primary:hover {
    box-shadow: 2px 2px 0px 0px rgba(255, 255, 255, 1);
}

.btn--black {
    background: var(--color-secondary);
    color: var(--color-white);
}

html.dark .btn--black {
    background: var(--color-white);
    color: var(--color-secondary);
}

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

html.dark .btn--black:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

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

html.dark .btn--outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

html.dark .btn--outline:hover {
    background: var(--color-white);
    color: var(--color-secondary);
}

.btn--cta {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--cta:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--submit {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2.5rem;
}

@media (min-width: 768px) {
    .btn--submit {
        width: auto;
    }
}

.btn--submit:hover {
    background: #cc0000;
}

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

@media (min-width: 768px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

.hero__bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    opacity: 0.1;
    transform: translateY(var(--parallax-y, 0px)) skewX(-20deg) translateX(25%);
    z-index: var(--z-negative);
}

html.dark .hero__bg-decoration {
    opacity: 0.2;
}

@media (min-width: 768px) {
    .hero__bg-decoration {
        width: 50%;
    }
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: var(--z-normal);
}

@media (min-width: 768px) {
    .hero__content {
        text-align: left;
        max-width: 66.666%;
    }
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-subtitle);
    font-size: var(--fs-base);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero__badge {
        font-size: var(--fs-lg);
        margin-bottom: var(--spacing-lg);
    }
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: var(--fs-5xl);
        margin-bottom: var(--spacing-lg);
    }
}

.hero__description {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-weight: 300;
}

html.dark .hero__description {
    color: var(--color-gray-300);
}

@media (min-width: 768px) {
    .hero__description {
        font-size: var(--fs-lg);
        margin: 0 0 var(--spacing-2xl);
    }
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero__buttons {
        flex-direction: row;
    }
}

.hero__decorative-bars {
    display: none;
}

@media (min-width: 1024px) {
    .hero__decorative-bars {
        display: flex;
        gap: 1rem;
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translateY(var(--parallax-y, 0px)) rotate(-12deg) translateY(25%) translateX(2.5rem);
        opacity: 0.8;
        z-index: var(--z-negative);
    }
}

.bar {
    width: 6rem; /* Aumentado de 4rem para 6rem */
    height: 32rem; /* Aumentado de 16rem para 32rem */
    background: var(--color-secondary);
    animation: float-bar 6s ease-in-out infinite;
}

@keyframes float-bar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2rem); }
}

html.dark .bar {
    background: var(--color-white);
}

.bar--1 {
    margin-top: 0;
    animation-delay: 0s;
}

.bar--2 {
    margin-top: 4.5rem; /* Ajustado proporcionalmente */
    background: var(--color-primary);
    animation-delay: -2s; /* Descompasso para efeito orgânico */
}

.bar--3 {
    margin-top: 9rem; /* Ajustado proporcionalmente */
    animation-delay: -4s; /* Descompasso para efeito orgânico */
}

/* ===================================
   8. Components - Marquee
   =================================== */
.marquee {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0.75rem 0;
    overflow: hidden;
    border-top: 4px solid var(--color-primary);
    border-bottom: 4px solid var(--color-primary);
}

@media (min-width: 768px) {
    .marquee {
        padding: 1rem 0;
    }
}

.marquee__content {
    display: flex;
    gap: 2rem;
    font-family: var(--font-subtitle);
    font-size: var(--fs-xl);
    text-transform: uppercase;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@media (min-width: 768px) {
    .marquee__content {
        font-size: var(--fs-3xl);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   9. Components - About Section
   =================================== */
.about {
    background: var(--color-gray-50);
}

html.dark .about {
    background: #0f0f0f;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 4 / 3;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(125%);
    transition: filter var(--transition-slow);
}

.about__image:hover img {
    filter: none;
}

.about__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    animation: spin-slow 10s linear infinite;
}

html.dark .about__badge {
    background: var(--color-secondary);
}

@media (min-width: 768px) {
    .about__badge {
        width: 8rem;
        height: 8rem;
        bottom: -2.5rem;
        right: -2.5rem;
    }
}

.badge-svg {
    width: 100%;
    height: 100%;
}

.badge-text {
    fill: currentColor;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .badge-text {
        font-size: 12px;
    }
}

.badge-icon {
    position: absolute;
    color: var(--color-primary);
    font-size: 2rem;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.section__title {
    font-family: var(--font-subtitle);
    font-size: var(--fs-3xl);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .section__title {
        font-size: var(--fs-4xl);
        margin-bottom: var(--spacing-md);
    }
}

.about__text {
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

html.dark .about__text {
    color: var(--color-gray-400);
}

@media (min-width: 768px) {
    .about__text {
        font-size: var(--fs-lg);
    }
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

@media (min-width: 768px) {
    .about__stats {
        gap: var(--spacing-lg);
        margin: var(--spacing-lg) 0;
    }
}

.stat__number {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
}

@media (min-width: 768px) {
    .stat__number {
        font-size: var(--fs-4xl);
    }
}

.stat__label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .stat__label {
        font-size: var(--fs-sm);
    }
}

.link-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-base);
    transition: opacity var(--transition-fast);
}

@media (min-width: 768px) {
    .link-primary {
        font-size: var(--fs-lg);
    }
}

.link-primary:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===================================
   10. Components - Services Section
   =================================== */
.section__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .section__header {
        margin-bottom: var(--spacing-2xl);
    }
}

.section__subtitle {
    font-family: cursive;
    font-style: italic;
    font-size: var(--fs-2xl);
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
    .section__subtitle {
        font-size: var(--fs-3xl);
    }
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

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

.service-card {
    background: var(--color-gray-50);
    padding: var(--spacing-md);
    border-bottom: 4px solid transparent;
    transition: all var(--transition-base);
}

html.dark .service-card {
    background: #151515;
}

@media (min-width: 768px) {
    .service-card {
        padding: var(--spacing-lg);
    }
}

.service-card:hover {
    border-bottom-color: var(--color-primary);
    transform: translateY(-4px);
}

.service-card--featured {
    background: var(--gradient-brand);
    color: var(--color-white);
    border-bottom: 4px solid var(--color-secondary);
}

html.dark .service-card--featured {
    border-bottom-color: var(--color-white);
}

.service-card__icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-lg);
}

html.dark .service-card__icon {
    background: var(--color-white);
    color: var(--color-secondary);
}

.service-card--featured .service-card__icon {
    background: var(--color-white);
    color: var(--color-primary);
}

.service-card__title {
    font-family: var(--font-subtitle);
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .service-card__title {
        font-size: var(--fs-2xl);
    }
}

.service-card__description {
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-600);
}

html.dark .service-card__description {
    color: var(--color-gray-400);
}

.service-card--featured .service-card__description {
    color: rgba(255, 255, 255, 0.9);
}

.service-card__list {
    font-size: var(--fs-xs);
    color: var(--color-gray-500);
    line-height: 1.8;
}

html.dark .service-card__list {
    color: var(--color-gray-500);
}

.service-card--featured .service-card__list {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   11. Components - CTA Section
   =================================== */
.cta {
    background: var(--color-secondary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/diagmonds-light.png');
    opacity: 0.3;
}

.cta__content {
    position: relative;
    z-index: var(--z-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .cta__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta__title {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

@media (min-width: 768px) {
    .cta__title {
        font-size: var(--fs-4xl);
    }
}

.cta__description {
    color: var(--color-gray-400);
    font-size: var(--fs-base);
}

@media (min-width: 768px) {
    .cta__description {
        font-size: var(--fs-lg);
    }
}

/* ===================================
   12. Components - Clients Section
   =================================== */
.clients {
    background: var(--color-gray-100);
}

html.dark .clients {
    background: #0a0a0a;
}

.clients__label {
    text-align: center;
    font-family: var(--font-display);
    color: var(--color-gray-500);
    letter-spacing: 0.1em;
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .clients__label {
        font-size: var(--fs-base);
        margin-bottom: var(--spacing-xl);
    }
}

/* Marquee container — overflow hidden para criar o carrossel */
.clients__marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

/* Grid animado — flex nowrap com animação infinita */
.clients__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-xl);
    animation: scroll-clients 30s linear infinite;
    width: max-content;
}

@media (min-width: 768px) {
    .clients__grid {
        gap: var(--spacing-2xl);
    }
}

/* Pausa no hover */
.clients__marquee:hover .clients__grid {
    animation-play-state: paused;
}

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

.client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-gray-800);
    flex-shrink: 0;
    white-space: nowrap;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
    padding: 0 var(--spacing-xs);
}

.client:hover {
    filter: grayscale(0%);
    opacity: 1;
}

html.dark .client {
    color: var(--color-gray-300);
}

@media (min-width: 768px) {
    .client {
        font-size: var(--fs-2xl);
    }
}

.client img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .client img {
        max-height: 80px;
        max-width: 200px;
    }
}

/* ===================================
   13. Components - Contact Section
   =================================== */
.contact {
    position: relative;
}

.contact__bg {
    display: none;
}

@media (min-width: 1024px) {
    .contact__bg {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 33.333%;
        background: var(--color-gray-50);
    }

    html.dark .contact__bg {
        background: #111;
    }
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    z-index: var(--z-normal);
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 2fr;
        gap: var(--spacing-2xl);
    }
}

.contact__info {
    background: var(--color-gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

html.dark .contact__info {
    background: #111;
}

@media (min-width: 768px) {
    .contact__info {
        padding: var(--spacing-xl);
    }
}

@media (min-width: 1024px) {
    .contact__info {
        background: transparent;
        border-radius: 0;
    }
}

.contact__title {
    font-family: var(--font-subtitle);
    font-size: var(--fs-3xl);
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .contact__title {
        font-size: var(--fs-4xl);
        margin-bottom: var(--spacing-xl);
    }
}

.contact__item {
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .contact__item {
        margin-bottom: var(--spacing-xl);
    }
}

.contact__label {
    font-family: var(--font-display);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-xs);
}

.contact__link {
    font-size: var(--fs-lg);
    font-weight: 500;
    transition: color var(--transition-fast);
}

@media (min-width: 768px) {
    .contact__link {
        font-size: var(--fs-xl);
    }
}

.contact__link:hover {
    color: var(--color-primary);
}

.contact__text {
    font-size: var(--fs-base);
    color: var(--color-gray-700);
    line-height: 1.6;
}

html.dark .contact__text {
    color: var(--color-gray-300);
}

@media (min-width: 768px) {
    .contact__text {
        font-size: var(--fs-lg);
    }
}

.contact__social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .contact__social {
        margin-top: var(--spacing-xl);
    }
}

/* ===================================
   13b. Components - Why WebDep Section
   =================================== */
.why-webdep {
    background: var(--color-gray-900);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.why-webdep__content {
    max-width: 800px;
    margin: 0 auto;
}

.why-webdep__text {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-md);
}

.why-webdep__highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .why-webdep__text {
        font-size: var(--fs-xl);
    }
}

/* ===================================
   13c. Components - Mission Section
   =================================== */
.mission {
    background-color: var(--color-gray-50);
}

html.dark .mission {
    background-color: #0f0f0f;
}

.mission__content {
    max-width: 800px;
    margin: 0 auto;
}

.mission__highlight {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

html.dark .mission__highlight {
    background: rgba(255, 255, 255, 0.03);
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all var(--transition-base);
}

html.dark .social-link {
    background: var(--color-white);
    color: var(--color-secondary);
}

.social-link:hover {
    background: var(--color-primary);
}

html.dark .social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-2xl);
    border-top: 8px solid var(--color-primary);
    border-radius: var(--radius-lg);
}

html.dark .contact__form-wrapper {
    background: #1a1a1a;
}

@media (min-width: 768px) {
    .contact__form-wrapper {
        padding: var(--spacing-2xl);
        border-radius: 0;
    }
}

.form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

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

.form__group {
    margin-bottom: var(--spacing-lg);
}

.form__label {
    display: block;
    font-family: var(--font-display);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-xs);
}

.form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-gray-50);
    border: none;
    border-bottom: 2px solid var(--color-gray-200);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    transition: all var(--transition-base);
}

html.dark .form__input {
    background: #252525;
    border-bottom-color: var(--color-gray-700);
}

.form__input:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.form__input::placeholder {
    color: var(--color-gray-400);
}

/* ===================================
   14. Components - Footer
   =================================== */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-gray-900);
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-3xl) 0 var(--spacing-xl);
    }
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-2xl);
    }
}

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer__logo {
        font-size: var(--fs-4xl);
        margin-bottom: var(--spacing-lg);
    }
}

.footer__description {
    color: var(--color-gray-400);
    max-width: 400px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .footer__description {
        font-size: var(--fs-base);
    }
}

.footer__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer__title {
        margin-bottom: var(--spacing-lg);
    }
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .footer__list {
        gap: var(--spacing-md);
    }
}

.footer__list a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
    font-size: var(--fs-sm);
}

@media (min-width: 768px) {
    .footer__list a {
        font-size: var(--fs-base);
    }
}

.footer__list a:hover {
    color: var(--color-white);
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__copyright {
    color: var(--color-gray-600);
    font-size: var(--fs-xs);
}

@media (min-width: 768px) {
    .footer__copyright {
        font-size: var(--fs-sm);
    }
}

.logo-icon--small {
    width: 1.5rem;
    height: 1.5rem;
}

/* ===================================
   15. Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* ===================================
   16. Accessibility
   =================================== */
/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to Main Content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   16. Team Preview (Link com Fotos)
   =================================== */
.team-preview {
    display: flex !important;
    align-items: center;
    gap: 1rem;
}

.team-preview__photos {
    display: flex;
    margin-right: 0.5rem;
}

.team-preview__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
    transition: transform var(--transition-base);
}

.team-preview__photo:first-child {
    margin-left: 0;
}

.team-preview:hover .team-preview__photo {
    transform: translateY(-4px);
}

.team-preview__text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================================
   17. CTA Section - Social Icons
   =================================== */
.cta__social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta__social-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.cta__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.cta__social-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-4px);
}

.cta__social-link .material-icons {
    font-size: 24px;
}

/* ===================================
   18. Newsletter Section (Compacta)
   =================================== */
.newsletter {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 !important;
    /* Reduzido de 6rem */
}

.newsletter.section--compact {
    padding: 3rem 0 !important;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,0,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.newsletter__content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter__header {
    text-align: center;
    margin-bottom: 2rem;
    /* Reduzido */
}

.newsletter__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    /* Reduzido */
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.newsletter__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    /* Melhor contraste */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter__form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.newsletter__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.8fr auto;
    gap: 1rem;
    align-items: center;
}

.newsletter__phone-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter__country-select {
    width: auto;
    min-width: 100px;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.newsletter__input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.newsletter__input--phone {
    flex: 1;
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* Melhor contraste */
}

.newsletter__input:focus,
.newsletter__country-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter__btn {
    white-space: nowrap;
    padding: 1rem 2rem;
}

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

    .newsletter__phone-group {
        grid-column: span 2;
    }

    .newsletter__btn {
        grid-column: span 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .newsletter__grid {
        grid-template-columns: 1fr;
    }

    .newsletter__phone-group,
    .newsletter__btn {
        grid-column: 1;
    }

    .newsletter__form {
        padding: 1.5rem;
    }
}

/* ===================================
   18B.Contact Form - Phone with DDI
   =================================== */
.phone-input-wrapper {
    display: flex;
    gap: 0.75rem;
}

.phone-input__country-select {
    width: auto;
    min-width: 110px;
    padding: 1rem 0.75rem;
    background: var(--color-bg-input, #f8f9fa);
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.phone-input__country-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form__input--phone {
    flex: 1;
}

@media (max-width: 480px) {
    .phone-input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-input__country-select {
        width: 100%;
    }
}

/* ===================================
   19. Contact Section - Social Icons  
   =================================== */
.contact__social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    color: var(--color-primary);
    transition: all var(--transition-base);
    font-size: 1rem;
    font-weight: 600;
}

.social-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-4px);
}

.social-link .material-icons {
    font-size: 24px;
}

/* ===================================
   20. Team Modal
   =================================== */
.team-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}


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

.team-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    animation: fadeIn 0.3s ease-out;
}

.team-modal__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    overflow-y: auto;
    z-index: var(--z-modal);
    animation: slideUp 0.4s ease-out;
}

html.dark .team-modal__content {
    background: var(--color-gray-900);
}

.team-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
}

.team-modal__close:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

.team-modal__container {
    padding: 3rem 2rem;
}

@media (min-width: 768px) {
    .team-modal__container {
        padding: 4rem;
    }
}

.team-modal__title {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.team-modal__subtitle {
    text-align: center;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--fs-lg);
}

html.dark .team-modal__subtitle {
    color: var(--color-gray-400);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
}

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

.team-member {
    background: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
    transition: all var(--transition-base);
    overflow: hidden;
}

html.dark .team-member {
    background: var(--color-gray-800);
    border-color: var(--color-gray-700);
}

.team-member:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-member__image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-member:hover .team-member__image img {
    transform: scale(1.05);
}

.team-member__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-member:hover .team-member__overlay {
    opacity: 1;
}

.team-member__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.team-member__btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.team-member__info {
    padding: 1.5rem;
}

.team-member__name {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.team-member__role {
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--fs-base);
    margin-bottom: 0.75rem;
}

.team-member__bio {
    color: var(--color-gray-600);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

html.dark .team-member__bio {
    color: var(--color-gray-400);
}

.member-detail-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: calc(var(--z-modal) + 10);
}

.member-detail-modal.active {
    display: flex;
}

.member-detail-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    animation: fadeIn 0.3s ease-out;
}

.member-detail-modal__content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--color-bg);
    border: 3px solid var(--color-primary);
    overflow-y: auto;
    z-index: var(--z-modal);
    animation: zoomIn 0.4s ease-out;
}

html.dark .member-detail-modal__content {
    background: var(--color-gray-900);
}

.member-detail-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
}

.member-detail-modal__close:hover {
    background: #cc0000;
    transform: rotate(90deg) scale(1.1);
}

.member-detail {
    padding: 2rem;
}

@media (min-width: 768px) {
    .member-detail {
        padding: 3rem;
    }
}

.member-detail__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.member-detail__image {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    overflow: hidden;
}

@media (min-width: 768px) {
    .member-detail__image {
        width: 200px;
        height: 200px;
    }
}

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

.member-detail__name {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.member-detail__role {
    color: var(--color-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.member-detail__bio {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-lg);
}

html.dark .member-detail__bio {
    color: var(--color-gray-300);
}

.member-detail__section {
    margin-bottom: var(--spacing-xl);
}

.member-detail__section-title {
    font-family: var(--font-subtitle);
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    text-transform: uppercase;
}

.member-detail__list {
    list-style: none;
    padding: 0;
}

.member-detail__list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

html.dark .member-detail__list li {
    border-bottom-color: var(--color-gray-700);
}

.member-detail__list li:last-child {
    border-bottom: none;
}

.member-detail__list li .material-icons {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.member-detail__social {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.member-detail__social a {
    width: 3rem;
    height: 3rem;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

html.dark .member-detail__social a {
    background: var(--color-gray-800);
}

.member-detail__social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-4px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   18. Print Styles
   =================================== */
@media print {

    .header,
    .nav__toggle,
    .marquee,
    .cta,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}

/* ===================================
   Toast Notifications
   =================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    pointer-events: none;
}

.toast {
    background: #fff;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: all;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast__icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast__content {
    flex: 1;
}

.toast__message {
    font-size: 0.95rem;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 0;
}

.toast--success {
    border-left-color: #10b981;
}

.toast--success .toast__icon {
    color: #10b981;
}

.toast--error {
    border-left-color: #ef4444;
}

.toast--error .toast__icon {
    color: #ef4444;
}

.toast--info {
    border-left-color: #3b82f6;
}

.toast--info .toast__icon {
    color: #3b82f6;
}

.toast--warning {
    border-left-color: #f59e0b;
}

.toast--warning .toast__icon {
    color: #f59e0b;
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* ===================================
   Status Modal (Success/Confirm)
   =================================== */
.status-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.status-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.status-modal__content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--color-bg);
    border: 3px solid var(--color-primary);
    padding: 3rem 2rem;
    text-align: center;
    z-index: 10;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.dark .status-modal__content {
    background: var(--color-gray-900);
}

.status-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-base);
}

.status-modal__close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.status-modal__icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.status-modal__icon span {
    font-size: 48px;
}

.status-modal__title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.status-modal__message {
    color: var(--color-gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

html.dark .status-modal__message {
    color: var(--color-gray-400);
}

#status-modal-btn {
    min-width: 150px;
}

/* ===================================
   EXIT-INTENT POPUP
   =================================== */

/* Overlay */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Card Container */
.exit-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 9999;
    width: 90%;
    max-width: 720px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s ease;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.exit-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Gradient accent bar at bottom */
.exit-popup::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #ff4444 50%, var(--color-primary) 100%);
    background-size: 200% 100%;
    animation: shimmer-bar 3s linear infinite;
}

@keyframes shimmer-bar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Inner layout */
.exit-popup__inner {
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 768px) {
    .exit-popup__inner {
        flex-direction: row;
    }
}

/* Close button */
.exit-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.exit-popup__close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: var(--color-white);
    border-color: rgba(255, 0, 0, 0.4);
    transform: rotate(90deg);
}

/* Image side */
.exit-popup__image {
    flex: 0 0 auto;
    width: 100%;
    max-height: 200px;
    overflow: hidden;
}

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

@media (min-width: 768px) {
    .exit-popup__image {
        width: 260px;
        max-height: none;
        min-height: 320px;
    }
}

/* Content side */
.exit-popup__content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.exit-popup__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.exit-popup__subtitle {
    font-family: var(--font-subtitle);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 600;
}

.exit-popup__text {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* CTA Button */
.exit-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.exit-popup__cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.exit-popup__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.exit-popup__cta:hover::before {
    opacity: 1;
}

/* CTA arrow animation */
.exit-popup__cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.exit-popup__cta:hover .exit-popup__cta-arrow {
    transform: translateX(4px);
}

/* Pulse animation for CTA */
@keyframes popup-cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(255, 0, 0, 0.15); }
}

.exit-popup__cta {
    animation: popup-cta-pulse 2.5s ease-in-out infinite;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .exit-popup {
        max-width: 92%;
        max-height: 85vh;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
    }

    .exit-popup__inner {
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .exit-popup__image {
        max-height: 35vh;
        min-height: 140px;
        flex-shrink: 0;
    }

    .exit-popup__content {
        padding: 1.25rem 1.5rem 1.5rem;
        text-align: center;
        gap: 0.5rem;
    }

    .exit-popup__title {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }

    .exit-popup__subtitle {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    }

    .exit-popup__text {
        font-size: var(--fs-xs);
        line-height: 1.5;
    }

    .exit-popup__cta {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: var(--fs-xs);
    }

    .exit-popup__close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.2);
        color: var(--color-white);
    }
}
/* ==========================================================================
   Language Switcher & GTranslate Overrides
   ========================================================================== */

/* Hide the default Google Translate widget and banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important; 
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Custom Language Switcher */
.lang-switcher {
    position: relative;
    z-index: 1000;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lang-switcher__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher__flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-switcher.active .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.lang-switcher__option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

@media screen and (max-width: 992px) {
    .lang-switcher {
        margin: 1rem 0;
        width: 100%;
    }
    .lang-switcher__btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
    .lang-switcher__dropdown {
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0.5rem;
        display: none;
    }
    .lang-switcher.active .lang-switcher__dropdown {
        display: flex;
    }
}

