/* ============================================================
   Centre Dentaire Moujahid — Landing Google Ads
   Source : Claude Design « Landing Page - Performance v2 »
   (styles-perf.css + styles-perf-v2.css fusionnés — un seul
   fichier pour éviter la cascade @import qui retarde le rendu)
   ============================================================ */

/* ============================================================
   Centre Dentaire Moujahid — Landing "PERFORMANCE" (Google Ads)
   Légère, mobile-first, CTA + formulaire above-the-fold
   ============================================================ */

:root {
  --blue:     #2E84C5;
  --blue-600: #1E73B5;
  --blue-700: #135A92;
  --navy:     #0F3A5C;
  --ink:      #24414F;
  --muted:    #5E7585;

  --tint:     #EAF4FB;
  --tint-2:   #F4F9FD;
  --line:     #E1ECF4;
  --line-2:   #D2E2EE;
  --off:      #F8FBFD;

  --gold:     #F6B100;
  --green:    #1FA877;
  --green-t:  #E7F6EF;

  --r:    14px;
  --r-lg: 22px;
  --maxw: 1180px;
  --pad:  clamp(16px, 4vw, 48px);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15,58,92,.06), 0 2px 8px rgba(15,58,92,.05);
  --shadow:    0 14px 36px -14px rgba(15,58,92,.26);
  --shadow-lg: 0 30px 64px -22px rgba(15,58,92,.36);
  --shadow-blue: 0 12px 26px -10px rgba(46,132,197,.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .16s, box-shadow .22s, background .18s, color .18s; line-height: 1; white-space: nowrap; }
.btn i { font-size: 20px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-call { background: var(--green); color: #fff; box-shadow: 0 12px 26px -10px rgba(31,168,119,.6); }
.btn-call:hover { background: #18936a; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,168,119,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(31,168,119,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,119,0); } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

/* ============================================================
   Header
   ============================================================ */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 38px; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 16px; }
.header-phone i { color: var(--green); font-size: 19px; }
.header-phone small { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   Hero — formulaire above the fold
   ============================================================ */
.hero { background: radial-gradient(120% 80% at 80% -20%, var(--tint) 0%, rgba(234,244,251,0) 55%), linear-gradient(180deg, var(--off), #fff); padding: clamp(22px, 4vw, 44px) 0 clamp(34px, 5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(26px, 4vw, 56px); align-items: center; }

.hero-rating-row { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px 7px 9px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 13.5px; color: var(--navy); }
.hero-rating-row .stars { color: var(--gold); font-size: 13px; letter-spacing: .5px; }
.hero-rating-row .g { width: 22px; height: 22px; border-radius: 6px; background: var(--tint); color: #4285F4; font-weight: 900; display: grid; place-items: center; font-size: 13px; }
.hero h1 { font-size: clamp(31px, 5vw, 52px); margin-top: 16px; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--blue); }
.hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); margin-top: 14px; max-width: 480px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-cta .btn { flex: 1 1 auto; }

.reassure { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 22px; margin-top: 22px; justify-content: start; }
.reassure span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.reassure i { color: var(--green); font-size: 19px; flex: none; }

/* status pill */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--green); margin-top: 18px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-t); }

/* ---- form card (in hero) ---- */
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 30px); }
.lead-card .lc-head { text-align: center; margin-bottom: 16px; }
.lead-card .lc-head h2 { font-size: 22px; }
.lead-card .lc-head p { color: var(--muted); font-size: 14px; margin-top: 5px; }
.lead-card .lc-head .tag { display: inline-flex; align-items: center; gap: 6px; background: var(--green-t); color: var(--green); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

.form-row { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; color: var(--navy); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 16px; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 11px; background: var(--off); width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(46,132,197,.14); }
.field.err input, .field.err select { border-color: #E2574C; background: #FEF5F4; }
.field .msg { font-size: 12px; color: #E2574C; font-weight: 700; display: none; }
.field.err .msg { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 11px; text-align: center; }
.form-note i { color: var(--green); }
.form-success { display: none; text-align: center; padding: 18px 6px; }
.form-success.show { display: block; }
.form-success .check { width: 68px; height: 68px; border-radius: 50%; background: var(--green-t); color: var(--green); display: grid; place-items: center; font-size: 40px; margin: 0 auto 14px; animation: pop .4s cubic-bezier(.2,.9,.3,1.3); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 21px; }
.form-success p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* ============================================================
   Trust strip
   ============================================================ */
.strip { background: var(--navy); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 18px; }
.strip-item { display: flex; align-items: center; gap: 11px; justify-content: center; }
.strip-item i { font-size: 24px; color: #8FC4EA; flex: none; }
.strip-item b { font-size: 14.5px; color: #fff; display: block; line-height: 1.2; }
.strip-item span { font-size: 12px; color: #B7CDDD; }

/* ============================================================
   Services (compact)
   ============================================================ */
.services { padding: clamp(44px, 6vw, 76px) 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto; }
.sec-head .kick { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.svc-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; margin-top: 34px; }
.svc { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; transition: transform .2s, box-shadow .22s, border-color .2s; }
.svc::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc:hover::before { transform: scaleX(1); }
.svc .num { position: absolute; top: 12px; right: 20px; font-size: 46px; font-weight: 800; color: var(--navy); opacity: .06; line-height: 1; letter-spacing: -.04em; pointer-events: none; }
.svc .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; position: relative; }
.svc h3 { font-size: 17px; }
.svc p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* featured tile */
.svc-feat { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; background: radial-gradient(120% 90% at 90% -10%, rgba(46,132,197,.35), transparent 55%), linear-gradient(160deg, var(--navy), var(--blue-700)); border-color: transparent; color: #fff; padding: clamp(24px, 2.6vw, 34px); }
.svc-feat::before { display: none; }
.svc-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-feat .num { color: #fff; opacity: .12; font-size: 78px; top: 16px; right: 26px; }
.svc-feat h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.svc-feat p { color: #CFE3F3; font-size: 16px; max-width: 420px; }
.svc-feat .ico { background: rgba(255,255,255,.14); color: #fff; width: 60px; height: 60px; font-size: 32px; }
.feat-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #4a3600; font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.feat-list { list-style: none; display: grid; gap: 9px; margin: 20px 0 22px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #EAF4FB; }
.feat-list i { color: #7BE3B8; font-size: 16px; flex: none; }
.svc-feat { position: relative; }
.svc-feat > .btn { margin-top: auto; }

/* urgent tile */
.svc-urgent { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(160deg, var(--green-t), #fff); border-color: rgba(31,168,119,.28); }
.svc-urgent::before { background: var(--green); }
.svc-urgent .num { color: var(--green); top: auto; bottom: 8px; right: 18px; }
.svc-urgent .ico { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.svc-urgent h3 { color: var(--navy); }
.svc-urgent p { flex: 1; }
.svc-urgent .btn { margin-top: 14px; }
.svc-urgent .urg-dot { position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31,168,119,.5); animation: pulse 2.4s infinite; }
@media (prefers-reduced-motion: reduce) { .svc-urgent .urg-dot { animation: none; } }

/* ============================================================
   Reviews (compact)
   ============================================================ */
.reviews { padding: clamp(44px, 6vw, 76px) 0; background: var(--tint-2); }
.gscore { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 20px; box-shadow: var(--shadow-sm); margin: 18px auto 0; }
.gscore .num { font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1; }
.gscore .stars { color: var(--gold); font-size: 16px; letter-spacing: 1.5px; }
.gscore small { color: var(--muted); font-size: 13px; font-weight: 700; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rev .stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.rev p { color: var(--ink); font-size: 14.5px; flex: 1; }
.rev .who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.rev .av { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.rev .who b { color: var(--navy); font-size: 14px; }
.rev .who span { color: var(--muted); font-size: 12px; }

/* ============================================================
   Praticien
   ============================================================ */
.praticien { padding: clamp(44px, 6vw, 84px) 0; background: linear-gradient(180deg, #fff, var(--tint-2)); }
.prat-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.prat-media { position: relative; align-self: center; }
.prat-photo { position: relative; z-index: 2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--tint); }
.prat-photo image-slot { width: 100%; height: 100%; }
.prat-frame { position: absolute; z-index: 1; inset: 22px -22px -22px 22px; border-radius: var(--r-lg); border: 2px solid var(--blue); background: repeating-linear-gradient(-45deg, rgba(46,132,197,.06) 0 8px, transparent 8px 16px); }
.prat-blob { position: absolute; z-index: 0; width: 60%; height: 60%; top: -8%; right: -12%; background: radial-gradient(closest-side, rgba(46,132,197,.22), transparent); filter: blur(10px); }
.prat-badge { position: absolute; z-index: 3; bottom: 20px; left: -26px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.prat-badge .pb-score { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.prat-badge .pb-score span { font-size: 15px; color: var(--muted); }
.prat-badge .stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.prat-badge small { color: var(--muted); font-size: 12px; font-weight: 700; }
.prat-tag { position: absolute; z-index: 3; top: 16px; right: -18px; display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; padding: 8px 15px; border-radius: 999px; box-shadow: var(--shadow); }
.prat-tag i { color: #8FC4EA; font-size: 17px; }
.prat-text .kick { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.prat-text h2 { font-size: clamp(28px, 3.8vw, 42px); margin-top: 10px; }
.prat-lead { font-family: "Caveat", cursive; font-size: clamp(22px, 2.6vw, 28px); color: var(--blue-700); line-height: 1.4; margin-top: 16px; max-width: 520px; }
.prat-points { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.prat-points li { display: flex; gap: 14px; align-items: flex-start; }
.prat-points i { color: var(--green); font-size: 24px; flex: none; margin-top: 1px; }
.prat-points b { display: block; color: var(--navy); font-size: 16px; }
.prat-points span { color: var(--muted); font-size: 14.5px; }
.prat-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.prat-sign .sig { font-family: "Caveat", cursive; font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; padding-bottom: 4px; border-bottom: 2px solid var(--line-2); }

/* ============================================================
   Cabinet — mosaïque bento
   ============================================================ */
.gallery { padding: clamp(44px, 6vw, 84px) 0; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 175px); gap: 14px; margin-top: 34px; }
.tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--tint); }
.tile image-slot { width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tile:hover image-slot { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(15,58,92,.72)); opacity: .85; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile figcaption { position: absolute; z-index: 2; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 14.5px; text-shadow: 0 1px 6px rgba(0,0,0,.3); transform: translateY(2px); transition: transform .3s; }
.tile:hover figcaption { transform: translateY(0); }
.tile figcaption i { font-size: 18px; color: #8FC4EA; }
.tile.t-a { grid-column: span 2; grid-row: span 2; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(44px, 6vw, 84px) 0; background: linear-gradient(180deg, var(--tint-2), #fff); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.faq-aside { position: sticky; top: 92px; }
.faq-aside .kick { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.faq-aside h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 10px; }
.faq-aside p { color: var(--muted); margin-top: 12px; max-width: 340px; }
.faq-aside .btn { margin-top: 20px; }
.faq-list { display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .22s; }
.qa[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.qa summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 800; color: var(--navy); font-size: clamp(15px, 1.5vw, 17px); }
.qa summary::-webkit-details-marker { display: none; }
.qa .q-n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue-600); display: grid; place-items: center; font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.qa[open] .q-n { background: var(--blue); color: #fff; }
.qa summary > i { margin-left: auto; flex: none; font-size: 20px; color: var(--blue); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.qa[open] summary > i { transform: rotate(135deg); }
.qa-body { padding: 0 22px 22px 70px; }
.qa-body p { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .qa-body { padding-left: 22px; }
}

/* ============================================================
   Access / final CTA
   ============================================================ */
.access { padding: clamp(44px, 6vw, 76px) 0; }
.access-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(26px, 4vw, 48px); align-items: stretch; }
.info-card { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-card:last-of-type { border-bottom: none; }
.info-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-size: 24px; flex: none; }
.info-card b { color: var(--navy); font-size: 16px; }
.info-card p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.open-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12.5px; font-weight: 800; color: var(--green); }
.open-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hours-table { margin-top: 4px; }
.hours-table .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.hours-table .row span:first-child { color: var(--muted); }
.hours-table .row span:last-child { color: var(--navy); font-weight: 800; }
.hours-table .row.closed span:last-child { color: var(--muted); font-weight: 600; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy); color: #B7CDDD; padding: 40px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .flogo { background: #fff; padding: 8px 12px; border-radius: 10px; display: inline-block; }
.footer .flogo img { height: 34px; }
.footer .fcontact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer .fcontact a, .footer .fcontact span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.footer .fcontact i { color: #8FC4EA; font-size: 17px; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #8FA9BC; text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lead-card { order: -1; }
  .strip .wrap { grid-template-columns: 1fr 1fr; gap: 16px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .svc-feat { grid-column: span 2; grid-row: span 1; }
  .svc-urgent { grid-column: span 2; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .prat-grid { grid-template-columns: 1fr; }
  .prat-media { width: 100%; max-width: 440px; justify-self: center; margin: 0 0 14px; }
  .prat-frame { inset: 16px -16px -16px 16px; }
  .prat-badge { left: 0; }
}
@media (max-width: 720px) {
  .header-phone small { display: none; }
  .header-inner { height: 60px; }
  html { scroll-padding-top: 68px; }
  .rev-grid { grid-template-columns: 1fr; }
  .strip-item { justify-content: flex-start; }
}
@media (max-width: 460px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .reassure { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .tile.t-a { grid-column: span 2; grid-row: span 1; }
  .svc-feat .feat-list { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   Centre Dentaire Moujahid — Landing PERFORMANCE v2
   Hero immersif sombre + bandeau réassurance défilant.
   Hérite de styles-perf.css, ne surcharge que le haut de page.
   ============================================================ */
/* ---------- Header adapté au hero sombre ---------- */
.header, .header.scrolled { background: rgba(6,28,45,.78); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.10); }
.brand { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px 12px; box-shadow: 0 6px 18px -10px rgba(4,22,38,.7); transition: background .25s, box-shadow .25s, padding .25s; }
.header-phone { color: #fff; }
.header-phone small { color: rgba(255,255,255,.62); }

/* ============================================================
   HERO v2 — panneau immersif
   ============================================================ */
.hero2 { position: relative; isolation: isolate; background: linear-gradient(165deg, #0E4468 0%, #115C7E 48%, #12688C 100%); padding: clamp(30px, 5vw, 62px) 0 clamp(60px, 7vw, 96px); margin-top: -68px; padding-top: calc(68px + clamp(30px, 5vw, 62px)); overflow: hidden; }
.hero2-grid { position: relative; z-index: 2; }
.hero2-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(90% 70% at 30% 20%, #000, transparent 75%); }
.hero2-bg .orb { pointer-events: none; position: absolute; border-radius: 50%; filter: blur(60px); }
.hero2-bg .o1 { width: 460px; height: 460px; top: -140px; right: -80px; background: rgba(150,220,245,.40); }
.hero2-bg .o2 { width: 380px; height: 380px; bottom: -180px; left: -120px; background: rgba(31,168,119,.34); }
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }

.hero2-rating { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); border-radius: 999px; padding: 7px 16px 7px 8px; color: #FFFFFF; font-size: 13.5px; font-weight: 700; }
.hero2-rating .g { width: 24px; height: 24px; border-radius: 7px; background: #fff; color: #4285F4; font-weight: 900; display: grid; place-items: center; font-size: 13px; }
.hero2-rating .stars { color: var(--gold); font-size: 13px; letter-spacing: .5px; }
.hero2-rating b { color: #fff; font-weight: 800; }
.hero2-rating i { color: rgba(255,255,255,.4); font-style: normal; }

.hero2 h1 { color: #fff; font-size: clamp(32px, 5.2vw, 56px); line-height: 1.05; margin-top: 20px; letter-spacing: -.035em; }
.hero2 h1 .hl { color: transparent; background: linear-gradient(100deg, #C8EEFF, #DCF6E9); -webkit-background-clip: text; background-clip: text; position: relative; }
.hero2-sub { color: #FFFFFF; font-size: clamp(16px, 1.85vw, 19px); margin-top: 16px; max-width: 500px; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.34); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

.hero2-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.status-dark { color: #DFFBEE; margin-top: 0; }
.status-dark .dot { background: #B4F3D8; box-shadow: 0 0 0 4px rgba(180,243,216,.22); }
.hero2-sep { width: 1px; height: 18px; background: rgba(255,255,255,.22); }
.hero2-urg { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: 13.5px; font-weight: 700; }
.hero2-urg i { color: var(--gold); font-size: 18px; }

/* carte formulaire posée sur le panneau sombre */
.hero2 .lead-card { border-color: rgba(255,255,255,.55); box-shadow: 0 40px 80px -28px rgba(4,22,38,.7); }
.hero2 .lead-card .tag { background: var(--green-t); color: #14735B; }

/* ============================================================
   Ticker réassurance
   ============================================================ */
.ticker { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerScroll 42s linear infinite; }
.ticker-row { display: flex; align-items: center; gap: 28px; padding: 16px 14px; white-space: nowrap; }
.ticker-row span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800; color: var(--navy); }
.ticker-row span i { color: var(--green); font-size: 19px; }
.ticker-row b { color: var(--line-2); font-size: 14px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   Tuiles galerie — mini-sliders
   ============================================================ */
.photo-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.photo-slider img.on { opacity: 1; }
.photo-slider:hover img.on { transform: scale(1.06); transition: opacity .7s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.equip-dots { position: absolute; z-index: 3; right: 12px; bottom: 14px; display: flex; gap: 6px; }
.equip-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s, width .2s; }
.equip-dots button.on { background: #fff; width: 18px; border-radius: 999px; }

/* ============================================================
   Avis — défilement continu
   ============================================================ */
.reviews .rev-marquee { position: relative; margin-top: 34px; width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden; padding: 6px 0 14px; }
.reviews .rev-marquee::before, .reviews .rev-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 140px); z-index: 2; pointer-events: none; }
.reviews .rev-marquee::before { left: 0; background: linear-gradient(90deg, var(--tint-2), transparent); }
.reviews .rev-marquee::after { right: 0; background: linear-gradient(270deg, var(--tint-2), transparent); }
.reviews .rev-track { display: flex; width: max-content; animation: revScroll 60s linear infinite; }
.reviews .rev-row { display: flex; gap: 16px; padding-right: 16px; }
.reviews .rev-row .rev { width: clamp(280px, 30vw, 360px); flex: none; display: flex; flex-direction: column; }
.reviews .rev-row .rev p { flex: 1; }
.reviews .rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes revScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reviews .rev-track { animation: none; } .reviews .rev-marquee { overflow-x: auto; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2 { padding-bottom: clamp(40px, 6vw, 64px); }
  .hero2-sub { max-width: none; }
}
@media (max-width: 560px) {
  .hero2-cta .btn { width: 100%; }
  .hero2-sep { display: none; }
}


/* ============================================================
   Centre Dentaire Moujahid — adaptations d'intégration
   (ajouté aux feuilles issues de Claude Design)
   ============================================================ */

/* ---------- Icônes : sprite SVG inline (remplace les webfonts Phosphor) ---------- */
i.ic { display: inline-flex; align-items: center; justify-content: center; font-style: normal; flex: none; line-height: 0; }
i.ic > svg { width: 1em; height: 1em; fill: currentColor; display: block; }

/* ---------- Ancres (sitelinks Google Ads) sous le header sticky ---------- */
section[id], [id="rdv"] { scroll-margin-top: 84px; }
@media (max-width: 720px) { section[id], [id="rdv"] { scroll-margin-top: 72px; } }

/* ---------- Photos : <img> réels à la place du composant <image-slot> ---------- */
.prat-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }

/* ---------- Mosaïque cabinet : triptyque (soins / équipements / accueil) ----------
   3 colonnes égales : les photos du cabinet sont toutes en portrait 3/4,
   des tuiles de même proportion évitent un recadrage agressif. */
.mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(112px, 13.5vw, 168px); }
.tile.t-a { grid-column: 1; grid-row: 1 / 4; }
.tile.t-c { grid-column: 2; grid-row: 1 / 4; }
.tile.t-d { grid-column: 3; grid-row: 1 / 4; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(104px, 24vw, 150px); }
  .tile.t-a { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile.t-c { grid-column: 1; grid-row: 3 / 5; }
  .tile.t-d { grid-column: 2; grid-row: 3 / 5; }
}
@media (max-width: 460px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .tile.t-a { grid-column: 1 / 3; grid-row: 1 / 3; }
}

/* ---------- Héro mobile : le message avant le formulaire ----------
   styles-perf.css remonte .lead-card (order:-1) sous 980px : conçu pour le
   héro v1, l'effet de bord sur le héro v2 est qu'un visiteur Google Ads
   n'arrive que sur un formulaire, sans le H1 qui confirme « dentiste à
   Témara ». On rétablit l'ordre naturel — le formulaire reste juste dessous,
   et les CTA « Appeler » / « Être rappelé » sont visibles sans défiler.
   Pour revenir au comportement d'origine : supprimer la règle ci-dessous. */
@media (max-width: 980px) {
  .hero2-grid .lead-card { order: 0; }
}

/* ---------- Header mobile : le libellé d'appel passe en bouton icône ---------- */
@media (max-width: 680px) {
  .header-phone span { display: none; }
  .header-phone { width: 42px; height: 42px; border-radius: 50%; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); }
  .header-phone i { font-size: 21px; }
}

/* ---------- Héros mobile : tout le message au-dessus de la ligne de flottaison ----------
   Mesuré sur iPhone SE (375x667) : une fois la barre d'appel fixe deduite, il reste
   ~597 px. Le H1 tombait sur 4 lignes et la ligne de reassurance passait sous la barre.
   On resserre l'echelle plutot que de couper du contenu. */
@media (max-width: 640px) {
  /* le header mobile fait 60 px, pas 68 : on compense a la bonne hauteur */
  .hero2 { margin-top: -60px; padding-top: calc(60px + 22px); padding-bottom: 46px; }

  .hero2-rating { font-size: 12.5px; padding: 6px 13px 6px 7px; gap: 7px; }
  .hero2-rating .g { width: 21px; height: 21px; font-size: 12px; }

  /* le <br> du titre coupait apres « a Temara » et poussait a 4 lignes :
     en flux naturel et a cette echelle, le titre tient sur 3 lignes. */
  .hero2 h1 { font-size: 29px; line-height: 1.1; letter-spacing: -.03em; margin-top: 14px; }
  .hero2 h1 br { display: none; }

  .hero2-sub { font-size: 15.5px; line-height: 1.5; margin-top: 12px; }

  .hero2-cta { margin-top: 20px; gap: 10px; }
  .hero2-cta .btn { padding: 15px 22px; font-size: 16px; }

  .hero2-foot { margin-top: 18px; gap: 10px 14px; }
  .hero2-urg { font-size: 13px; }
  .status { font-size: 12.5px; }

  /* la carte formulaire suit immediatement, sans trou */
  .hero2 .lead-card { margin-top: 4px; }
}

/* ---------- Carte Google Maps : lien vers la fiche d'établissement ---------- */
.map-wrap { position: relative; }
.map-cta { position: absolute; z-index: 2; left: 14px; bottom: 44px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--blue-700); font-weight: 800; font-size: 14px; padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .16s, box-shadow .22s; }
.map-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--blue-700); }
.map-cta i { color: var(--green); font-size: 18px; }

/* ---------- Formulaire : anti-spam & états ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#rdvForm button[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-error { display: none; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #C0392B; background: #FEF5F4; border: 1px solid #F3C9C4; border-radius: 11px; padding: 11px 13px; text-align: center; }
.form-error.show { display: block; }

/* ---------- Divers ---------- */
.footer .flogo img, .brand img { width: auto; }
.reviews .rev .who b { display: block; }
