/* ============================================================
   Yakaar de Rufisque — design tokens
   Palette rooted in Rufisque itself: deep pitch green (terrain),
   baobab-bark ochre, Lac Rose clay-red, warm sand background.
   ============================================================ */
:root {
  --pitch-900: #0B2E22;
  --pitch-700: #12452F;
  --pitch-500: #1C6B45;
  --ochre-500: #C08A2E;
  --ochre-600: #A6741F;
  --clay-500: #B24A34;
  --sand-050: #F6F1E4;
  --sand-100: #EFE7D2;
  --ink-900: #1C1A14;
  --ink-600: #55503F;
  --ink-400: #8A8368;
  --line: rgba(28, 26, 20, 0.12);
  --line-light: rgba(246, 241, 228, 0.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main:focus { outline: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-050);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pitch-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--ochre-500);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { line-height: 1.65; color: var(--ink-600); margin: 0 0 16px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ochre-600);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--ochre-500); }

.section { padding: 84px 0; }
.section-alt { background: var(--sand-100); }
.section-lede { max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ochre-500);
  color: var(--pitch-900);
}
.btn-primary:hover { background: var(--ochre-600); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-light);
  color: inherit;
}
.hero .btn-ghost:hover { border-color: rgba(246,241,228,0.5); }
.btn-whatsapp {
  background: var(--pitch-500);
  color: #fff;
  margin-bottom: 28px;
}
.btn-whatsapp:hover { background: var(--pitch-700); }
.btn-submit { width: 100%; margin-top: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pitch-900);
  margin-right: auto;
}
.brand-mark { color: var(--ochre-500); display: flex; align-items: center; }
.logo-img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; }
.logo-fallback { display: none; }
.footer-brand .logo-img { width: 28px; height: 28px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}
.brand-text em { font-style: normal; color: var(--ochre-600); }
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-600);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--pitch-900); }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--ochre-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--pitch-900); }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--pitch-900);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 64px;
}
.hero-photo {
  background-image: url('assets/images/matchs.jpg');
  background-size: cover;
  background-position: center 35%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,46,34,0.88) 0%, rgba(11,46,34,0.72) 45%, rgba(11,46,34,0.94) 100%);
  pointer-events: none;
}
.pitch-lines {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 82% 30%, transparent 0 78px, rgba(255,255,255,0.5) 78px 80px, transparent 80px),
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: auto, 100% 90px;
  background-position: 0 0, 0 -20px;
  pointer-events: none;
}
.hero-player {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 240px;
  height: auto;
  color: #fff;
  opacity: 0.16;
  pointer-events: none;
}
@media (max-width: 960px) {
  .hero-player { width: 160px; opacity: 0.12; }
}
@media (max-width: 640px) {
  .hero-player { display: none; }
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; max-width: 780px; }
.hero-lede {
  color: rgba(246,241,228,0.82);
  max-width: 540px;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ochre-500);
}
.hero-stats dd {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: rgba(246,241,228,0.75);
}

/* ---------- Wax-print divider (signature detail) ---------- */
.wax-divider {
  height: 14px;
  background:
    linear-gradient(135deg, var(--ochre-500) 25%, transparent 25%) 0 0/14px 14px,
    linear-gradient(225deg, var(--ochre-500) 25%, transparent 25%) 0 0/14px 14px,
    var(--clay-500);
  background-repeat: repeat-x;
}

/* ---------- Two-column sections ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.pitch-illustration { color: var(--ochre-500); width: 100%; max-width: 300px; margin: 0 auto; }
.fact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.fact-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-600);
  font-size: 0.95rem;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre-500);
}
.fact-list strong { color: var(--ink-900); }

/* ---------- Programmes ---------- */
.pole-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pole-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.pole-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pole-tag--u1 { background: rgba(28,107,69,0.12); color: var(--pitch-500); }
.pole-tag--u2 { background: rgba(178,74,52,0.12); color: var(--clay-500); }
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
}
.chip-list li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--sand-100);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- Valeurs ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.value-grid--3 { grid-template-columns: repeat(3, 1fr); }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.value-card svg { color: var(--ochre-500); margin-bottom: 14px; }
.value-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Pole lead (encadrement) ---------- */
.pole-lead {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-400);
}

/* ---------- Tarifs ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--pitch-900);
  margin: 14px 0 18px;
}
.price-amount span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-400);
  margin-left: 4px;
}
.price-detail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.price-detail li {
  font-size: 0.9rem;
  color: var(--ink-600);
  padding-left: 20px;
  position: relative;
}
.price-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pitch-500);
}

/* ---------- Services complémentaires ---------- */
.service-pricing { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.service-pricing-heading { max-width: 600px; margin-bottom: 30px; }
.service-pricing-heading h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.service-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-price-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(11,46,34,.05); }
.service-price-image, .housing-placeholder { height: 260px; background: var(--pitch-900); overflow: hidden; }
.service-price-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transition: transform .4s ease; }
.service-price-card:hover .service-price-image img { transform: scale(1.04); }
.service-price-content { padding: 28px; }
.service-price-content h3 { font-size: 1.45rem; }
.service-price-content p { font-size: .92rem; }
.service-price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.service-price-list div { padding-right: 8px; }
.service-price-list dt { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: var(--pitch-900); }
.service-price-list dd { margin: 4px 0 0; color: var(--ink-600); font-size: .75rem; }
.housing-placeholder { display: grid; place-items: center; position: relative; background: linear-gradient(135deg, var(--pitch-900), var(--pitch-700)); color: rgba(246,241,228,.78); text-align: center; font: 600 .85rem/1.5 var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.housing-placeholder::before, .housing-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(192,138,46,.35); border-radius: 50%; }.housing-placeholder::before { width: 190px; height: 190px; }.housing-placeholder::after { width: 250px; height: 250px; }

.steps-block { margin-top: 56px; }
.steps-block h3 { margin-bottom: 24px; }
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps-list li {
  display: flex;
  gap: 14px;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pitch-900);
  color: var(--ochre-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.steps-list p { font-size: 0.87rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ochre-500);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 14px 0 0;
  font-size: 0.92rem;
  max-width: 640px;
}

/* ---------- AFAM promo ---------- */
.afam-note {
  font-size: 0.88rem;
  color: var(--ink-400);
  font-style: italic;
  margin-top: 8px;
}
.afam-mock {
  background: var(--pitch-900);
  border-radius: 14px;
  padding: 28px;
  max-width: 320px;
  margin: 0 auto;
}
.afam-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}
.afam-mock-row span:first-child {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ochre-500);
  flex-shrink: 0;
}
.afam-mock-row span:last-child {
  height: 9px;
  border-radius: 5px;
  background: rgba(246,241,228,0.28);
}
.afam-mock-row .w-70 { width: 70%; }
.afam-mock-row .w-45 { width: 45%; }
.afam-mock-row .w-85 { width: 85%; }
.afam-mock-row .w-30 { width: 30%; }
.afam-mock-stat {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.afam-mock-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ochre-500);
}
.afam-mock-stat em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(246,241,228,0.7);
}

/* ---------- Equipement ---------- */
.equipement-showcase {
  margin-top: 36px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.equipement-showcase img {
  width: 100%;
  display: block;
}
.equip-specs {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.equip-specs li {
  font-size: 0.88rem;
  color: var(--ink-600);
  padding-left: 20px;
  position: relative;
}
.equip-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre-500);
}

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--sand-100);
  border: 1px dashed var(--line);
  overflow: hidden;
}
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-400);
}

/* ---------- Contact ---------- */
.section-dark {
  background: var(--pitch-900);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.contact-lede { color: rgba(246,241,228,0.78); max-width: 460px; }
.contact-grid { align-items: start; }
.afam-grid { grid-template-columns: 0.85fr 1.15fr; }
.contact-info {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(246,241,228,0.9);
}
.contact-info svg { color: var(--ochre-500); flex-shrink: 0; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  height: 220px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}
.map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ochre-500);
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }

.col-form {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  color: var(--ink-900);
}
.form-row { margin-bottom: 18px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-row--split > div { margin-bottom: 18px; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-900);
}
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand-050);
  color: var(--ink-900);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--ochre-500);
  outline-offset: 1px;
  border-color: var(--ochre-500);
}
textarea { resize: vertical; min-height: 100px; }
.field-error {
  display: block;
  min-height: 18px;
  font-size: 0.78rem;
  color: var(--clay-500);
  margin-top: 4px;
}
.form-note {
  font-size: 0.88rem;
  margin: 14px 0 0;
  min-height: 20px;
}
.form-note[data-state="success"] { color: var(--pitch-500); font-weight: 600; }
.form-note[data-state="error"] { color: var(--clay-500); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pitch-900);
  color: rgba(246,241,228,0.7);
  padding: 32px 0;
  border-top: 1px solid var(--line-light);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand .brand-text { color: #fff; font-size: 0.98rem; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { text-decoration: none; font-size: 0.85rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; margin: 0; width: 100%; text-align: center; }

/* ---------- Premium interactions and new components ---------- */
.hero-inner > * { animation: hero-enter 0.7s both; }
.hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.hero-inner > :nth-child(3) { animation-delay: 0.16s; }
.hero-inner > :nth-child(4) { animation-delay: 0.24s; }
.hero-inner > :nth-child(5) { animation-delay: 0.32s; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: rgba(246,241,228,.82); font-size: .78rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue span { width: 22px; height: 34px; border: 1px solid rgba(246,241,228,.65); border-radius: 20px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; width: 3px; height: 7px; border-radius: 2px; left: 8px; top: 7px; background: var(--ochre-500); animation: scroll-dot 1.6s infinite; }
@keyframes scroll-dot { 50% { transform: translateY(11px); opacity: .25; } }

.about-milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-milestones div { display: grid; gap: 3px; }
.about-milestones strong { color: var(--pitch-900); font-family: var(--font-display); font-size: 1.25rem; }
.about-milestones span { color: var(--ink-600); font-size: .78rem; }
.value-card, .pole-card, .price-card { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.value-card:hover, .pole-card:hover, .price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(11,46,34,.1); border-color: rgba(192,138,46,.5); }

.afam-mock { max-width: 390px; box-shadow: 0 22px 40px rgba(11,46,34,.18); }
.afam-mock-head { display: flex; align-items: center; gap: 8px; color: #fff; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.afam-mock-head small { margin-left: auto; color: rgba(246,241,228,.55); font-size: .65rem; }
.afam-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ochre-500); box-shadow: 0 0 0 4px rgba(192,138,46,.15); }
.afam-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.afam-metrics div { padding: 12px; background: rgba(246,241,228,.08); border-radius: 8px; }.afam-metrics strong,.afam-metrics span { display:block; }.afam-metrics strong { color: var(--ochre-500); font-family:var(--font-display); font-size:1.3rem; }.afam-metrics span { color:rgba(246,241,228,.7); font-size:.65rem; margin-top:3px; }
.afam-chart { height: 58px; display: flex; align-items: end; gap: 6px; padding: 8px 0 16px; border-bottom: 1px solid var(--line-light); }.afam-chart span { flex: 1; background: linear-gradient(to top,var(--ochre-500),#e1b361); border-radius: 3px 3px 0 0; }.afam-chart span:nth-child(1){height:34%}.afam-chart span:nth-child(2){height:62%}.afam-chart span:nth-child(3){height:47%}.afam-chart span:nth-child(4){height:82%}.afam-chart span:nth-child(5){height:68%}.afam-chart span:nth-child(6){height:91%}.afam-chart span:nth-child(7){height:76%}
.afam-mock-row { justify-content: space-between; font-size: .72rem; color: rgba(246,241,228,.72); }.afam-mock-row b { color: #fff; font-size: .68rem; }.afam-mock-row span:nth-child(2) { background: transparent; height: auto; }.afam-icon { color: var(--pitch-900); font-weight:700; text-align:center; line-height:22px; }
.price-card { position: relative; overflow: hidden; }.price-card--featured { border: 2px solid var(--ochre-500); }.price-badge { position:absolute; top:16px; right:16px; padding:4px 8px; border-radius:999px; color:var(--pitch-900); background:var(--ochre-500); font-size:.65rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }

.gallery-filters { display:flex; gap:8px; flex-wrap:wrap; margin:28px 0 -12px; }.gallery-filter { border:1px solid var(--line); background:transparent; border-radius:999px; padding:8px 14px; color:var(--ink-600); cursor:pointer; font:600 .78rem var(--font-body); }.gallery-filter.is-active,.gallery-filter:hover { background:var(--pitch-900); color:#fff; border-color:var(--pitch-900); }
.gallery-tile { padding:0; cursor:zoom-in; text-align:left; border-style:solid; border-color:var(--line); transition:transform .25s ease, box-shadow .25s ease, opacity .2s ease; }.gallery-tile:hover { transform:translateY(-4px); box-shadow:0 14px 26px rgba(11,46,34,.14); }.gallery-tile.is-hidden { display:none; }.gallery-tile img { transition:transform .35s ease; }.gallery-tile:hover img { transform:scale(1.05); }.gallery-caption { position:absolute; right:10px; bottom:10px; left:10px; padding:8px 10px; background:rgba(11,46,34,.78); color:#fff; border-radius:6px; font-size:.75rem; font-weight:600; }.gallery-lightbox { width:min(900px,92vw); padding:12px; border:0; background:var(--pitch-900); box-shadow:0 24px 80px rgba(0,0,0,.45); }.gallery-lightbox::backdrop { background:rgba(11,46,34,.84); }.gallery-lightbox img { max-height:80vh; width:100%; object-fit:contain; }.lightbox-close { margin:0 0 8px auto; display:block; border:0; background:transparent; color:#fff; cursor:pointer; font-size:2rem; line-height:1; }
.gallery-tile--wide { grid-column: span 2; }.gallery-tile--tall { grid-row: span 2; aspect-ratio: auto; }.gallery-tile--tall img { height:100%; }

.whatsapp-float { position:fixed; z-index:40; right:20px; bottom:20px; display:inline-flex; align-items:center; gap:8px; padding:12px 16px; border-radius:999px; background:#1c9b55; color:#fff; box-shadow:0 10px 26px rgba(11,46,34,.27); text-decoration:none; font-size:.85rem; font-weight:700; transition:transform .2s ease; }.whatsapp-float:hover { transform:translateY(-3px); }.footer-socials { display:flex; gap:14px; }.footer-socials a { color:rgba(246,241,228,.7); font-size:.82rem; text-decoration:none; }.footer-socials a:hover { color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .col-visual { order: -1; max-width: 220px; margin: 0 auto; }
  .pole-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile--wide { grid-column: span 2; }
  .form-row--split { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .service-price-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .about-milestones { max-width: 430px; }
}
@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand-050);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .site-header.is-open .main-nav a::after { bottom: -4px; }
  .hero-stats { gap: 32px; }
  .footer-inner { justify-content: center; text-align: center; }
  .value-grid { grid-template-columns: 1fr; }
  .about-milestones { grid-template-columns: 1fr; }
  .gallery-tile--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .whatsapp-float span:last-child { display: none; }
  .whatsapp-float { padding: 14px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .value-card, .pole-card, .price-card, .gallery-tile, .whatsapp-float { transition: none; }
  .hero-inner > *, .scroll-cue span::after { animation: none; }
}
