/* =================================================================
   GESSO POTÊNCIA — DESIGN SYSTEM
   Paleta: Verde Gesso (#008361) + Azul Profundo (#1F1346/#265ab2)
   + WhatsApp Green (#25D366) para CTAs principais
   ================================================================= */

:root {
    /* === CORES PRINCIPAIS === */
    --green-primary: #008361;          /* Verde principal da marca */
    --green-primary-dark: #006247;
    --green-primary-light: #00b090;
    --green-neon: #00ff9d;             /* Verde neon para efeitos */

    --blue-deep: #1F1346;              /* Azul profundo (backgrounds) */
    --blue-primary: #265ab2;           /* Azul principal */
    --blue-bright: #357df9;            /* Azul vibrante */
    --blue-electric: #5025d1;          /* Azul elétrico (acentos) */
    --blue-soft: #e3ebf9;              /* Azul claro (backgrounds) */
    --blue-glow: #8c85ff;              /* Azul lavanda (acentos) */

    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* === NEUTROS === */
    --black: #0a0e1a;
    --dark: #18181a;
    --gray-900: #1f2937;
    --gray-700: #36344d;
    --gray-600: #4b5563;
    --gray-500: #727586;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f2f3f6;
    --white: #ffffff;

    /* === TIPOGRAFIA === */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* === ESPAÇAMENTO === */
    --container: 1280px;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* === SOMBRAS === */
    --shadow-sm: 0 2px 8px rgba(10, 14, 26, 0.06);
    --shadow: 0 8px 24px rgba(10, 14, 26, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 14, 26, 0.15);
    --shadow-neon-green: 0 0 30px rgba(0, 195, 110, 0.4), 0 0 60px rgba(0, 195, 110, 0.2);
    --shadow-neon-blue: 0 0 30px rgba(53, 125, 249, 0.4), 0 0 60px rgba(53, 125, 249, 0.2);

    /* === TRANSIÇÕES === */
    --t-fast: 0.2s ease;
    --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   SKIP-LINK (Acessibilidade)
   ================================================================= */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--blue-deep);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 3px solid var(--green-neon);
    outline-offset: 2px;
}

/* =================================================================
   RESET & BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

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

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* =================================================================
   LAYOUT
   ================================================================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; position: relative; }

/* === Variantes de seção (alterna fundo claro/escuro para leitura) === */
.section--light     { background: var(--white); color: var(--gray-700); }
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--dark); }

.section--dark      { background: var(--blue-deep); color: var(--gray-100); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--darkest   { background: #050714; color: var(--gray-300); }
.section--darkest h2,
.section--darkest h3,
.section--darkest h4 { color: var(--white); }

.section--green {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: var(--white);
}
.section--green h2,
.section--green h3,
.section--green h4 { color: var(--white); }

/* =================================================================
   SECTION HEADS
   ================================================================= */
.section__head { max-width: 720px; margin-bottom: 64px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__kicker {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-primary);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(0, 131, 97, 0.10);
    border-radius: 999px;
    border: 1px solid rgba(0, 131, 97, 0.25);
}

.section__kicker--light {
    color: var(--green-neon);
    background: rgba(0, 255, 157, 0.10);
    border-color: rgba(0, 255, 157, 0.30);
}

.section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section__title--light { color: var(--white); }

.section__subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.6;
}

.section__subtitle--light { color: rgba(255, 255, 255, 0.85); }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--t);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn--primary:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--blue-primary);
    border-color: var(--blue-primary);
}
.btn--outline:hover {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
    background: var(--white);
    color: var(--blue-deep);
}

/* === Botão pulsante === */
.btn--pulse {
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 18px rgba(37, 211, 102, 0);
    }
}

/* =================================================================
   HEADER
   ================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--t);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 76px;
}

.header__logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-bright));
    transition: width var(--t);
}

.header__link:hover { color: var(--green-primary); }
.header__link:hover::after { width: 100%; }

/* Link ativo da página atual */
.header__link--active {
    color: var(--green-primary);
}
.header__link--active::after {
    width: 100%;
}

.header__cta {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-primary-dark));
    color: var(--white);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(0, 131, 97, 0.30);
    transition: all var(--t);
    animation: pulse-green 2.5s infinite;
}
.header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 131, 97, 0.45);
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.header__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--t);
}

/* =================================================================
   TICKER / FAIXA ANIMADA
   ================================================================= */
.ticker {
    margin-top: 76px; /* Compensa header fixo */
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-electric), var(--blue-deep));
    background-size: 200% 100%;
    color: var(--white);
    overflow: hidden;
    max-width: 100vw;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 255, 157, 0.20);
    border-bottom: 1px solid rgba(0, 255, 157, 0.20);
    animation: ticker-bg 8s linear infinite;
    position: relative;
    z-index: 1;
}

@keyframes ticker-bg {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.ticker__track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ticker__icon {
    color: var(--green-neon);
    font-size: 18px;
    text-shadow: 0 0 10px var(--green-neon);
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from { text-shadow: 0 0 8px var(--green-neon); opacity: 0.8; }
    to { text-shadow: 0 0 18px var(--green-neon), 0 0 32px var(--green-neon); opacity: 1; }
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: #050714;
    color: var(--white);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background: #050714;
}

/* === Slideshow de imagens de fundo === */
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    will-change: opacity, transform;
}

.hero__slide--active {
    opacity: 1;
    animation: hero-zoom 8s ease-out forwards;
}

@keyframes hero-zoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

/* Overlay escuro com gradient para contraste do texto */
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.65) 40%, rgba(10, 14, 26, 0.40) 70%, rgba(10, 14, 26, 0.55) 100%),
        linear-gradient(180deg, rgba(10, 14, 26, 0.40) 0%, rgba(10, 14, 26, 0.20) 40%, rgba(10, 14, 26, 0.60) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Grid decorativo sutil por cima do overlay */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 3;
}

/* Dots indicadores do slideshow */
.hero__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.30);
    cursor: pointer;
    transition: all var(--t);
    border: none;
    padding: 0;
}

.hero__dot.active {
    background: var(--green-neon);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 16px var(--green-neon);
}

.hero__dot:hover { background: rgba(255, 255, 255, 0.60); }

@keyframes hero-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* === Marcas d'água (blobs coloridos animados) === */
.hero__watermark {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    will-change: transform;
    pointer-events: none;
    z-index: 1;
}

.hero__watermark img {
    display: none; /* Não usamos as imagens - só os gradients */
}

.hero__watermark--1 {
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-neon) 100%);
    animation: float-watermark-1 18s ease-in-out infinite;
}

.hero__watermark--2 {
    bottom: -150px;
    left: -150px;
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-electric) 100%);
    animation: float-watermark-2 22s ease-in-out infinite;
}

.hero__watermark--3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--green-neon) 0%, var(--blue-bright) 100%);
    opacity: 0.25;
    animation: float-watermark-3 25s ease-in-out infinite;
}

@keyframes float-watermark-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.1); }
    66% { transform: translate(40px, -20px) scale(0.95); }
}

@keyframes float-watermark-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -40px) scale(1.15); }
}

@keyframes float-watermark-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-30%, -60%) scale(1.2); }
}

/* === Grid decorativo sutil === */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 131, 97, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 131, 97, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
}

/* === Partículas flutuantes === */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.hero__particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--green-primary);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 12px var(--green-primary);
    animation: particle-float linear infinite;
    bottom: 0;
}

.hero__particle:nth-child(3n) {
    background: var(--blue-bright);
    box-shadow: 0 0 12px var(--blue-bright);
    width: 4px;
    height: 4px;
}

.hero__particle:nth-child(3n+1) {
    width: 6px;
    height: 6px;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(-110vh) translateX(40px);
        opacity: 0;
    }
}

.hero__container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.40);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--green-neon);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--green-primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 131, 97, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(0, 131, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 131, 97, 0); }
}

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__title--light { color: var(--white); }

.hero__title--accent {
    background: linear-gradient(135deg, var(--green-primary), var(--blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero__text--light { color: rgba(255, 255, 255, 0.92); }
.hero__text--light strong { color: var(--green-neon); }

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.50);
}

.hero__check {
    width: 24px;
    height: 24px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* === Hero Visual (cards empilhados) === */
.hero__visual {
    position: relative;
    height: 540px;
    perspective: 1000px;
    overflow: hidden;
}

.hero__card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--t-slow);
    max-width: 100%;
}

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

.hero__card--primary {
    top: 0;
    right: 0;
    width: 75%;
    height: 60%;
    transform: rotate(-3deg);
    z-index: 2;
    border: 4px solid var(--white);
}
.hero__card--primary:hover { transform: rotate(0deg) scale(1.02); }

.hero__card--secondary {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 55%;
    transform: rotate(4deg);
    z-index: 1;
    border: 4px solid var(--white);
}
.hero__card--secondary:hover { transform: rotate(0deg) scale(1.02); }

.hero__card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-deep);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__stats {
    display: inline-flex;
    gap: 24px;
    padding: 24px 32px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-neon), var(--blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.40));
}

.hero__stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.80);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.hero__stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================================================================
   ABOUT
   ================================================================= */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about__card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transform: rotate(-2deg);
    transition: transform var(--t);
}
.about__card:hover { transform: rotate(0deg); }

.about__card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--blue-deep);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
}

/* =================================================================
   MOSAICO (Sobre Nós) — 1 imagem grande + 3 pequenas rotativas
   ================================================================= */
.mosaic {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
}

.mosaic__main,
.mosaic__sub {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: var(--gray-700);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mosaic__main img,
.mosaic__sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

/* === Slot principal (70% do canvas) === */
.mosaic__main {
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    z-index: 2;
    border: 4px solid var(--white);
}
.mosaic__main img { transform: scale(1.02); }
.mosaic__main:hover img { transform: scale(1.08); }

/* === Slots secundários (empilhados à direita) === */
.mosaic__sub--1 { top: 0;    right: 0; width: 32%; height: 32%; z-index: 1; border: 3px solid var(--white); }
.mosaic__sub--2 { top: 34%;  right: 0; width: 32%; height: 32%; z-index: 1; border: 3px solid var(--white); }
.mosaic__sub--3 { bottom: 0; right: 0; width: 32%; height: 32%; z-index: 1; border: 3px solid var(--white); }

.mosaic__sub img { transform: scale(1.05); }
.mosaic__sub:hover img { transform: scale(1.12); }

/* === Animação de troca (fade + slide) === */
.mosaic__main.swapping img,
.mosaic__sub.swapping img {
    opacity: 0;
    transform: scale(1.10);
}

/* === Badge "+100 Projetos" === */
.mosaic__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-bright));
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-neon-green);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    border: 2px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(8px);
}

.mosaic__badge-num {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mosaic__badge-label {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    opacity: 0.95;
}

/* === Contador === */
.mosaic__counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(31, 19, 70, 0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 157, 0.40);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.mosaic__counter-pulse {
    width: 8px;
    height: 8px;
    background: var(--green-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-neon);
    animation: pulse-dot 1.5s infinite;
}

/* =================================================================
   BOTÃO LIGAR DIRETO (Sobre Nós)
   ================================================================= */
.about__call {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 26px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: var(--white);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0, 131, 97, 0.35);
    transition: all var(--t);
    animation: pulse-green 2.5s infinite;
    text-decoration: none;
}

.about__call svg {
    flex-shrink: 0;
    transition: transform var(--t);
}

.about__call:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 131, 97, 0.50);
}

.about__call:hover svg {
    transform: rotate(-15deg) scale(1.10);
}

.about__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about__text strong { color: var(--blue-deep); }

.about__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.about__list img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* =================================================================
   SERVICES (cards horizontais alternados)
   ================================================================= */
.services__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t);
    backdrop-filter: blur(8px);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-neon), var(--blue-bright));
    opacity: 0;
    transition: opacity var(--t);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 157, 0.30);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.40), 0 0 40px rgba(53, 125, 249, 0.20);
}
.service-card:hover::before { opacity: 1; }

.service-card.reverse {
    grid-template-columns: 1.3fr 1fr;
}
.service-card.reverse .service-card__image { order: 2; }

.service-card__image {
    height: 320px;
    overflow: hidden;
    position: relative;
}
.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.service-card:hover .service-card__image img { transform: scale(1.05); }

.service-card__body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card__tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 14px;
    background: rgba(0, 255, 157, 0.15);
    color: var(--green-neon);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 255, 157, 0.30);
}

.service-card__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.service-card__text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card__link {
    color: var(--green-neon);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t);
}
.service-card__link span { transition: transform var(--t); }
.service-card__link:hover { gap: 10px; }
.service-card__link:hover span { transform: translateX(4px); }

/* =================================================================
   KINDS (tipos de atendimento)
   ================================================================= */
.kinds__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kind-card {
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.kind-card--green {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: var(--white);
}
.kind-card--green:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 131, 97, 0.30);
    border-color: var(--green-neon);
}

.kind-card--dark {
    background: var(--blue-deep);
    color: var(--white);
    border-color: var(--blue-electric);
}
.kind-card--dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 19, 70, 0.40), 0 0 30px rgba(53, 125, 249, 0.30);
    border-color: var(--blue-bright);
}

.kind-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
}
.kind-card__icon img { width: 50px; height: 50px; }

.kind-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
}

.kind-card__text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
}

/* =================================================================
   FEATURES (diferenciais)
   ================================================================= */
.features__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
}

.features__content { max-width: 380px; }

.features__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all var(--t);
}
.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
    border-color: var(--green-neon);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.20);
}

.feature-item__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid var(--green-neon);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.40);
}
.feature-item__icon img { width: 40px; height: 40px; }

.feature-item__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-item__text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* =================================================================
   BEFORE/AFTER (Reparos em Gesso)
   ================================================================= */
.before-after {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    background: #000;
    border-radius: var(--radius);
}

.before-after__img,
.before-after__before img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.before-after__before {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    border-right: 3px solid var(--green-neon);
    box-shadow: 4px 0 20px rgba(0, 255, 157, 0.30);
    will-change: width;
    z-index: 2;
}

.before-after__slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--green-neon);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.60), 0 0 40px rgba(0, 255, 157, 0.30);
    will-change: left;
    z-index: 3;
}

.before-after__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--white);
    border: 3px solid var(--green-neon);
    border-radius: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 2px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.40), 0 0 20px rgba(0, 255, 157, 0.50);
    pointer-events: auto;
    cursor: ew-resize;
}

.before-after__arrow {
    color: var(--green-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.before-after__label {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 4;
}

.before-after__label--before {
    left: 16px;
    border: 1px solid rgba(255, 138, 138, 0.50);
    color: #ff8a8a;
}

.before-after__label--after {
    right: 16px;
    border: 1px solid rgba(0, 255, 157, 0.50);
    color: var(--green-neon);
}

.before-after__badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(31, 19, 70, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 157, 0.40);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 4;
    transition: opacity 0.4s;
}

.before-after__pulse {
    width: 8px;
    height: 8px;
    background: var(--green-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-neon);
    animation: pulse-dot 1.5s infinite;
}

.before-after:not([data-autoplay="true"]) .before-after__badge {
    opacity: 0.45;
}

.service-card--before-after .service-card__image { padding: 0; }

/* =================================================================
   CARROSSEL
   ================================================================= */
.carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
}

.carousel__viewport {
    overflow: hidden;
    height: 520px;
}

.carousel__track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    height: 100%;
}

.carousel__slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

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

.carousel__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px;
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.92) 0%, transparent 100%);
    color: var(--white);
}

.carousel__caption span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.carousel__caption h4 {
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-deep);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: grid;
    place-items: center;
    transition: all var(--t);
    box-shadow: var(--shadow);
    z-index: 2;
}
.carousel__btn:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }

.carousel__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.40);
    cursor: pointer;
    transition: all var(--t);
}
.carousel__dot.active {
    background: var(--green-neon);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 12px var(--green-neon);
}

/* =================================================================
   CTA Section
   ================================================================= */
.cta__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta__content .section__title { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 24px; }
.cta__content .section__subtitle { margin-bottom: 36px; }

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta__visual {
    display: grid;
    place-items: center;
}

.cta__circle {
    width: 320px;
    height: 320px;
    max-width: 90vw;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-electric));
    display: grid;
    place-items: center;
    box-shadow: 0 0 60px rgba(0, 195, 110, 0.40), 0 0 120px rgba(53, 125, 249, 0.30);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: visible;
}
.cta__circle::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 157, 0.40);
    animation: rotate-cw 12s linear infinite;
}
.cta__circle::after {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px dashed rgba(53, 125, 249, 0.30);
    animation: rotate-ccw 18s linear infinite;
}
.cta__circle img {
    width: 70%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.30));
    z-index: 1;
}

/* Variação com logo retangular (sem ficar cortado) */
.cta__circle--logo {
    width: 380px;
    height: 280px;
    border-radius: 20px;
    background: var(--white);
    padding: 18px;
    box-shadow: 0 0 60px rgba(0, 195, 110, 0.30), 0 0 120px rgba(53, 125, 249, 0.20);
}
.cta__circle--logo::before {
    border-radius: 24px;
    border: 2px solid rgba(0, 255, 157, 0.40);
}
.cta__circle--logo::after {
    border-radius: 28px;
    border: 1px dashed rgba(53, 125, 249, 0.30);
}
.cta__circle--logo img {
    width: 100%;
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.20));
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotate-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--t);
    position: relative;
}
.testimonial:hover {
    transform: translateY(-6px);
    border-color: var(--green-primary);
    box-shadow: var(--shadow-lg);
}

.testimonial__stars {
    color: #f5b400;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-bright));
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
}
.testimonial__author strong { display: block; color: var(--dark); font-family: var(--font-primary); }
.testimonial__author span { font-size: 13px; color: var(--gray-500); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    padding: 80px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    height: 56px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    width: fit-content;
}

.footer__col p { color: var(--gray-300); line-height: 1.7; }

.footer__col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__col ul li { margin-bottom: 10px; }
.footer__col a { color: var(--gray-300); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--green-neon); }

.footer__contact li {
    color: var(--gray-300);
    line-height: 1.6;
}
.footer__contact strong {
    display: block;
    color: var(--green-neon);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-500);
}

/* =================================================================
   WHATSAPP FLUTUANTE
   ================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.50);
    z-index: 90;
    transition: transform var(--t);
    animation: pulse-green 2s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: scale(1.10); }

/* =================================================================
   REVEAL ON SCROLL
   ================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================================================
   FOCUS VISÍVEL (Acessibilidade)
   ================================================================= */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--green-neon);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* =================================================================
   PAGE HERO (para páginas internas: sobre, serviços, etc)
   ================================================================= */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
    text-align: center;
    position: relative;
}

.page-hero .hero__badge {
    margin: 0 auto 24px;
    display: inline-flex;
}

.page-hero__title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.page-hero__text {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =================================================================
   GALERIA EM MOSAICO (Projetos)
   ================================================================= */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-mosaic__item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background: var(--dark);
    transition: transform var(--t), box-shadow var(--t);
    cursor: pointer;
}

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

.gallery-mosaic__item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 131, 97, 0.20);
    z-index: 2;
}

.gallery-mosaic__item:hover img { transform: scale(1.08); }

.gallery-mosaic__item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--white);
    background: rgba(10, 14, 26, 0.50);
    opacity: 0;
    transition: opacity var(--t);
}

.gallery-mosaic__item:hover::after { opacity: 1; }

/* Item grande ocupa 2 colunas x 2 linhas */
.gallery-mosaic__item--lg {
    grid-column: span 2;
    grid-row: span 2;
}

/* Item wide ocupa 2 colunas */
.gallery-mosaic__item--wide {
    grid-column: span 2;
}

/* =================================================================
   BLOG
   ================================================================= */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-primary);
}

.post-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.post-card:hover .post-card__image img { transform: scale(1.08); }

.post-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-bright));
    color: var(--white);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.post-card__body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
}

.post-card__title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 14px;
    transition: color var(--t);
}

.post-card:hover .post-card__title { color: var(--green-primary); }

.post-card__excerpt {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.post-card__link {
    color: var(--green-primary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap var(--t);
    align-self: flex-start;
}

.post-card__link:hover { color: var(--green-primary-dark); }

/* =================================================================
   CONTACT (Formulário)
   ================================================================= */
.contact__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact__form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact__form-wrapper .section__title { margin-bottom: 12px; }
.contact__form-wrapper .section__subtitle { margin-bottom: 32px; }

.contact__form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 16px; /* Evita zoom automático no iOS */
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(0, 131, 97, 0.12);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--red, #d63163);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-error {
    font-size: 12px;
    color: var(--red, #d63163);
    font-weight: 600;
    min-height: 16px;
}

.form-group--check {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.form-group--check input { width: auto; }
.form-group--check label { font-weight: 400; font-size: 14px; }

.btn--block {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Coluna de informações */
.contact__info { display: flex; flex-direction: column; gap: 16px; }

.contact__info .section__title { margin-bottom: 8px; }
.contact__info .section__subtitle { margin-bottom: 8px; }

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--t);
    color: inherit;
    text-decoration: none;
}

a.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--green-primary);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
}

.contact-card--whatsapp .contact-card__icon { background: var(--whatsapp); }
.contact-card--phone .contact-card__icon { background: var(--blue-primary); }
.contact-card--location .contact-card__icon { background: var(--green-primary); }
.contact-card--email .contact-card__icon { background: var(--blue-electric); }

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-card p {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-card__cta {
    font-size: 12px;
    color: var(--green-primary);
    font-weight: 600;
}

.contact-hours {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-electric));
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-hours h3 {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.contact-hours ul { list-style: none; }
.contact-hours li {
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}
.contact-hours li:first-child { border-top: none; }
.contact-hours strong { color: var(--green-neon); }

/* =================================================================
   RESPONSIVO
   ================================================================= */
@media (max-width: 1024px) {
    .hero__container,
    .about__grid,
    .features__grid,
    .cta__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual { height: 460px; }

    .service-card,
    .service-card.reverse {
        grid-template-columns: 1fr;
    }
    .service-card.reverse .service-card__image { order: 0; }

    .service-card__image { height: 240px; }

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

@media (max-width: 768px) {
    section { padding: 64px 0; }
    .hero { padding: 110px 0 60px; }

    .header__nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        max-width: 100vw;
        flex-direction: column;
        background: var(--white);
        padding: 24px;
        gap: 20px;
        transform: translateY(-200%);
        transition: transform var(--t);
        box-shadow: var(--shadow);
        overflow: hidden;
    }
    .header__nav.open { transform: translateY(0); }
    .header__toggle { display: flex; }
    .header__cta { display: none; }

    /* HERO: Remove rotação que causa overflow horizontal */
    .hero { overflow: hidden; }
    .hero__container { gap: 32px; }
    .hero__visual {
        height: 380px;
        max-width: 100%;
        overflow: hidden;
    }
    .hero__card--primary {
        transform: rotate(0deg);
        width: 70%;
    }
    .hero__card--secondary {
        transform: rotate(0deg);
        width: 60%;
    }
    .hero__card:hover { transform: translateY(-4px) scale(1.02); }
    .hero__stats {
        bottom: 10%;
        right: 0;
        left: auto;
        padding: 12px 16px;
        gap: 14px;
    }
    .hero__stat-number { font-size: 24px; }

    .kinds__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

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

    /* Mosaico: trava overflow */
    .mosaic {
        height: 380px;
        max-width: 100%;
        overflow: hidden;
    }

    /* CTA: limita o círculo para não estourar */
    .cta__circle {
        width: 260px;
        height: 260px;
    }
    .cta__circle--logo {
        width: 280px;
        height: 230px;
    }

    /* Ticker: previne overflow lateral */
    .ticker {
        max-width: 100vw;
        overflow: hidden;
    }

    /* Carrossel: previne vazamento */
    .carousel { max-width: 100%; overflow: hidden; }
    .carousel__viewport { height: 380px; }
    .carousel__btn { width: 40px; height: 40px; font-size: 20px; }

    /* WhatsApp flutuante não vaza */
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; text-align: center; }

    /* Header fixo com z-index alto */
    .header { z-index: 1000; }
}

@media (max-width: 1024px) {
    .mosaic {
        height: 420px;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .contact__grid { grid-template-columns: 1fr; gap: 32px; }
    .blog__grid { grid-template-columns: 1fr 1fr; }
    .gallery-mosaic { grid-template-columns: repeat(3, 1fr); }
    .gallery-mosaic__item--lg { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .page-hero { padding: 110px 0 60px; }
    .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-mosaic__item--lg { grid-column: span 2; grid-row: span 1; }
    .gallery-mosaic__item--wide { grid-column: span 2; }
    .blog__grid { grid-template-columns: 1fr; }
    .contact__form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .mosaic { height: 380px; }
    .mosaic__badge-num { font-size: 22px; }
    .mosaic__badge-label { font-size: 9px; }
    .about__call { width: 100%; justify-content: center; }
    .gallery-mosaic { grid-template-columns: 1fr; }
    .gallery-mosaic__item--lg,
    .gallery-mosaic__item--wide { grid-column: span 1; }
}

@media (max-width: 480px) {
    .hero__visual { height: 320px; }
    .mosaic { height: 320px; }
    .cta__circle { width: 240px; height: 240px; }
    .cta__circle--logo { width: 260px; height: 200px; }
    .hero__title { font-size: 28px; }
    .section__title { font-size: 24px; }
    .hero__features { gap: 12px; }
    .hero__feature { font-size: 13px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .container { padding: 0 16px; }
    section { padding: 48px 0; }
}

/* === Acessibilidade === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}