/* ============================================
   ARCO TINTAS D PINTURA — Tintas e Pintura Profissional
   Atlas Tecnologias © 2026
   Paleta: Azul-marinho + Arco-íris (logo)
   Guapimirim/RJ | CNPJ 38.541.950/0001-04
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== RAINBOW SIGNATURE (arco-íris da logo) ===== */
.header {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #E63329, #F7941D, #FFD200, #43B649, #29ABE2, #2E3192) 1;
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5; transition: 0.3s;
}
.header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav__logo {
    font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 8px; color: #15336B;
}
.nav__logo-icon { font-size: 1.6rem; }
.nav__logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav__menu { display: flex; gap: 32px; }
.nav__link { font-weight: 500; font-size: 0.95rem; transition: 0.2s; }
.nav__link:hover { color: #15336B; }
.nav__toggle {
    display: none; font-size: 1.5rem; cursor: pointer; color: #15336B;
    border: 0; background: transparent; padding: 10px; border-radius: 8px;
}
.nav__cta { display: none; }

/* ===== RAINBOW UNDERLINE FOR SECTION TITLES ===== */
.section__title {
    position: relative; padding-bottom: 18px;
}
.section__title::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 64px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, #E63329, #F7941D, #FFD200, #43B649, #29ABE2, #2E3192);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; transition: 0.3s; cursor: pointer; border: none;
}
.btn--primary {
    background: #15336B; color: #fff;
    box-shadow: 0 4px 20px rgba(21,51,107,0.35);
}
.btn--primary:hover { background: #0F274F; transform: translateY(-2px); }
.btn--outline {
    border: 2px solid #15336B; color: #15336B; background: transparent;
}
.btn--outline:hover { background: #15336B; color: #fff; }
.btn--header {
    background: #25d366; color: #fff; padding: 10px 24px; font-size: 0.9rem;
}
.btn--header:hover { background: #20ba59; }
.btn--large { padding: 16px 40px; font-size: 1.1rem; }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #0F1A30 0%, #122240 50%, #15336B 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at 80% 20%, rgba(29,78,158,0.25), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(37,211,102,0.12), transparent 50%);
}
.hero__bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(105deg, rgba(8,16,36,0.93) 0%, rgba(10,24,52,0.80) 48%, rgba(15,51,107,0.50) 100%),
        linear-gradient(to top, rgba(8,16,36,0.65) 0%, transparent 28%);
}
.hero__content { position: relative; z-index: 2; padding: 120px 0 90px; color: #fff; }

/* animação de entrada escalonada */
.hero__content > * { animation: heroFade 0.7s cubic-bezier(.22,.61,.36,1) both; }
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.hero__content > *:nth-child(4) { animation-delay: 0.35s; }
.hero__content > *:nth-child(5) { animation-delay: 0.45s; }
.hero__content > *:nth-child(6) { animation-delay: 0.55s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 50px;
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    font-size: 0.85rem; font-weight: 500; margin-bottom: 24px; color: #fff;
}
.hero__badge i { color: #F7941D; }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 900; line-height: 1.08; margin-bottom: 12px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero__title span { color: #F7941D; }
.hero__slogan {
    display: block; font-size: 1.1rem; font-style: italic;
    color: rgba(255,255,255,0.78); margin-bottom: 20px; letter-spacing: 0.3px;
    padding-left: 14px; border-left: 3px solid;
    border-image: linear-gradient(180deg, #E63329, #F7941D, #FFD200, #43B649, #29ABE2, #2E3192) 1;
}
.hero__subtitle { font-size: 1.15rem; max-width: 600px; opacity: 0.9; margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
/* botão secundário legível sobre vídeo/foto escura */
.hero__actions .btn--outline {
    background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.85); color: #fff;
    backdrop-filter: blur(6px); font-weight: 600;
}
.hero__actions .btn--outline:hover { background: #fff; border-color: #fff; color: #15336B; }
.hero__stats { display: flex; gap: 40px; }
.hero__stat { text-align: left; position: relative; }
.hero__stat:not(:last-child)::after {
    content: ''; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 36px; background: rgba(255,255,255,0.18);
}
.hero__stat-number { display: block; font-size: 2.1rem; font-weight: 800; color: #F7941D; line-height: 1.1; }
.hero__stat-number i { font-size: 1.4rem; }
.hero__stat-label { font-size: 0.82rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }

/* indicador de scroll */
.hero__scroll {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08); backdrop-filter: blur(4px);
    animation: heroBounce 2s infinite;
}
.hero__scroll:hover { background: rgba(255,255,255,0.18); }
@keyframes heroBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: reduce) {
    .hero__content > *, .hero__scroll { animation: none; }
}

/* ===== DIFFERENTIALS ===== */
.differentials { padding: 80px 0; background: #fafafa; }
.differentials__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: -100px; position: relative; z-index: 2;
}
.differential__card {
    background: #fff; padding: 32px 24px; border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); text-align: center;
    transition: 0.3s;
}
.differential__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.differential__card i { font-size: 2rem; color: #15336B; margin-bottom: 16px; }
.differential__card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.differential__card p { font-size: 0.9rem; color: #666; line-height: 1.5; }

/* ===== SECTION HEADERS ===== */
.section__header { text-align: center; margin-bottom: 56px; }
.section__badge {
    display: inline-block; padding: 6px 16px; border-radius: 50px;
    background: rgba(21,51,107,0.1); color: #15336B;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 16px;
}
.section__title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section__subtitle { color: #666; font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__image-placeholder {
    width: 100%; aspect-ratio: 4/3; border-radius: 20px;
    background: linear-gradient(135deg, #15336B, #1D4E9E);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 5rem; box-shadow: 0 20px 60px rgba(21,51,107,0.2);
}
.about__img {
    display: block; max-width: 100%; max-height: 620px; width: auto; height: auto;
    margin: 0 auto; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.about__slogan {
    display: block; font-style: italic; color: #15336B; font-size: 1.1rem;
    margin-bottom: 16px; font-weight: 500;
}
.about__text { margin-bottom: 16px; color: #555; line-height: 1.7; }
.about__info { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about__info-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: #444; }
.about__info-item i { color: #15336B; width: 20px; text-align: center; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: #fafafa; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service__card {
    position: relative; background: #fff; padding: 32px 26px; border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: 0.35s cubic-bezier(.22,.61,.36,1);
    text-align: left; border: 1px solid #eef1f5; overflow: hidden;
    display: flex; flex-direction: column;
}
.service__card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #E63329, #F7941D, #FFD200, #43B649, #29ABE2, #2E3192);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service__card:hover::before { transform: scaleX(1); }
.service__card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(21,51,107,0.14); border-color: transparent; }
.service__icon {
    width: 60px; height: 60px; border-radius: 16px; margin: 0 0 20px;
    background: linear-gradient(135deg, #15336B, #1D4E9E);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; transition: 0.35s;
    box-shadow: 0 8px 20px rgba(21,51,107,0.25);
}
.service__card:hover .service__icon { transform: rotate(-6deg) scale(1.05); }
.service__card h3 { font-size: 1.2rem; margin-bottom: 16px; color: #15336B; }
.service__card ul { padding-left: 18px; margin-bottom: 4px; }
.service__card li { font-size: 0.88rem; color: #555; padding: 5px 0; position: relative; }
.service__card li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: #43B649; font-size: 0.7rem; position: absolute; left: -18px; top: 8px;
}

/* ===== BRANDS (Tintas que usamos) ===== */
.brands { padding: 80px 0; }
.brands__grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; text-align: center;
}
.brand__item {
    padding: 16px; background: #fafafa; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s; min-height: 88px;
}
.brand__item img {
    max-width: 100%; max-height: 56px; object-fit: contain;
    transition: transform 0.3s;
}
.brand__item:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.brand__item:hover img { transform: scale(1.05); }

/* ===== GALLERY ===== */
.gallery { padding: 100px 0; background: #fafafa; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
    aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, #0F1A30, #15336B);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; gap: 12px; cursor: pointer; transition: 0.3s;
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item:focus-visible { outline: 3px solid #F7941D; outline-offset: 3px; }
.gallery__item i { font-size: 2.5rem; opacity: 0.7; }
.gallery__item img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item span {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    padding: 28px 16px 14px; font-size: 0.95rem; font-weight: 600;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

/* ===== VIDEO SECTION ===== */
.video-section { padding: 100px 0; }
.video-section__player {
    width: 100%; max-width: 380px; margin: 0 auto; border-radius: 24px; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28); background: #000;
    aspect-ratio: 9/16; max-height: 70vh;
    border: 6px solid #0F1A30;
}
.video-section__player video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* fallback de imagem da hero (apenas movimento reduzido) */
.hero__bg { object-position: center; }
.hero__video--mobile { display: none; }
@media (max-width: 768px) {
    .hero__video--desktop { display: none; }
    .hero__video--mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__video { display: none; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0; 
    background: linear-gradient(135deg, #0F1A30 0%, #15336B 100%);
    text-align: center; color: #fff;
}
.cta__content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.cta__content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 40px; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__card {
    padding: 24px; border-radius: 12px; background: #fafafa; text-align: center;
    transition: 0.3s;
}
.contact__card:hover { background: #15336B; color: #fff; }
.contact__card i { font-size: 1.5rem; color: #15336B; margin-bottom: 8px; }
.contact__card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact__card a, .contact__card span { font-size: 0.9rem; color: #666; display: block; }
.contact__card:hover a, .contact__card:hover span, .contact__card:hover h3 { color: #fff; }
.contact__card:hover i { color: #fff; }
.contact__map { border-radius: 12px; overflow: hidden; }

/* ===== FOOTER ===== */
.footer { background: #0A1421; color: #aaa; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #1a2a40; }
.footer__logo { font-size: 1.4rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; }
.footer__brand p { font-size: 0.9rem; line-height: 1.6; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%; background: #1a2a40;
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-size: 1.1rem; transition: 0.3s;
}
.footer__social a:hover { background: #15336B; }
.footer__links h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer__links li { margin-bottom: 8px; font-size: 0.9rem; }
.footer__links a:hover { color: #F7941D; }
.footer__bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: 0.85rem; opacity: 0.7; }
.footer__dev { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.footer__dev a { display: inline-flex; align-items: center; opacity: 0.85; transition: opacity 0.2s; }
.footer__dev a:hover { opacity: 1; }
.footer__dev-logo { display: block; width: 100px; height: auto; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.4); transition: 0.3s;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); } }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
    position: absolute; top: 24px; right: 32px;
    font-size: 2.5rem; color: #fff; cursor: pointer; z-index: 1;
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .differentials__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__grid { grid-template-columns: 1fr; }
    .brands__grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__stats { gap: 32px; }
}
@media (max-width: 768px) {
    /* backdrop-filter cria containing block e quebra o position:fixed do menu */
    .header { backdrop-filter: none; }
    .nav__menu {
        position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 999;
        background: #fff; flex-direction: column; align-items: center;
        justify-content: flex-start; gap: 8px; font-size: 1.15rem;
        padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
        overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease;
    }
    .nav__menu.active { transform: translateX(0); }
    .nav__menu li { width: 100%; max-width: 320px; text-align: center; }
    .nav__menu .nav__link {
        display: block; padding: 14px 0; border-bottom: 1px solid #eef1f5; font-weight: 600;
    }
    .nav__cta { display: block; margin-top: 16px; }
    .nav__cta a {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        background: #25d366; color: #fff; padding: 14px; border-radius: 50px; font-weight: 700;
    }
    .nav__toggle { display: block; }
    .btn--header { display: none; }
    .differentials { padding: 60px 0; }
    .differentials__grid { margin-top: 0; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .differentials__grid, .services__grid { grid-template-columns: 1fr; }
    .brands__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr; }
    .contact__info { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer__dev { justify-content: center; }
    .gallery__grid { grid-template-columns: 1fr; }
}

/* ===== COOKIE BANNER (LGPD) ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #15336B; color: #fff; padding: 16px 24px;
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap; font-size: 0.9rem;
}
.cookie-banner a { color: #F7941D; text-decoration: underline; }
.cookie-banner .btn { white-space: nowrap; background: #F7941D; color: #15336B; }
.cookie-banner .btn:hover { background: #e6840d; }
.cookie-banner.hidden { display: none; }

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 10001;
    background: linear-gradient(90deg, #E63329, #F7941D, #FFD200, #43B649, #29ABE2, #2E3192);
    width: 0%; transition: width 0.1s ease;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    color: #15336B; padding: 8px; border-radius: 50%; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.dark-mode-toggle:hover { background: rgba(21,51,107,0.1); }

/* ===== DARK MODE ===== */
body.dark-mode { background: #0f172a; color: #e2e8f0; }
body.dark-mode .header { background: rgba(15,23,42,0.95); border-bottom-color: #1e293b; }
body.dark-mode .nav__link { color: #e2e8f0; }
body.dark-mode .nav__link:hover { color: #60a5fa; }
body.dark-mode .nav__logo { color: #e2e8f0; }
body.dark-mode .dark-mode-toggle { color: #e2e8f0; }
body.dark-mode .dark-mode-toggle:hover { background: rgba(255,255,255,0.1); }
body.dark-mode .nav__menu { background: #0f172a; } /* mobile menu */

/* Section backgrounds — override light-mode #fafafa */
body.dark-mode .differentials,
body.dark-mode .services,
body.dark-mode .gallery,
body.dark-mode .brands { background: #0f172a; }
body.dark-mode .brand__item { background: #1e293b; }

/* Hero */
body.dark-mode .hero__subtitle { color: #cbd5e1; }
body.dark-mode .hero__overlay { background: rgba(0,0,0,0.65); }
body.dark-mode .hero__stat-label { color: #94a3b8; }

/* Section */
body.dark-mode .section__title { color: #f1f5f9; }
body.dark-mode .section__subtitle { color: #cbd5e1; }
body.dark-mode .section__badge { color: #60a5fa; }
body.dark-mode .section__header { /* inherited */ }

/* Cards */
body.dark-mode .differential__card,
body.dark-mode .service__card,
body.dark-mode .testimonial__card,
body.dark-mode .contact__card,
body.dark-mode .faq__item { background: #1e293b; border-color: #334155; }
body.dark-mode .differential__card h3,
body.dark-mode .service__card h3,
body.dark-mode .contact__card h3 { color: #f1f5f9; }
body.dark-mode .differential__card p,
body.dark-mode .service__card li,
body.dark-mode .contact__card span,
body.dark-mode .contact__card a { color: #cbd5e1; }
body.dark-mode .differential__card i,
body.dark-mode .service__icon i,
body.dark-mode .contact__card i { color: #60a5fa; }

/* About */
body.dark-mode .about__text { color: #cbd5e1; }
body.dark-mode .about__info-item span { color: #cbd5e1; }
body.dark-mode .about__info-item i { color: #60a5fa; }
body.dark-mode .about__slogan { color: #94a3b8; }

/* Testimonials */
body.dark-mode .testimonials { background: #0f172a; }
body.dark-mode .testimonial__card p { color: #cbd5e1; }
body.dark-mode .testimonial__author strong { color: #f1f5f9; }
body.dark-mode .testimonial__author span { color: #94a3b8; }
body.dark-mode .testimonials__google { background: #1e293b; color: #cbd5e1; }

/* FAQ */
body.dark-mode .faq__question { color: #f1f5f9; }
body.dark-mode .faq__question:hover { color: #60a5fa; }
body.dark-mode .faq__answer p { color: #cbd5e1; }

/* Budget Form */
body.dark-mode .budget { background: #0f172a; }
body.dark-mode .budget__form { background: #1e293b; }
body.dark-mode .budget__field label { color: #f1f5f9; }
body.dark-mode .budget__form input,
body.dark-mode .budget__form select,
body.dark-mode .budget__form textarea { background: #0f172a; color: #e2e8f0; border-color: #334155; }
body.dark-mode .budget__form input::placeholder,
body.dark-mode .budget__form textarea::placeholder { color: #64748b; }

/* Gallery */
body.dark-mode .gallery__item span { background: rgba(15,23,42,0.85); color: #e2e8f0; }

/* Brands */
body.dark-mode .brands { background: #0f172a; }

/* Footer */
body.dark-mode .footer { background: #020617; color: #cbd5e1; }
body.dark-mode .footer__brand p { color: #94a3b8; }
body.dark-mode .footer__links h4 { color: #f1f5f9; }
body.dark-mode .footer__links li,
body.dark-mode .footer__links a { color: #cbd5e1; }
body.dark-mode .footer__bottom { border-top-color: #1e293b; color: #94a3b8; }
body.dark-mode .footer__logo { color: #f1f5f9; }

/* Contact */
body.dark-mode .contact__map iframe { filter: grayscale(0.3); }

/* CTA */
body.dark-mode .cta { background: #1e293b; }
body.dark-mode .cta h2 { color: #f1f5f9; }
body.dark-mode .cta p { color: #cbd5e1; }

/* Cookie banner — keep azul visibility */
body.dark-mode .cookie-banner { background: #1e3a6e; }

/* Lightbox */
body.dark-mode .lightbox { background: rgba(0,0,0,0.92); }
body.dark-mode .lightbox__close { color: #e2e8f0; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 80px 0; background: #f8fafc; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial__card {
    background: #fff; border-radius: 16px; padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: 0.3s;
}
.testimonial__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.testimonial__stars { color: #F7941D; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial__card p { color: #444; font-style: italic; line-height: 1.7; margin-bottom: 16px; min-height: 80px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial__avatar--atlas { border-radius: 8px; background: #000; padding: 5px; }
.testimonial__author strong { display: block; font-size: 0.95rem; color: #15336B; }
.testimonial__author span { font-size: 0.8rem; color: #777; }
.testimonials__google {
    text-align: center; margin-top: 32px; padding: 16px 32px;
    background: #fff; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.testimonials__google i { color: #4285F4; font-size: 1.5rem; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }
.faq__list { max-width: 800px; margin: 40px auto 0; }
.faq__item { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq__question {
    width: 100%; text-align: left; padding: 20px 24px; background: none; border: none;
    font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; color: #15336B; font-family: 'Inter', sans-serif;
}
.faq__question i { transition: 0.3s; font-size: 0.9rem; }
.faq__question:focus-visible { outline: 3px solid #F7941D; outline-offset: -3px; }
.faq__item.active .faq__question i { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__item.active .faq__answer { max-height: 300px; }
.faq__answer p { padding: 0 24px 20px; color: #555; line-height: 1.7; }

/* ===== BUDGET FORM ===== */
.budget { padding: 80px 0; background: #f8fafc; }
.budget__form { max-width: 700px; margin: 40px auto 0; background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.budget__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.budget__field { display: flex; flex-direction: column; gap: 6px; }
.budget__field label { font-weight: 600; font-size: 0.9rem; color: #15336B; }
.budget__field input, .budget__field select, .budget__field textarea {
    padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 10px;
    font-size: 1rem; font-family: 'Inter', sans-serif; transition: 0.2s;
}
.budget__field input:focus, .budget__field select:focus, .budget__field textarea:focus {
    border-color: #15336B; outline: none; box-shadow: 0 0 0 3px rgba(21,51,107,0.1);
}
.budget__field--full { grid-column: 1 / -1; }
.budget__form .btn { width: 100%; justify-content: center; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 90px; right: 24px; z-index: 999;
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: #15336B; color: #fff; font-size: 1.1rem; cursor: pointer;
    box-shadow: 0 4px 12px rgba(21,51,107,0.3); opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #0F274F; transform: translateY(-2px); }

/* ===== RESPONSIVE: NEW SECTIONS ===== */
@media (max-width: 768px) {
    .testimonials__grid { grid-template-columns: 1fr; }
    .testimonial__card p { min-height: auto; }
    .budget__fields { grid-template-columns: 1fr; }
    .budget__form { padding: 24px; }
    .faq__question { font-size: 1rem; padding: 16px 20px; }
    .dark-mode-toggle { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); }
}

/* ===== SERVICE MINI GALLERY ===== */
.service__gallery {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: auto; padding-top: 18px;
}
.service__gallery img {
    width: 100%; height: 104px; object-fit: cover; border-radius: 10px; transition: 0.35s;
}
.service__gallery img:only-child { grid-column: 1 / -1; height: 130px; }
.service__gallery img:hover { transform: scale(1.04); filter: brightness(1.05); }
.service__cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 12px 16px; border-radius: 50px;
    background: #25d366; color: #fff; font-weight: 600; font-size: 0.9rem;
    transition: 0.3s;
}
.service__cta:hover { background: #20ba59; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
