/* ============================================
   RC Construções e Reformas — style.css
   Brand: #293891 (azul) | #f37c30 (laranja)
   ============================================ */

:root {
    --primary: #293891;
    --primary-dark: #1d2a6e;
    --primary-deep: #131c4a;
    --primary-light: #3a4dbb;
    --accent: #f37c30;
    --accent-dark: #d9671c;
    --accent-soft: #fff1e6;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ebe5b;
    --text: #262b38;
    --muted: #687083;
    --bg: #ffffff;
    --bg-soft: #f5f7fc;
    --border: #e6eaf3;
    --radius: 16px;
    --shadow: 0 12px 34px rgba(41, 56, 145, .10);
    --shadow-lg: 0 24px 60px rgba(41, 56, 145, .18);
    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --head-h: 88px;
}

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

html, body { overflow-x: hidden; }
@supports (overflow-x: clip) {
    html, body { overflow-x: clip; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 24px); }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ============ BOTÕES ============ */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px;
    border: 0; border-radius: 50px;
    font-size: .95rem; font-weight: 600; font-family: var(--font-head);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-whatsapp {
    background: var(--accent); color: #fff;
    animation: btnPulse 2.2s ease-in-out infinite;
}
.btn-whatsapp:hover { background: var(--accent-dark); animation-play-state: paused; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243,124,48,.45); }
    55%      { box-shadow: 0 0 0 12px rgba(243,124,48,0); }
}

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

.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow); }

.btn-outline-light {
    background: rgba(255,255,255,.08); color: #fff;
    border: 2px solid rgba(255,255,255,.6);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: #fff; color: var(--primary); }

.link-btn {
    background: none; border: 0; padding: 0;
    color: inherit; font-size: inherit;
    display: inline-flex; align-items: center; gap: 8px;
}
.link-btn:hover { color: var(--accent); }

/* ============ HEADER (fixo, transparente -> sólido) ============ */
.site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}

.header {
    height: var(--head-h);
    transition: background .3s ease, box-shadow .3s ease;
    background: transparent;
}
.site-head.scrolled .header {
    background: #2a3890;
    box-shadow: 0 4px 24px rgba(19,28,74,.3);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; gap: 20px;
}
.logo img { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 9px 14px; border-radius: 10px;
    color: #fff; font-size: .92rem; font-weight: 500;
    transition: color .2s, background .2s;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.nav-link:hover { color: var(--accent); background: rgba(255,255,255,.1); }
.btn-nav { margin-left: 10px; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px;
}
.nav-toggle span {
    width: 26px; height: 3px; border-radius: 3px;
    background: #fff; transition: .3s;
    box-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    color: #fff;
    padding: calc(var(--head-h) + 48px) 0 160px;
    overflow: hidden;
    background: var(--primary-deep);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    animation: heroFade 24s ease-in-out infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade {
    0%    { opacity: 0; transform: scale(1.08); }
    5%    { opacity: 1; }
    25%   { opacity: 1; }
    32%   { opacity: 0; transform: scale(1); }
    100%  { opacity: 0; }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(19,28,74,.82) 0%, rgba(29,42,110,.55) 45%, rgba(19,28,74,.88) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 780px;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(243,124,48,.16);
    border: 1px solid rgba(243,124,48,.55);
    color: #ffc598;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 8px 18px; border-radius: 50px;
    margin-bottom: 26px;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-size: clamp(2.2rem, 5.6vw, 4rem);
    line-height: 1.1; font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.hl {
    background: linear-gradient(120deg, var(--accent), #ffab62);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.1rem; font-weight: 300;
    color: rgba(255,255,255,.88);
    max-width: 620px; margin: 0 auto 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 36px; }
.hero-chips {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.hero-chips li {
    font-size: .85rem; font-weight: 500;
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    padding: 9px 18px; border-radius: 50px;
    backdrop-filter: blur(6px);
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-chips li::before {
    content: ''; width: 16px; height: 16px; flex: 0 0 16px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-wave {
    position: absolute; left: 0; right: 0; bottom: -1px;
    width: 100%; height: 90px; z-index: 3;
    display: block;
}

/* ============ TRUSTBAR ============ */
.trustbar { position: relative; z-index: 5; margin-top: -64px; }
.trustbar-grid {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
}
.trust-item {
    padding: 26px 18px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    border-right: 1px solid var(--border);
    transition: background .25s;
}
.trust-item:hover { background: var(--accent-soft); }
.trust-item:last-child { border-right: 0; }
.trust-num {
    font-family: var(--font-head);
    font-size: 1.9rem; font-weight: 800; color: var(--accent);
    line-height: 1;
}
.trust-label { font-size: .8rem; color: var(--muted); line-height: 1.35; text-align: left; }

/* ============ SEÇÕES ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark {
    background:
        radial-gradient(circle at 15% 20%, rgba(243,124,48,.14), transparent 40%),
        linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
}
.section-dark .section-head p { color: rgba(255,255,255,.7); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block;
    color: var(--accent); font-size: .78rem; font-weight: 700;
    font-family: var(--font-head);
    letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2, .split-head h2, .about-content h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 700; color: var(--primary);
    line-height: 1.22; letter-spacing: -.01em;
    margin-bottom: 14px;
}
.section-dark .section-head h2 { color: #fff; }
.hl-accent { color: var(--accent); }
.section-head p, .split-head p { color: var(--muted); font-size: 1rem; }

/* ============ SERVIÇOS (título + animação / grid de cards) ============ */
.services-top {
    display: grid; grid-template-columns: 1fr .9fr;
    gap: 48px; align-items: center;
    margin-bottom: 56px;
}
.section-head-left { text-align: left; margin: 0; }

.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    counter-reset: svc;
}
.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
    display: flex; flex-direction: column; gap: 12px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card::before {
    counter-increment: svc;
    content: "0" counter(svc);
    position: absolute; top: 14px; right: 20px;
    font-family: var(--font-head);
    font-size: 2.4rem; font-weight: 800;
    color: var(--border);
    line-height: 1;
}
.service-card::after {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--accent);
    transform: scaleY(0); transform-origin: top;
    transition: transform .3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(243,124,48,.45);
}
.service-card:hover::before { color: var(--accent-soft); }
.service-card:hover::after { transform: scaleY(1); }
.service-card h3 { font-size: 1.08rem; color: var(--primary); font-weight: 700; }
.service-card p { font-size: .89rem; color: var(--muted); flex: 1; }
.service-icon {
    width: 52px; height: 52px; flex: 0 0 52px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: grid; place-items: center;
    transition: background .25s;
}
.service-icon svg { width: 25px; height: 25px; fill: var(--accent); transition: fill .25s; }
.service-card:hover .service-icon { background: var(--accent); }
.service-card:hover .service-icon svg { fill: #fff; }
.service-link {
    background: none; border: 0; padding: 0;
    align-self: flex-start;
    color: var(--primary); font-weight: 600; font-size: .86rem;
    font-family: var(--font-head);
    display: inline-flex; align-items: center; gap: 8px;
    transition: color .2s;
}
.service-link span { transition: transform .2s; }
.service-link:hover { color: var(--accent); }
.service-link:hover span { transform: translateX(4px); }

/* --- Ilustração animada: casa + telhado em construção --- */
.services-visual { position: relative; }
.services-visual svg { width: 100%; max-width: 340px; height: auto; display: block; margin-inline: auto; }

.house-body { animation: riseIn .9s cubic-bezier(.2,.8,.3,1) both; }
@keyframes riseIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

.tile-row {
    opacity: 0;
    animation: tileIn 9s ease-in-out infinite;
}
.tile-row.r1 { animation-delay: .5s; }
.tile-row.r2 { animation-delay: 1.2s; }
.tile-row.r3 { animation-delay: 1.9s; }
.tile-row.r4 { animation-delay: 2.6s; }
@keyframes tileIn {
    0%   { opacity: 0; transform: translateY(-14px); }
    6%   { opacity: 1; transform: translateY(0); }
    84%  { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(0); }
}

.crane-load {
    transform-box: view-box;
    transform-origin: 230px 66px;
    animation: sway 4.5s ease-in-out infinite;
}
@keyframes sway {
    0%, 100% { transform: rotate(-7deg); }
    50%      { transform: rotate(7deg); }
}

.cloud { animation: drift 11s ease-in-out infinite alternate; }
.cloud-slow { animation-duration: 17s; animation-delay: -6s; }
@keyframes drift {
    from { transform: translateX(-16px); }
    to   { transform: translateX(16px); }
}

.sun {
    transform-box: fill-box;
    transform-origin: center;
    animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}



/* ============ TIPOS DE TELHAS (grid 4 colunas) ============ */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(243,124,48,.5);
}
.tile-card img {
    width: 100%; aspect-ratio: 4/3;
    object-fit: cover; display: block;
}
.tile-body { padding: 18px 20px 20px; }
.tile-body h3 {
    font-family: var(--font-head); font-size: 1rem;
    color: var(--primary); margin-bottom: 8px;
}
.tile-body p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ============ REGIÕES ATENDIDAS (GEO) ============ */
.region-sub {
    font-family: var(--font-head); font-size: .95rem;
    color: var(--primary); text-transform: uppercase;
    letter-spacing: .08em;
    margin: 26px 0 14px;
    text-align: center;
}
.region-sub:first-of-type { margin-top: 0; }
.region-chips {
    list-style: none;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px;
    max-width: 860px; margin: 0 auto;
}
.region-chips li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .88rem; font-weight: 500; color: var(--primary);
    transition: border-color .25s, background .25s, color .25s, transform .2s;
}
.region-chips li:hover {
    border-color: var(--accent);
    background: var(--accent); color: #fff;
    transform: translateY(-2px);
}
.region-chips li a { display: block; margin: -9px -18px; padding: 9px 18px; color: inherit; text-decoration: none; }

/* ============ PÁGINAS INTERNAS (localidade / serviço) ============ */
.local-text p {
    color: var(--text); font-size: 1rem; line-height: 1.75;
    margin-bottom: 16px; max-width: 780px;
}
.local-text p strong { color: var(--primary); }
.local-testimonial {
    max-width: 640px; margin: 36px auto 0;
    text-align: center;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}
.local-testimonial p {
    font-size: 1.05rem; font-style: italic; color: var(--primary);
    margin-bottom: 10px;
}
.local-testimonial strong { color: var(--accent); font-size: .85rem; }
.steps-track.steps-flex {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.page-hero {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, #3a4bb5 100%);
    color: #fff;
    padding: calc(var(--head-h) + 64px) 0 64px;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800; line-height: 1.15; margin-bottom: 14px;
}
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 28px; }
.page-hero .hl { color: var(--accent); }
.page-hero-actions {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.breadcrumb {
    font-size: .82rem; color: rgba(255,255,255,.65);
    margin-bottom: 18px;
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--accent); }
.check-grid { max-width: 720px; margin-inline: auto; }
.service-chips li a { color: var(--primary); }

/* ============ ACORDEÃO (FAQ) ============ */
.split {
    display: grid; grid-template-columns: .9fr 1.1fr;
    gap: 64px; align-items: start;
}
.split-head { position: sticky; top: calc(var(--head-h) + 32px); }
.split-head .btn { margin-top: 22px; }

.acc-list { display: grid; gap: 12px; }
.acc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.acc[open] {
    border-color: rgba(243,124,48,.5);
    box-shadow: var(--shadow);
}
.acc summary {
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600; font-size: 1rem; color: var(--primary);
    transition: color .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--accent); }
.acc-icon {
    position: relative;
    width: 30px; height: 30px; flex: 0 0 30px;
    border-radius: 50%;
    background: var(--bg-soft);
    transition: background .25s, transform .3s;
}
.acc-icon::before, .acc-icon::after {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 2px; border-radius: 2px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: background .25s, transform .3s;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc-icon { background: var(--accent); transform: rotate(45deg); }
.acc[open] .acc-icon::before, .acc[open] .acc-icon::after { background: #fff; }
.acc > p {
    padding: 0 24px 22px;
    font-size: .9rem; color: var(--muted);
    max-width: 56ch;
}

/* ============ COMO FUNCIONA (timeline) ============ */
.steps-track {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    position: relative;
    counter-reset: stp;
}
.steps-track::before {
    content: '';
    position: absolute; top: 26px;
    left: 6%; right: 6%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-dot {
    position: relative; z-index: 2;
    width: 52px; height: 52px; margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-head);
    font-weight: 800; font-size: 1.15rem;
    display: grid; place-items: center;
    box-shadow: 0 8px 20px rgba(243,124,48,.25);
    transition: background .25s, color .25s, transform .25s;
}
.step:hover .step-dot {
    background: var(--accent); color: #fff;
    transform: scale(1.1);
}
.step h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--muted); }

/* ============ GALERIA / CARROSSEL ============ */
.carousel { position: relative; }
.carousel-full { width: 100%; padding-inline: 3vw; }
.carousel-track {
    display: flex; gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-dots {
    display: flex; gap: 8px; justify-content: center;
    margin-top: 18px;
}
.carousel-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    border: 0; padding: 0;
    background: rgba(255,255,255,.3);
    transition: background .25s, transform .25s;
}
.carousel-dots button.active { background: var(--accent); transform: scale(1.3); }

.gallery-item {
    position: relative; display: block;
    flex: 0 0 calc(25% - 14px);
    scroll-snap-align: start;
    border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 14px 36px rgba(0,0,0,.3);
    cursor: zoom-in;
}
.gallery-item img, .gallery-item video {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
    display: block; background: #0e1533;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.07); }
.gallery-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(243,124,48,.92); color: #fff;
    display: grid; place-items: center;
    font-size: 1.2rem; padding-left: 4px;
    box-shadow: 0 10px 26px rgba(0,0,0,.4);
    pointer-events: none;
}
.lightbox-caption:empty { display: none; }

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed; inset: 0; z-index: 1100;
    display: grid; place-items: center;
    padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-overlay {
    position: absolute; inset: 0;
    background: rgba(10,14,32,.92);
    animation: fadeIn .25s ease;
}
.lightbox-figure {
    position: relative; z-index: 2;
    max-width: min(1000px, 92vw);
    margin: 0;
    animation: slideUp .3s ease;
}
.lightbox-img, .lightbox-video {
    max-width: 100%; max-height: 80vh;
    width: auto; height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    margin-inline: auto;
    display: block;
}
.lightbox-video[hidden], .lightbox-img[hidden] { display: none; }
.lightbox-caption {
    text-align: center;
    color: rgba(255,255,255,.85);
    font-family: var(--font-head);
    font-size: .92rem;
    margin-top: 16px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 24px; z-index: 3;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: 1.7rem; line-height: 1;
    transition: background .2s;
}
.lightbox-close:hover { background: var(--accent); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: 1.3rem;
    display: grid; place-items: center;
    transition: background .2s;
}
.lightbox-nav:hover { background: var(--accent); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============ SOLUÇÕES PARA AMBIENTES ============ */
.solutions-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.solution-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(41,56,145,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-media {
    aspect-ratio: 16/10; overflow: hidden; position: relative;
}
.solution-media::after {
    content: '';
    position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(transparent, rgba(19,28,74,.45));
}
.solution-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.solution-card:hover .solution-media img { transform: scale(1.06); }
.solution-body {
    padding: 24px 24px 26px;
    display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.solution-body h3 { font-size: 1.1rem; color: var(--primary); }
.solution-body p { font-size: .89rem; color: var(--muted); flex: 1; }

/* ============ PAGAMENTO FACILITADO ============ */
.section-pay {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
    overflow: hidden;
}
.section-pay::before {
    content: '';
    position: absolute; right: -140px; top: -140px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243,124,48,.35), transparent 65%);
}
.section-pay::after {
    content: '';
    position: absolute; left: -80px; bottom: -100px;
    width: 300px; height: 300px; border-radius: 50%;
    border: 50px solid rgba(255,255,255,.05);
}
.pay-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 56px; align-items: center;
}
.pay-text h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: #fff; font-weight: 700;
    line-height: 1.25; margin-bottom: 14px;
}
.pay-text p { color: rgba(255,255,255,.82); font-size: .97rem; margin-bottom: 20px; }
.pay-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 11px;
    margin-bottom: 30px; max-width: 480px;
}
.pay-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.92);
}
.pay-list li::before {
    content: '';
    width: 20px; height: 20px; flex: 0 0 20px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pay-flags-card {
    background: #fff;
    border-radius: 22px;
    padding: 36px 34px;
    display: grid; gap: 16px; justify-items: center; text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
    transform: rotate(1.6deg);
    border-top: 5px solid var(--accent);
    transition: transform .3s ease;
}
.pay-flags-card:hover { transform: rotate(0) scale(1.02); }
.pay-flags-card strong {
    font-family: var(--font-head);
    color: var(--primary); font-size: 1rem;
}
.pay-flags-card img { width: 100%; }
.pay-note { font-size: .8rem; color: var(--muted); }

.cta-center { text-align: center; margin-top: 48px; }

/* ============ SOBRE ============ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1.05fr;
    gap: 64px; align-items: center;
}
.about-media { position: relative; padding-bottom: 70px; }
.about-img-main {
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}
.about-img-small {
    position: absolute; right: -8px; bottom: 0;
    width: 46%;
    border-radius: 18px;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute; left: -14px; bottom: 26px;
    background: var(--primary); color: #fff;
    border-radius: var(--radius);
    padding: 18px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.7rem; font-weight: 800;
    color: var(--accent); line-height: 1.1;
}
.about-badge span { font-size: .76rem; opacity: .85; }

.about-content p { color: var(--muted); margin-bottom: 14px; font-size: .96rem; }

.check-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin: 22px 0 30px;
}
.check-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: .9rem; color: var(--text); font-weight: 500;
}
.check-list li::before {
    content: '';
    width: 22px; height: 22px; flex: 0 0 22px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ============ DEPOIMENTOS ============ */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
    position: relative;
    background: #fff; border-radius: var(--radius);
    padding: 34px 28px 26px;
    border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .25s, box-shadow .25s;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quote-mark {
    position: absolute; top: 10px; right: 24px;
    font-family: var(--font-head);
    font-size: 4.5rem; line-height: 1;
    color: var(--accent-soft);
    font-weight: 800;
    pointer-events: none;
}
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 3px; }
.testimonial p { font-size: .92rem; color: var(--text); flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-family: var(--font-head);
    font-weight: 700; font-size: .85rem;
    display: grid; place-items: center;
    flex: 0 0 44px;
}
.testimonial footer span:last-child { display: grid; }
.testimonial footer strong { color: var(--primary); font-size: .92rem; font-family: var(--font-head); }
.testimonial footer small { color: var(--muted); font-size: .78rem; }

/* ============ CTA FINAL ============ */
.cta-final { padding: 40px 0 100px; background: var(--bg-soft); }
.cta-card {
    position: relative;
    background-color: var(--primary-deep);
    background-size: cover;
    background-position: center;
    border-radius: 26px;
    padding: 60px 56px;
    display: grid; grid-template-columns: 1.2fr .8fr;
    gap: 44px; align-items: center;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.cta-card::before {
    content: ''; position: absolute;
    right: -100px; top: -100px;
    width: 340px; height: 340px; border-radius: 50%;
    background: rgba(243,124,48,.25);
}
.cta-card::after {
    content: ''; position: absolute;
    left: -60px; bottom: -80px;
    width: 240px; height: 240px; border-radius: 50%;
    border: 46px solid rgba(255,255,255,.06);
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; margin-bottom: 12px; }
.cta-text p { opacity: .85; font-size: .95rem; max-width: 520px; }
.cta-actions {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 14px;
}
.cta-actions .btn { justify-content: center; }
.cta-final .btn-white { color: var(--accent-dark); }
.cta-final .btn-white:hover { background: #f1f1f1; }
.cta-final .btn-outline-light:hover { color: var(--primary); }

/* ============ FOOTER ============ */
.footer { background: var(--primary-deep); color: #fff; }
.footer-grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr;
    gap: 40px; padding: 64px 0 44px;
}
.footer-logo img {
    height: 80px; width: auto;
    margin-bottom: 16px;
}
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); max-width: 300px; }
.footer-col h4 {
    font-size: .95rem; margin-bottom: 18px;
    color: var(--accent);
    letter-spacing: .04em;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn, .footer-col li > span {
    color: rgba(255,255,255,.72); font-size: .88rem;
    transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-contacts li a, .footer-contacts li span, .footer-contacts .link-btn {
    display: inline-flex; align-items: center; gap: 9px;
}
.footer-contacts svg { fill: var(--accent); flex: 0 0 auto; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0; text-align: center;
    font-size: .8rem; color: rgba(255,255,255,.5);
}
.credit-link { color: var(--accent); font-weight: 600; }
.credit-link:hover { color: #ffc598; }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(19,28,74,.62);
    backdrop-filter: blur(5px);
    animation: fadeIn .25s ease;
}
.modal-box {
    position: relative;
    background: #fff; border-radius: 22px;
    width: min(460px, 100%);
    max-height: 92vh; overflow-y: auto;
    padding: 32px 30px;
    box-shadow: 0 34px 90px rgba(0,0,0,.4);
    animation: slideUp .3s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(.97); } }

.modal-close {
    position: absolute; top: 14px; right: 16px;
    background: var(--bg-soft); border: 0;
    width: 34px; height: 34px; border-radius: 50%;
    font-size: 1.4rem; line-height: 1; color: var(--muted);
    transition: .2s;
}
.modal-close:hover { background: var(--accent); color: #fff; }

.modal-head { margin-bottom: 22px; }
.modal-head h3 { font-size: 1.3rem; color: var(--primary); }
.modal-head p { font-size: .85rem; color: var(--muted); margin-top: 2px; }

.modal-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--text); }
.field input, .field select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit; font-size: .92rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(41,56,145,.1);
}
.field input.invalid, .field select.invalid { border-color: #e04444; }

.form-error { color: #e04444; font-size: .82rem; font-weight: 500; }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; }

/* ============ AVISO DE COOKIES ============ */
.cookie-banner {
    position: fixed; left: 22px; bottom: 22px; z-index: 1500;
    width: min(400px, calc(100vw - 44px));
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 22px;
    display: grid; gap: 14px;
    animation: slideUp .4s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-text strong {
    font-family: var(--font-head);
    color: var(--primary); font-size: .95rem;
    display: block; margin-bottom: 4px;
}
.cookie-text p { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.cookie-text a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; }

/* ============ BOTÃO FLUTUANTE ============ */
.float-whatsapp {
    position: fixed; right: 22px; bottom: 22px; z-index: 200;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--accent); border: 0;
    display: grid; place-items: center;
    box-shadow: 0 12px 32px rgba(243,124,48,.45);
    transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    border: 3px solid var(--accent);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ============ PÁGINA INTERNA ============ */
.page-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(243,124,48,.2), transparent 45%),
        linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    padding: calc(var(--head-h) + 70px) 0 80px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px 0 10px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 24px; }

.prose h2 { color: var(--primary); font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 12px; }

/* ============ ANIMAÇÃO DE ENTRADA ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-head { position: static; }
    .services-top { grid-template-columns: 1fr; gap: 30px; }
    .section-head-left { text-align: center; margin: 0 auto; }
    .services-visual { max-width: 460px; margin-inline: auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-track { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .steps-track::before { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-small { right: 8px; }
    .cta-card { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
    .cta-text p { margin-inline: auto; }
    .solutions-grid { grid-template-columns: 1fr; }
    .gallery-item { flex-basis: calc(33.333% - 12px); }
    .tiles-grid { grid-template-columns: repeat(2, 1fr); }
    .pay-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav {
        position: fixed; top: calc(var(--head-h)); left: 4%; right: 4%;
        background: #fff;
        flex-direction: column; align-items: stretch;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 18px;
        transform: translateY(-16px);
        opacity: 0; visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav-link { padding: 13px 14px; color: var(--text); text-shadow: none; }
    .nav-link:hover { color: var(--primary); background: var(--bg-soft); }
    .btn-nav { margin: 8px 0 0; }
    .nav-toggle { display: flex; }

    .hero { padding-bottom: 130px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-wave { height: 54px; }

    .trustbar { margin-top: -46px; }
    .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item { border-bottom: 1px solid var(--border); padding: 20px 14px; }
    .trust-item:nth-child(2n) { border-right: 0; }
    .trust-item:nth-child(n+3) { border-bottom: 0; }
    .trust-num { font-size: 1.5rem; }

    .solutions-grid, .services-grid, .testimonials-grid,
    .steps-track, .check-list { grid-template-columns: 1fr; }

    .gallery-item { flex-basis: 100%; aspect-ratio: 4/5; }
    .gallery-item img, .gallery-item video { object-position: center top; }
    .tiles-grid { grid-template-columns: 1fr; }



    .pay-text { text-align: center; }
    .pay-list { grid-template-columns: 1fr; margin-inline: auto; }
    .pay-list li { justify-content: center; }
    .pay-text .btn { width: 100%; justify-content: center; }
    .pay-flags-card { transform: none; padding: 28px 22px; }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .section { padding: 68px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-card { padding: 40px 24px; }
    .about-badge { left: 8px; }
}
