/* ============================================================
   ARTISANS DU VERRE — Vitrerie & Miroiterie
   Charte issue du logo : crème #FFFCF6 · taupe #8A7D63 · gris #545454
   ============================================================ */

:root {
  --bg: #FFFCF6;            /* crème du logo */
  --bg-alt: #F6F1E7;        /* papier */
  --surface: #FFFFFF;
  --ink: #2B2A27;           /* quasi-noir chaud */
  --text: #545454;          /* gris du logo */
  --text-soft: #8C8C8C;
  --accent: #8A7D63;        /* taupe/bronze du logo */
  --accent-dark: #6F6450;
  --accent-light: #EFE9DC;
  --line: #E7E0D2;
  --radius: 3px;
  --font-display: "Montserrat", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: #fff; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.05rem; letter-spacing: 0.06em; }

h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 58ch;
  font-weight: 400;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,252,246,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.5rem 1rem;
}
.topbar a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 246, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 40px -18px rgba(43,42,39,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.logo img { height: 72px; width: auto; transition: height 0.3s var(--ease); }
.site-footer .logo img { height: 96px; }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { width: 100%; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: scaleX(1); }
.btn span, .btn { z-index: 1; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(138,125,99,0.6); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: #fff; }
.btn > * { position: relative; }

.btn-label { position: relative; z-index: 1; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 24px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--ink); transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* ---------- Hero photo ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: kenburns 18s ease-in-out infinite alternate;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(255,252,246,0.55) 0%,
    rgba(255,252,246,0.35) 45%,
    rgba(255,252,246,0.05) 100%);
}

.hero-content {
  max-width: 660px;
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 30px 80px -30px rgba(43, 42, 39, 0.35);
}

.hero h1 {
  opacity: 0;
  transform: translateY(36px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}
.hero .eyebrow {
  opacity: 0;
  animation: fade 0.8s ease 0.05s forwards;
}
.hero .lead {
  margin: 1.6rem 0 2.4rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

.hero-meta {
  display: flex;
  gap: 2.6rem;
  margin-top: 3.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(84,84,84,0.25);
  flex-wrap: wrap;
  opacity: 0;
  animation: fade 1s ease 0.85s forwards;
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-meta div span { font-size: 0.82rem; color: var(--text); }

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  width: 1px; height: 56px;
  background: linear-gradient(var(--accent), transparent);
  overflow: visible;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { top: 0; opacity: 1; }
  80% { top: 50px; opacity: 0; }
  100% { top: 0; opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: scroll 38s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 1.6rem;
}
.marquee span i {
  font-style: normal;
  display: inline-block;
  width: 16px; height: 18px;
  background: url('../assets/icon.svg') no-repeat center / contain;
  opacity: 0.7;
  margin: 0 1.6rem 0 3.2rem;
  vertical-align: -3px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.watermark { overflow: hidden; }
.watermark::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: 480px;
  height: 560px;
  background: url('../assets/icon.svg') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.watermark-left::before { right: auto; left: -140px; transform: translateY(-50%) rotate(-8deg); }
.section-dark.watermark::before { filter: invert(1) brightness(2); opacity: 0.06; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: #FFFCF6; }
.section-dark p, .section-dark .lead { color: rgba(255,252,246,0.65); }

.section-head { max-width: 680px; margin-bottom: 3.4rem; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Cartes services avec photo ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.photo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(43,42,39,0.3);
}
.photo-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.photo-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43,42,39,0.25));
  opacity: 0;
  transition: opacity 0.5s;
}
.photo-card .img-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.photo-card:hover .img-wrap::before { left: 130%; }
.photo-card:hover .img-wrap::after { opacity: 1; }
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.photo-card:hover img { transform: scale(1.07); }
.photo-card .card-body { padding: 1.7rem 1.6rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.photo-card h3 { margin-bottom: 0.55rem; }
.photo-card p { font-size: 0.92rem; flex: 1; }
.photo-card .card-link {
  margin-top: 1.3rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.photo-card .card-link::after { content: "→"; transition: transform 0.4s var(--ease); }
.photo-card:hover .card-link::after { transform: translateX(6px); }

/* Carte texte simple */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: all 0.45s var(--ease);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 22px 45px -22px rgba(43,42,39,0.25); }

/* ---------- Liste de prestations ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 1.7rem 1.8rem;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-item:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 16px 35px -22px rgba(43,42,39,0.25);
}
.service-item h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.service-item p { font-size: 0.92rem; }

/* ---------- Section éditoriale (texte + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,252,246,0.55);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}
.img-frame.tall { aspect-ratio: 4 / 5; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; }
.step {
  counter-increment: step;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 1.5rem;
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.55;
}
.step h3 { font-size: 0.95rem; }
.step p { font-size: 0.93rem; }

/* ---------- Engagements / stats ---------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.feature-row h3 { font-size: 0.92rem; margin-bottom: 0.55rem; }
.feature-row p { font-size: 0.88rem; }
.feature-row .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border: 1px solid var(--accent-light);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before { width: 420px; height: 420px; top: -210px; left: -160px; }
.cta-band::after { width: 520px; height: 520px; bottom: -300px; right: -200px; }
.cta-band .cta-icon {
  width: 52px; height: 60px;
  margin: 0 auto 1.6rem;
  background: url('../assets/icon.svg') no-repeat center / contain;
  opacity: 0.85;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { margin: 0 auto 2.3rem; }
.cta-band .hero-actions { justify-content: center; opacity: 1; transform: none; animation: none; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.contact-info-block p, .contact-info-block a { font-size: 1.02rem; color: var(--ink); }
.contact-info-block a:hover { color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138,125,99,0.15);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.78rem; color: var(--text-soft); margin-top: 1rem; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.92rem; margin-bottom: 1.5rem; }
.alert-success { background: #EDF3EA; color: #34582F; border: 1px solid #CCDEC6; }
.alert-error { background: #F8ECEA; color: #84392E; border: 1px solid #E8CCC6; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,252,246,0.65);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,252,246,0.12);
}
.site-footer .logo { display: inline-block; margin-bottom: 1.2rem; }
.site-footer h4 {
  font-family: var(--font-display);
  color: #FFFCF6;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { transition: color 0.3s, padding-left 0.3s; }
.site-footer a:hover { color: #FFFCF6; padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,252,246,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: 56vh; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 60px 1fr; }
  .step p { grid-column: 2; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; line-height: 1.65; }
  .grid-2, .grid-3, .service-list, .form-grid { grid-template-columns: 1fr; }

  /* --- Hero compact : tient dans un écran --- */
  .hero {
    min-height: 0;
    padding: 1.6rem 0 2.4rem;
    align-items: flex-start;
  }
  .hero h1 { font-size: 1.72rem; line-height: 1.18; }
  .hero .lead { font-size: 0.95rem; margin: 1rem 0 1.4rem; }
  .hero .eyebrow { font-size: 0.62rem; margin-bottom: 0.8rem; }
  .hero .eyebrow::before { width: 20px; }
  .hero-content { padding: 1.4rem 1.2rem; max-width: 100%; }
  .hero-actions { gap: 0.7rem; }
  .hero-actions .btn { flex: 1; text-align: center; padding: 0.8rem 1rem; font-size: 0.72rem; }
  .hero-meta {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    gap: 0.6rem;
    justify-content: space-between;
  }
  .hero-meta div { flex: 1; min-width: 0; }
  .hero-meta div strong { font-size: 0.82rem; }
  .hero-meta div span { font-size: 0.66rem; line-height: 1.3; display: block; }
  .scroll-hint { display: none; }
  .hero-video { display: none; }   /* économie de données : l'image reste */
  .hero-bg { animation: none; }

  /* --- Sections & rythme vertical --- */
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .cta-band { padding: 3rem 0; }
  .marquee { padding: 0.75rem 0; }
  .marquee span { font-size: 0.7rem; letter-spacing: 0.2em; margin: 0 1rem; }
  .marquee span i { margin: 0 1rem 0 2rem; }
  h2 { font-size: 1.45rem; }
  .lead { font-size: 0.95rem; }
  .topbar { font-size: 0.68rem; padding: 0.4rem 0.8rem; }

  .watermark::before { width: 260px; height: 300px; right: -110px; opacity: 0.04; }
  .watermark-left::before { left: -120px; }

  .photo-card .img-wrap { aspect-ratio: 16 / 10; }
  .photo-card .card-body { padding: 1.2rem 1.1rem 1.4rem; }
  .split { gap: 1.6rem; }
  .img-frame.tall { aspect-ratio: 16 / 10; }
  .step { padding: 1.2rem 0; grid-template-columns: 48px 1fr; gap: 0.8rem; }
  .step::before { font-size: 1.3rem; }
  .feature-row { gap: 1.4rem; }
  .feature-row .num { font-size: 1.6rem; margin-bottom: 0.4rem; }
  .cta-band .cta-icon { width: 38px; height: 44px; margin-bottom: 1rem; }
  .cta-band::before, .cta-band::after { display: none; }

  .site-footer { padding: 2.6rem 0 1.6rem; }
  .footer-grid { padding-bottom: 2rem; }
  .site-footer .logo img { height: 72px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
  .feature-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .logo img { height: 56px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
  }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { position: relative; z-index: 100; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
}
