/* ==========================================================================
   ELBANDARY — Peinture & finitions décoratives
   ========================================================================== */

:root {
  /* Palette — plâtre chaud, encre noyer, terre brûlée, sauge profonde */
  --bg: #F6F1E6;
  --bg-alt: #EEE6D4;
  --card: #FFFDF8;
  --ink: #2A2118;
  --ink-soft: #5B4E40;
  --ink-faint: #8A7B6A;
  --line: rgba(42, 33, 24, 0.12);
  --line-strong: rgba(42, 33, 24, 0.22);
  --accent: #B5541E;
  --accent-dark: #8C3F13;
  --accent-soft: #E7C7A8;
  --secondary: #3C4A3A;
  --secondary-soft: #D7DECB;
  --shadow-sm: 0 2px 10px rgba(42, 33, 24, 0.06);
  --shadow-md: 0 12px 32px rgba(42, 33, 24, 0.10);
  --shadow-lg: 0 24px 60px rgba(42, 33, 24, 0.16);

  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { position: relative; }
.section-pad { padding-block: clamp(4rem, 9vw, 7.5rem); }
.bg-alt {
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(45deg, rgba(42,33,24,0.035) 0 1px, transparent 1px 13px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: '';
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='12' height='6' rx='1.5'/%3E%3Cline x1='9' y1='10' x2='9' y2='15'/%3E%3Crect x='7' y='15' width='4' height='6' rx='1'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='12' height='6' rx='1.5'/%3E%3Cline x1='9' y1='10' x2='9' y2='15'/%3E%3Crect x='7' y='15' width='4' height='6' rx='1'/%3E%3C/svg%3E") no-repeat center / contain;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-top: 0.6em; line-height: 1.12; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color .3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.35rem;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled {
  background: rgba(246, 241, 230, 0.86);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.nav-desktop { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav-desktop a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding-block: 0.3rem;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent);
  transition: right .35s var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch { display: flex; align-items: center; gap: 0.2rem; padding: 0.2rem; border: 1.5px solid var(--line-strong); border-radius: 999px; }
.lang-btn {
  background: none; border: none; padding: 0.35em 0.7em; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--ink-soft); transition: background .3s var(--ease), color .3s var(--ease);
}
.lang-btn.is-active { background: var(--ink); color: var(--bg); }
.lang-switch-mobile { border: none; padding: 0; gap: 0.6rem; margin-top: 0.5rem; }
.lang-switch-mobile .lang-btn { border: 1.5px solid var(--line-strong); font-size: 0.85rem; padding: 0.5em 1em; color: var(--ink); }
.lang-switch-mobile .lang-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nav-toggle {
  display: none; background: none; border: none; width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center; border: 1.5px solid var(--line-strong);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; color: var(--ink); }
.mobile-nav .btn { align-self: flex-start; margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  margin-top: 0.5em;
}
.hero-copy h1 em { font-style: italic; color: var(--accent); font-weight: 500; white-space: nowrap; }
.hero-copy p.lede {
  margin-top: 1.6rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* ---------- Check list (hero + à propos) ---------- */
.check-list { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.6rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.check-list svg { width: 1.15em; height: 1.15em; color: var(--accent); flex-shrink: 0; margin-top: 0.15em; }
.check-list.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; margin-top: 1.2rem; }
.hero-checklist li { font-weight: 500; }
.why-title { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; margin-top: 2rem; }

.hero-art { position: relative; aspect-ratio: 1/1.05; }
.hero-art svg { width: 100%; height: 100%; }
.brush-stroke-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.6s var(--ease) 0.3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art .grain-dot { opacity: 0; animation: fadeIn .6s ease forwards; }

/* ---------- Trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(45deg, rgba(42,33,24,0.035) 0 1px, transparent 1px 13px);
}
.trust-bar ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 1.6rem; }
.trust-bar li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-soft); }
.trust-bar li svg { width: 1.2em; height: 1.2em; color: var(--accent); flex-shrink: 0; }
.trust-bar strong { color: var(--ink); font-weight: 600; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--secondary-soft); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; }
/* ---------- Réalisations : avant / après ---------- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.ba-item {
  position: relative; margin: 0; aspect-ratio: 4/3.3; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.ba-item img { width: 100%; height: 100%; object-fit: cover; }
.ba-item figcaption {
  position: absolute; top: 0.9rem; left: 0.9rem; background: rgba(255,255,255,0.9); color: var(--ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 999px;
}
.ba-caption { text-align: center; margin-top: 1rem; font-size: 0.88rem; color: var(--ink-faint); }

/* ---------- Galerie réalisations ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.gallery-item {
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption { padding: 0.8rem 1rem; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Zone d'intervention ---------- */
.zone-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2rem; }
.zone-pills li {
  padding: 0.6em 1.2em; border-radius: 999px; border: 1.5px solid var(--line-strong);
  font-size: 0.92rem; color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.3rem 1.5rem; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-item summary {
  list-style: none; cursor: pointer; padding-block: 1.2rem; font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 20px; height: 20px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { color: var(--ink-soft); font-size: 0.94rem; padding-bottom: 1.3rem; }

/* ---------- À propos ---------- */
.about-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-portrait {
  aspect-ratio: 3/3.6; border-radius: 24px; background: linear-gradient(160deg, #D9CBAF, #B5541E 130%);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-portrait .initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 5.5rem; color: rgba(255,255,255,0.92); font-weight: 600;
}
.about-copy p { color: var(--ink-soft); margin-top: 1.1rem; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-info .item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--secondary-soft); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info .icon svg { width: 20px; height: 20px; }
.contact-info h4 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; }
.contact-info p, .contact-info a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line-strong); background: var(--bg); border-radius: 12px;
  padding: 0.85em 1em; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field textarea { resize: vertical; min-height: 110px; }
.field-error { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: #B3261E; min-height: 1em; }
.field-hint { display: block; margin-top: 0.4rem; font-size: 0.76rem; color: var(--ink-faint); text-align: right; }

/* ---------- City combobox (live search) ---------- */
.city-combobox { position: relative; }
.city-suggestions {
  position: absolute; top: calc(100% + 0.35rem); left: 0; right: 0; z-index: 20;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 12px;
  box-shadow: var(--shadow-md); max-height: 240px; overflow-y: auto;
}
.city-suggestions li {
  padding: 0.65em 1em; font-size: 0.92rem; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; gap: 0.6rem;
}
.city-suggestions li span.cp { color: var(--ink-faint); font-size: 0.82rem; flex-shrink: 0; }
.city-suggestions li:hover, .city-suggestions li.is-active { background: var(--bg-alt); }
.city-suggestions li:not(:last-child) { border-bottom: 1px solid var(--line); }
.city-suggestions li.is-empty { color: var(--ink-faint); cursor: default; font-style: italic; }
.city-suggestions li.is-empty:hover { background: none; }

/* Honeypot: hidden from sighted users and screen readers, but present for bots that auto-fill every field. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.check-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; padding: 0.55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line-strong);
  font-size: 0.85rem; color: var(--ink-soft); transition: all .3s var(--ease);
}
.check-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.form-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: 0.88rem; color: var(--secondary); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--ink); color: var(--bg-alt); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(246,241,230,0.14); }
.footer-brand p { max-width: 32ch; margin-top: 1rem; color: rgba(246,241,230,0.65); font-size: 0.9rem; }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,241,230,0.5); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: rgba(246,241,230,0.85); text-decoration: none; font-size: 0.92rem; margin-bottom: 0.7rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: 0.8rem; color: rgba(246,241,230,0.5); }
.footer-bottom a { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; margin-inline: auto; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; order: -1; }
}
@media (max-width: 900px) {
  .nav-desktop, .header-actions .btn, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .trust-bar ul { justify-content: flex-start; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brush-stroke-path { animation: none; stroke-dashoffset: 0; }
  .hero-art .grain-dot { animation: none; opacity: 1; }
  * { scroll-behavior: auto !important; }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .btn, [dir="rtl"] .lang-btn, [dir="rtl"] input, [dir="rtl"] textarea {
  font-family: 'Tajawal', 'Inter', sans-serif;
}
[dir="rtl"] h1 em { font-style: normal; }
[dir="rtl"] .skip-link { left: auto; right: -999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; }
[dir="rtl"] .hp-field { left: auto; right: -9999px; }
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
[dir="rtl"] .btn-primary:hover svg { transform: translateX(-3px) scaleX(-1); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .field-hint { text-align: left; }
