/* =========================================================
   Mahir Paysage — Bento / Glass / Émeraude & Lime
   ========================================================= */
:root {
  --bg: #04170f;
  --bg-2: #072519;
  --emerald: #19a874;
  --emerald-2: #0f7a55;
  --emerald-soft: #5fd3a3;
  --lime: #c4ef4f;
  --lime-2: #a8d93a;
  --ink: #eaf6ee;
  --ink-dark: #0a2016;
  --muted: #9dbcab;
  --glass: rgba(220, 255, 236, .055);
  --glass-strong: rgba(220, 255, 236, .09);
  --glass-border: rgba(210, 255, 230, .13);
  --radius: 28px;
  --radius-sm: 18px;
  --gap: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--ink-dark); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(1220px, 92%); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--lime); color: var(--ink-dark); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------- Ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #0b3a27 0%, var(--bg) 60%); }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora .b1 { width: 70vmax; height: 70vmax; left: -20vmax; top: -25vmax;
  background: radial-gradient(circle, rgba(25, 168, 116, .38), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { width: 55vmax; height: 55vmax; right: -18vmax; top: 20vh;
  background: radial-gradient(circle, rgba(196, 239, 79, .16), transparent 60%); animation: drift2 32s ease-in-out infinite alternate; }
.aurora .b3 { width: 60vmax; height: 60vmax; left: 20vw; bottom: -35vmax;
  background: radial-gradient(circle, rgba(15, 122, 85, .35), transparent 62%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(12vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-14vw, 18vh, 0) scale(.9); } }

.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--emerald), var(--lime)); }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(155deg, rgba(220, 255, 236, .09), rgba(220, 255, 236, .03));
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -30px rgba(0, 0, 0, .6);
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease), color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink-dark); box-shadow: 0 10px 30px -12px rgba(196, 239, 79, .55); }
.btn-lime:hover { background: #d3f76c; box-shadow: 0 16px 36px -12px rgba(196, 239, 79, .7); }
.btn-ghost { background: rgba(220, 255, 236, .06); border-color: var(--glass-border); color: var(--ink); }
.btn-ghost:hover { background: rgba(220, 255, 236, .12); border-color: rgba(196, 239, 79, .5); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-lg { width: 30px; height: 30px; stroke-width: 1.6; }
.i-xl { width: 40px; height: 40px; stroke-width: 1.4; }
.i .fill { fill: currentColor; stroke: none; }

/* ---------- Header ---------- */
.topbar { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: top .4s var(--ease); }
.topbar-inner { width: min(1220px, 94%); margin-inline: auto; display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 999px; transition: background .4s, padding .4s var(--ease); }
.topbar.scrolled { top: 8px; }
.topbar.scrolled .topbar-inner { background: rgba(4, 23, 15, .72); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; }
.brand-text { font-weight: 500; }
.brand-text b { font-weight: 800; color: var(--lime); margin-left: 2px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--emerald), var(--emerald-2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 15px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(220, 255, 236, .08); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(220,255,236,.06);
  position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Bento base ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { position: relative; border-radius: var(--radius); padding: 28px; overflow: hidden; isolation: isolate; margin: 0; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(196, 239, 79, .14), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot { transition: transform .5s var(--ease), border-color .4s; }
.spot:hover { border-color: rgba(196, 239, 79, .35); }

.t-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.t-arrow { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-dark); color: var(--lime); transition: transform .5s var(--ease); }
.t-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 40px; }
.hero-bento { grid-auto-rows: minmax(130px, auto); }
.t-hero { grid-column: 1 / 8; grid-row: 1 / 3; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.t-photo { grid-column: 8 / 13; grid-row: 1 / 3; padding: 0; min-height: 420px; border: 1px solid var(--glass-border); }
.t-zone { grid-column: 1 / 5; grid-row: 3; display: flex; align-items: center; gap: 16px; }
.t-stat { grid-column: 5 / 8; grid-row: 3; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.t-call { grid-column: 8 / 13; grid-row: 3; background: var(--lime); color: var(--ink-dark); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }

.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: rgba(196, 239, 79, .1); border: 1px solid rgba(196, 239, 79, .28); color: #dcf79a; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(196,239,79,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(196,239,79,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(196,239,79,0); } }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
h1 em { font-style: normal; color: var(--muted); font-weight: 500; }
.hl { background: linear-gradient(100deg, var(--lime) 10%, var(--emerald-soft) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.t-photo img { width: 100%; height: 115%; object-fit: cover; position: absolute; inset: -7.5% 0 0; will-change: transform; }
.t-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 23, 15, .65)); }
.caption-float { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation: ping 2.2s infinite; }

.t-call strong { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.t-call:hover .t-arrow, .c-phone:hover .t-arrow { transform: rotate(45deg) scale(1.08); }
.t-stat .big { font-family: var(--display); font-size: 4.2rem; font-weight: 800; line-height: .9; color: var(--lime); }
.t-zone .i { color: var(--lime); }
.t-zone strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.t-zone span { color: var(--muted); font-size: .92rem; }

/* Marquee */
.marquee { margin-top: 44px; overflow: hidden; border-block: 1px solid var(--glass-border); padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(220, 255, 236, .45); white-space: nowrap; }
.marquee span:nth-of-type(odd) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee i { color: var(--lime); font-style: normal; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0 0; }
.head { max-width: 720px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.head-row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.head-row > div { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-soft); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; }
.sub { color: var(--muted); font-size: 1.06rem; max-width: 640px; }

/* ---------- Services ---------- */
.services { grid-auto-rows: minmax(220px, auto); }
.svc { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 230px; }
.svc h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); max-width: 20ch; }
.svc p { color: var(--muted); max-width: 42ch; }
.svc .num { position: absolute; top: 24px; right: 26px; font-family: var(--display); font-weight: 700; font-size: .95rem; color: rgba(220, 255, 236, .35); }
.svc-ico { position: absolute; top: 24px; left: 26px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(196, 239, 79, .1); border: 1px solid rgba(196, 239, 79, .25); color: var(--lime); transition: transform .6s var(--ease), background .4s; }
.svc-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); background: var(--lime); color: var(--ink-dark); }
.svc-img { position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; opacity: .5; transform: scale(1.04);
  transition: transform 1.2s var(--ease), opacity .6s; }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 23, 15, .15) 0%, rgba(4, 23, 15, .92) 78%); }
.svc:hover .svc-img { transform: scale(1.1); opacity: .65; }
.s-1 { grid-column: 1 / 8; grid-row: span 2; min-height: 460px; }
.s-1 h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.s-2 { grid-column: 8 / 13; }
.s-3 { grid-column: 8 / 13; }
.s-4 { grid-column: 1 / 5; }
.s-5 { grid-column: 5 / 10; }
.s-6 { grid-column: 10 / 13; }

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.clients-grid .head { margin: 0; }
.audience { grid-template-columns: 1fr 1fr; }
.aud { display: flex; flex-direction: column; gap: 8px; min-height: 210px; justify-content: flex-end; }
.aud .i { position: absolute; top: 26px; left: 26px; color: var(--lime); transition: transform .6s var(--ease); }
.aud:hover .i { transform: translateY(-4px) scale(1.06); }
.aud h3 { font-size: 1.6rem; }
.aud p { color: var(--muted); font-size: .95rem; }
.audience .aud:nth-child(2) { transform: translateY(28px); }
.audience .aud:nth-child(4) { transform: translateY(28px); }
.audience .aud.reveal:nth-child(2):not(.is-in), .audience .aud.reveal:nth-child(4):not(.is-in) { transform: translateY(56px); }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); }
.filter { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: background .3s, color .3s; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--lime); color: var(--ink-dark); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: var(--gap); }
.g-item { position: relative; border: 1px solid var(--glass-border); border-radius: var(--radius-sm); overflow: hidden; padding: 0; background: var(--bg-2); text-align: left; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 23, 15, .85)); transition: opacity .5s; }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.g-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; font-size: .88rem; color: var(--muted);
  transform: translateY(6px); transition: transform .5s var(--ease); }
.g-cap b { font-family: var(--display); font-size: 1.12rem; color: var(--ink); font-weight: 700; }
.g-item:hover .g-cap { transform: translateY(0); }
.g-item::before { content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2016' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 20px no-repeat;
  transform: scale(0); transition: transform .45s var(--ease); }
.g-item:hover::before, .g-item:focus-visible::before { transform: scale(1); }
.g-item.is-hidden { display: none; }
.g-item.is-filtering { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } }
.note { margin-top: 16px; font-size: .85rem; color: rgba(157, 188, 171, .7); }

/* ---------- Méthode ---------- */
.steps { list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 10px; min-height: 250px; justify-content: flex-end; }
.step-n { position: absolute; top: 14px; right: 22px; font-family: var(--display); font-size: 5.5rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(196, 239, 79, .35); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step-lime { background: var(--lime); color: var(--ink-dark); }
.step-lime p { color: #2b4a1f; }
.step-lime .step-n { -webkit-text-stroke-color: rgba(10, 32, 22, .35); }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(72px, 10vw, 120px); }
.contact-bento { grid-auto-rows: minmax(210px, auto); }
.c-phone { grid-column: 1 / 6; grid-row: 1 / 3; background: linear-gradient(150deg, var(--lime), var(--lime-2)); color: var(--ink-dark);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(28px, 4vw, 44px); }
.c-phone strong { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.c-phone .c-sub { color: #2b4a1f; }
.c-phone .t-arrow { width: 64px; height: 64px; top: 28px; right: 28px; }
.c-phone .t-arrow svg { width: 26px; height: 26px; }
.c-phone::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 65%); }
.c-mail { grid-column: 6 / 13; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.c-wa { grid-column: 6 / 9; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.c-addr { grid-column: 9 / 13; padding: 0; display: flex; flex-direction: column; }
.c-mail .i, .c-wa .i { position: absolute; top: 26px; left: 28px; color: var(--lime); }
.c-mail strong, .c-wa strong, .c-addr strong { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.15; }
.c-mail strong.mail { overflow-wrap: anywhere; }
.c-sub { font-size: .92rem; color: var(--muted); }
.map-art { position: relative; flex: 1; min-height: 110px; background: linear-gradient(160deg, rgba(25, 168, 116, .25), rgba(25, 168, 116, .05)); }
.map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art path { fill: none; stroke: rgba(220, 255, 236, .22); stroke-width: 6; stroke-linecap: round; }
.pin { position: absolute; left: 52%; top: 48%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 6px rgba(196, 239, 79, .25); animation: ping 2.2s infinite; }
.addr-body { padding: 18px 26px 24px; display: flex; flex-direction: column; gap: 4px; }
.c-addr:hover .c-sub, .c-mail:hover .c-sub, .c-wa:hover .c-sub { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--glass-border); padding: 36px 0 110px; background: rgba(2, 12, 8, .5); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .9rem; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--lime); }
.copy { opacity: .7; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 12px; }
.wa-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .7), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .45s var(--ease); }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s var(--ease) infinite; }
.wa-btn svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover .wa-btn { transform: scale(1.08) rotate(-6deg); }
.wa-label { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: rgba(4, 23, 15, .85); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); white-space: nowrap; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label, .wa-float.peek .wa-label { opacity: 1; transform: none; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: var(--ink); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; }
.lightbox::backdrop { background: rgba(2, 12, 8, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 20px; object-fit: contain; animation: pop .5s var(--ease); }
.lightbox figcaption { font-family: var(--display); font-size: 1.1rem; color: var(--muted); text-align: center; }
.lightbox figcaption b { color: var(--ink); margin-right: 8px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(220, 255, 236, .08); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.lb-btn:hover { background: var(--lime); color: var(--ink-dark); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 20px; right: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
.js .audience .aud.reveal.is-in:nth-child(2), .js .audience .aud.reveal.is-in:nth-child(4) { transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: block; }
  .hide-sm { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 12px; border-radius: 24px;
    background: rgba(4, 23, 15, .94); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: pop .45s var(--ease); }
  .nav.open a { padding: 14px 18px; font-size: 1.05rem; }
  .topbar-inner { position: relative; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .t-hero, .t-photo, .s-1, .s-5, .c-phone, .c-mail { grid-column: 1 / -1 !important; }
  .t-call { grid-column: 1 / -1 !important; min-height: 150px; }
  .t-photo { min-height: 340px; }
  .s-1 { min-height: 380px; }
  .clients-grid { grid-template-columns: 1fr; }
  .audience .aud:nth-child(2), .audience .aud:nth-child(4),
  .js .audience .aud.reveal.is-in:nth-child(2), .js .audience .aud.reveal.is-in:nth-child(4) { transform: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .c-phone { min-height: 260px; }
  .head-row { align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --radius: 22px; --gap: 12px; }
  .hide-sm { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-top: 104px; }
  .bento, .steps { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1 !important; }
  .t-stat, .t-zone { min-height: 0; }
  .t-stat .big { font-size: 3.4rem; }
  .svc { min-height: 250px; padding-top: 100px; }
  .s-1 { min-height: 340px; }
  .aud { min-height: 180px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-cap { font-size: .78rem; left: 12px; bottom: 10px; }
  .g-cap b { font-size: .98rem; }
  .filters { border-radius: 20px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-btn { width: 58px; height: 58px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; padding: 16px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { justify-self: end; } .lb-next { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
