/* ============================================================
   DANYLOG — Site vitrine premium
   Style : élégant & contrasté (sombre + or)
   ============================================================ */

:root {
  /* Palette — bleu nuit / doré / blanc */
  --bg:        #070d1c;
  --bg-2:      #0a1122;
  --bg-3:      #0e1730;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line:      rgba(174, 195, 235, 0.12);
  --line-2:    rgba(174, 195, 235, 0.20);

  --text:      #f5f8ff;
  --muted:     #aeb9d2;
  --muted-2:   #7482a1;

  --blue:      #3d7bff;
  --blue-2:    #6fa0ff;

  --gold:      #d9b366;
  --gold-2:    #f3d795;
  --gold-3:    #b8862f;
  --gold-grad: linear-gradient(135deg, #f3d795 0%, #d9b366 45%, #b8862f 100%);

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;

  --ease:      cubic-bezier(.22, 1, .36, 1);
  --shadow:    0 30px 60px -20px rgba(0,0,0,.7);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: .1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }

/* ============================================================
   Décor de fond
   ============================================================ */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(61,123,255,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(217,179,102,.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.bg-glow--gold { width: 520px; height: 520px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(217,179,102,.24), transparent 70%); }
.bg-glow--deep { width: 640px; height: 640px; bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(61,123,255,.28), transparent 70%); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,12,.72);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(8deg); }
.brand__name {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.15rem; letter-spacing: .28em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .82rem; letter-spacing: .04em; color: var(--muted); font-weight: 500; transition: color .25s; position: relative; }
.nav a:not(.nav__cta):hover { color: var(--text); }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line-2); padding: 9px 18px; border-radius: 40px; color: var(--text);
  transition: border-color .3s, background .3s, color .3s;
}
.nav__cta:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(217,179,102,.06); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }

/* ============================================================
   Boutons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  padding: 14px 28px; border-radius: 44px; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn--gold {
  background: var(--gold-grad); color: #241a06;
  box-shadow: 0 10px 30px -10px rgba(217,179,102,.5);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(217,179,102,.65); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-2); transform: translateY(-3px); box-shadow: 0 14px 34px -14px rgba(61,123,255,.5); }
.btn--full { width: 100%; }

/* ============================================================
   Typographie utilitaires
   ============================================================ */
.eyebrow {
  font-size: .74rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -.01em;
  color: var(--text);
}
.section__sub { color: var(--muted); max-width: 620px; margin-top: 16px; font-size: 1.02rem; }
.section__head .section__sub { margin-inline: auto; }
.section__sub em { color: var(--muted-2); font-style: italic; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: clamp(70px, 12vh, 130px) 0 90px; }
.hero__inner { max-width: 920px; margin-inline: auto; text-align: center; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.06; letter-spacing: -.015em;
  margin-bottom: 26px;
}
.hero__title em {
  font-style: italic;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 660px; margin: 0 auto 38px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 64px; }

.hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 64px); list-style: none; }
.hero__stats li { display: flex; flex-direction: column; }
.stat__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--text); display: inline; }
.stat__plus { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); vertical-align: top; }
.stat__label { font-size: .8rem; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrollpulse 2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--surface); }
.marquee__track { display: flex; gap: 34px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted-2); }
.marquee__track span:nth-child(4n+1){ color: var(--blue-2); }
.marquee__track span:nth-child(2n){ color: var(--gold-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Sections génériques
   ============================================================ */
.section { padding: clamp(72px, 11vh, 130px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.section__head { max-width: 760px; margin: 0 auto 58px; text-align: center; }

/* ============================================================
   Cards services
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--gold-grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: .8; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  color: var(--gold-2); background: rgba(217,179,102,.08); border: 1px solid rgba(217,179,102,.18);
  margin-bottom: 22px; transition: transform .45s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   Steps / approche
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--line-2); }
.step__num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ============================================================
   Split / expertise
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__lead { color: var(--muted); font-size: 1.05rem; margin: 20px 0 26px; }
.checklist { list-style: none; margin-bottom: 34px; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text); font-weight: 400; }
.checklist li::before {
  content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold);
}

.split__panel { display: grid; }
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line-2); border-radius: 22px; padding: 34px 30px;
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.glass-card__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.glass-card__row span { color: var(--muted); font-size: .9rem; }
.glass-card__row strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); font-weight: 600; }
.glass-card__bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.06); margin-bottom: 24px; overflow: hidden; }
.glass-card__bar i { display: block; height: 100%; width: var(--w); background: var(--gold-grad); border-radius: 4px; transform-origin: left; }
.glass-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.glass-card__tags span {
  font-size: .74rem; letter-spacing: .05em; color: var(--muted); padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 40px;
}

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .45s var(--ease), border-color .45s var(--ease); }
.proj:hover { transform: translateY(-6px); border-color: var(--line-2); }
.proj__media {
  position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(217,179,102,.22), transparent 55%),
    linear-gradient(160deg, #141d33, #0b1120);
}
.proj__media--2 { background: radial-gradient(120% 120% at 80% 0%, rgba(61,123,255,.28), transparent 55%), linear-gradient(160deg, #141d33, #0b1120); }
.proj__media--3 { background: radial-gradient(120% 120% at 50% 100%, rgba(217,179,102,.20), transparent 55%), linear-gradient(160deg, #141d33, #0b1120); }
.proj__media::after {
  content: attr(data-tag); position: absolute; top: 14px; left: 14px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2);
  background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 5px 12px; border-radius: 40px;
}
.proj h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; padding: 22px 24px 6px; }
.proj p { color: var(--muted); font-size: .9rem; padding: 0 24px 24px; }
/* ===== WhatsApp ===== */
.contact__ico--wa { color: #25d366; border-color: rgba(37,211,102,.5); }
.contact__ico svg { width: 20px; height: 20px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  background: #25d366; color: #04140e; font-family: var(--sans); font-weight: 600; font-size: .92rem;
  padding: 13px 24px; border-radius: 44px; box-shadow: 0 10px 26px -12px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-wa svg { width: 20px; height: 20px; }
.btn-wa:hover { transform: translateY(-3px); background: #20c05a; box-shadow: 0 16px 34px -12px rgba(37,211,102,.75); }
.footer__nav a.foot-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: #25d366; color: #04140e; font-weight: 600; font-size: .82rem; padding: 8px 15px; border-radius: 40px; transition: transform .25s, background .25s; }
.footer__nav a.foot-wa svg { width: 16px; height: 16px; }
.footer__nav a.foot-wa:hover { background: #20c05a; transform: translateY(-2px); color: #04140e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.proj__logo { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; z-index: 1; }
.proj__logo img { max-height: 64%; max-width: 68%; width: auto; object-fit: contain; border-radius: 12px; transition: transform .45s var(--ease); }
.proj:hover .proj__logo img { transform: scale(1.05); }

/* ============================================================
   Avis clients
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px 28px; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.review::before {
  content: "\201C"; position: absolute; top: 6px; right: 24px;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold);
  opacity: .16; pointer-events: none;
}
.review__stars { color: var(--gold); letter-spacing: .18em; font-size: 1rem; margin-bottom: 18px; }
.review blockquote {
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; font-style: italic;
  color: var(--text); margin-bottom: 24px; flex-grow: 1;
}
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  color: #0a1020; background: var(--gold-grad);
  box-shadow: 0 6px 16px -6px rgba(217,179,102,.5);
}
.review__who { display: flex; flex-direction: column; line-height: 1.35; }
.review__who strong { font-weight: 600; color: var(--text); }
.review__who em { font-style: normal; font-size: .84rem; color: var(--blue-2); }

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.contact__info { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.contact__info li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact__info a:hover { color: var(--gold-2); }
.contact__ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--gold); font-size: 1.05rem; flex-shrink: 0;
}

.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .82rem; color: var(--muted); letter-spacing: .03em; font-weight: 500; }
.field label .opt { color: var(--muted-2); font-weight: 300; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--text); font-weight: 400;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .25s, box-shadow .25s; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,179,102,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c96a5b; box-shadow: 0 0 0 3px rgba(201,106,91,.12); }
.form-note { font-size: .88rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--gold-2); }
.form-note.err { color: #e08a7c; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; margin-top: 40px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 48px; }
.footer__brand .brand__name { font-size: 1.2rem; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 340px; font-size: .95rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__nav h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer__nav a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 10px; transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .82rem; }
.footer__legal { display: inline-flex; gap: 8px; align-items: center; }
.footer__legal a { color: var(--muted); transition: color .25s; }
.footer__legal a:hover { color: var(--gold-2); }

/* ============================================================
   Page Mentions légales
   ============================================================ */
.legal-page { padding-top: clamp(50px, 8vh, 90px); }
.legal { max-width: 820px; margin-inline: auto; }
.legal__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 12px; }
.legal__updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 40px; }
.legal__block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal__block h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold-2); margin-bottom: 14px; }
.legal__block p { color: var(--muted); margin-bottom: 12px; }
.legal__block ul { list-style: none; display: grid; gap: 9px; }
.legal__block li { color: var(--muted); padding-left: 20px; position: relative; }
.legal__block li::before { content: "—"; position: absolute; left: 0; color: var(--blue-2); }
.legal__block strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-2); }
.legal__back { margin-top: 40px; }
.legal__back a { font-weight: 600; text-decoration: none; }

/* ============================================================
   Spotlight — DevOps Mainframe
   ============================================================ */
.spotlight-sec {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(217,179,102,.10), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, rgba(61,123,255,.10), transparent 55%);
  border-block: 1px solid var(--line);
}
.spotlight-sec .section__title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spotlight-card { position: relative; display: flex; flex-direction: column; gap: 18px; }
.spotlight-card__badge {
  align-self: flex-start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: #241a06; background: var(--gold-grad); padding: 7px 15px; border-radius: 40px;
}
.spotlight-card__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--text); }
.refs { margin: 6px 0 30px; }
.refs__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.refs__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.refs__list li { position: relative; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--text); }
.refs__list li:not(:last-child)::after { content: "•"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: .7rem; color: var(--gold); }
.spotlight-card .glass-card__tags span { font-size: .8rem; padding: 8px 15px; border-color: var(--line-2); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .cards, .steps, .portfolio, .reviews { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; }
  .split__panel { order: -1; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(12,12,16,.97); backdrop-filter: blur(12px); padding: 20px 26px 30px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav.open .nav__cta { border: 1px solid var(--gold); text-align: center; margin-top: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .cards, .steps, .portfolio, .reviews { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .contact__form { padding: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
