/* =========================================================================
   aittouijardev.com — feuille de style unique
   Palette limitée, typographie Manrope, sans dépendance.
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAFAF8;
  --card: #FFFFFF;
  --text: #17211F;
  --muted: #56625E;
  --accent: #28745B;
  --accent-hover: #1F5E49;
  --soft: #E8F0EA;
  --border: #E3E6E1;
  --border-strong: #CDD3CE;
  --success: #1F6B4F;
  --error: #A3352B;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 33, 31, .04), 0 4px 16px rgba(23, 33, 31, .04);
  --container: 1160px;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, .h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -.035em; line-height: 1.07; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.015em; }
strong { font-weight: 700; }
.muted { color: var(--muted); }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn:disabled { opacity: .65; cursor: progress; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--card); color: var(--text); border-color: var(--text); }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--accent); text-decoration: none;
}
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover { color: var(--accent-hover); text-decoration: underline; }
a.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: translateX(3px); }
.link-muted { display: inline-flex; align-items: center; gap: .3em; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.link-muted:hover { color: var(--text); text-decoration: underline; }
.link-muted .icon { width: 1em; height: 1em; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.0625rem;
  margin-right: auto;
}
.logo:hover { color: var(--text); }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: .8125rem; letter-spacing: 0;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .9688rem;
}
.nav-links a:hover { background: var(--soft); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: .8125rem; font-weight: 600; }
.lang-switch a {
  padding: 6px 7px; border-radius: 6px; color: var(--muted); text-decoration: none; letter-spacing: .04em;
}
.lang-switch a:hover { color: var(--text); background: var(--soft); }
.lang-switch a[aria-current="true"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; text-decoration-thickness: 2px; }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  place-items: center; background: none; border: 0; border-radius: 10px; color: var(--text); cursor: pointer;
}
.menu-btn .icon { width: 26px; height: 26px; }
.menu-icon-close { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .site-nav {
    flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px 0 20px;
  }
  .js .site-nav { display: none; }
  .js .menu-open .site-nav { display: flex; }
  .menu-open .menu-icon-open { display: none; }
  .menu-open .menu-icon-close { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.0625rem; }
  .nav-links a:hover { background: none; }
  .lang-switch { gap: 6px; font-size: .9375rem; }
  .lang-switch a { padding: 8px 10px; border: 1px solid var(--border); }
  .lang-switch a[aria-current="true"] { border-color: var(--text); text-decoration: none; }
  .nav-cta { min-height: 50px; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { height: 100dvh; overflow-y: auto; background: var(--bg); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-flush-top { padding-top: 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head > p:not(.eyebrow), .section-head div > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 680px; }
.section-note { margin: 32px 0 0; color: var(--muted); }
.section-note a { font-weight: 600; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } .section-head { margin-bottom: 32px; } }

/* ---------- Cartes ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-alt .card { background: var(--bg); box-shadow: none; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; transition: border-color .15s ease; }
.service-card:hover { border-color: var(--border-strong); }
.service-card p { color: var(--muted); }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 12px; background: var(--soft); color: var(--accent);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-title { font-size: 1.25rem; margin-bottom: 10px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: inherit; }
.card-link:focus-visible { outline: none; }
.service-card:has(.card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-note { font-size: .9375rem; }
.card-note strong { color: var(--text); font-weight: 600; }
.service-card .card-note { color: var(--text); font-weight: 500; }
.card-soft { background: var(--soft); border-color: transparent; box-shadow: none; }
.card-soft .link-arrow { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.hero .lead { max-width: 560px; font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--muted); margin-bottom: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--muted); font-size: .9375rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--accent); }

.hero-card { padding: 28px; }
.hero-card-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.hero-card-name { margin: 0; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; }
.hero-card-role { margin: 0; color: var(--muted); font-size: .9375rem; }
.hero-card-list { padding: 10px 0; }
.hero-card-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: .9375rem; font-weight: 600; }
.hero-card-list li + li { border-top: 1px dashed var(--border); }
.hero-card-list .muted { font-weight: 500; text-align: right; }
.status {
  display: flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 12px 14px;
  background: var(--soft); border-radius: var(--radius-sm); font-size: .9375rem; font-weight: 600; color: var(--success);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(40, 116, 91, .15); flex: none; }

.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initials {
  display: grid; place-items: center; background: var(--soft); color: var(--accent);
  font-weight: 700; letter-spacing: -.02em;
}
.avatar.avatar-initials { font-size: 1.25rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 440px; }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Projets ---------- */
.project-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-alt .project-card { background: var(--bg); box-shadow: none; }
.project-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--border); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s ease; }
.project-card:hover .project-thumb img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .project-card:hover .project-thumb img, a.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: none; } }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.project-cat { margin: 0 0 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.project-title { font-size: 1.25rem; margin-bottom: 10px; }
.project-title a { color: var(--text); text-decoration: none; }
.project-title a:hover { color: var(--accent); }
.project-body p:not(.project-cat) { color: var(--muted); font-size: .9688rem; }
.project-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }

/* ---------- Tarifs ---------- */
.price-card { display: flex; flex-direction: column; padding: 28px; }
.price { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.price-label { font-size: .875rem; font-weight: 500; color: var(--muted); }
.price-amount { font-size: clamp(1.75rem, 3vw, 2.125rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.price-card .list-check { margin-bottom: 24px; font-size: .9688rem; }
.price-card .list-check li { padding: 5px 0; }
.price-card .btn { margin-top: auto; }
.pricing-note { max-width: 820px; margin: 28px 0 0; font-size: .9375rem; color: var(--muted); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; }
.about-photo.avatar-initials { font-size: 4.5rem; border: 1px solid var(--border); }
.about-text { max-width: 680px; }
.about-text > p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); }
.about-text > p:first-of-type + p { margin-top: 0; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 32px 0 0; border-top: 1px solid var(--border); }
.about-facts div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.about-facts dt { font-size: .8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.about-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 200px; }
  .about-photo.avatar-initials { font-size: 3rem; }
}
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-text { font-size: 1.125rem; color: var(--muted); max-width: 480px; }
.contact-methods { display: grid; gap: 10px; margin-top: 28px; max-width: 440px; }
.contact-methods a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-weight: 600; transition: border-color .15s ease;
  overflow-wrap: anywhere;
}
.contact-methods a:hover { border-color: var(--accent); color: var(--text); }
.contact-methods .icon { width: 20px; height: 20px; color: var(--accent); }
.contact-methods small { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); line-height: 1.4; }

.contact-form { padding: clamp(24px, 4vw, 36px); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9375rem; }
.field input, .field textarea {
  display: block; width: 100%; padding: 13px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder { color: #8A938F; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40, 116, 91, .18); }
.field-hint { margin: 8px 0 0; font-size: .875rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 14px 0 0; font-size: .875rem; color: var(--muted); text-align: center; }
.form-status { margin: 0; font-weight: 600; font-size: .9688rem; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); }
.form-status.is-success { background: var(--soft); color: var(--success); }
.form-status.is-error { background: #FBEDEB; color: var(--error); }
.form-status:focus { outline: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.125rem, 4.6vw, 3.25rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--muted); margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumb { margin-bottom: 28px; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-aside { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 860px) { .split, .split-aside { grid-template-columns: 1fr; } }
.prose p { color: var(--muted); }
.prose h2:not(:first-child) { margin-top: 40px; }

.list-check li { display: flex; gap: 12px; padding: 8px 0; }
.list-check .icon { color: var(--accent); margin-top: .28em; }
.list-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 40px; max-width: 920px; }
@media (max-width: 680px) { .list-check-grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { padding-top: 20px; border-top: 2px solid var(--border); }
.step-num { display: block; margin-bottom: 12px; font-size: .875rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9688rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-3px);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0; padding: 0 40px 22px 0; color: var(--muted); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); background: var(--soft); border-radius: calc(var(--radius) + 4px);
}
.cta-band > div { max-width: 620px; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--muted); }

.pill-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.pill-links-left { justify-content: flex-start; margin-top: 0; }
.pill-links a {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .9688rem; background: var(--card);
}
.pill-links a:hover { border-color: var(--accent); color: var(--accent); }

.project-shot { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.project-shot img { width: 100%; }
.project-aside { padding: 28px; }
.aside-title { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.aside-title:not(:first-child) { margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; background: var(--soft); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--accent-hover); }
.aside-links li { padding: 6px 0; }
.aside-links a { font-weight: 600; }
.project-aside > .link-arrow { margin-top: 28px; }

.next-project { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 32px; border-top: 1px solid var(--border); }
.next-project .eyebrow { margin: 0; }
.next-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); text-decoration: none;
}
.next-link:hover { color: var(--accent); }

.tips { padding: clamp(24px, 4vw, 36px); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 28px; background: var(--card); border-top: 1px solid var(--border); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 300px; margin: 16px 0; }
.footer-title { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 16px; }
.footer-links li { padding: 5px 0; }
.footer-links a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } }
