/* Amperage Dépannage — feuille de style */

:root {
  --navy: #1C2B48;
  --navy-deep: #131F36;
  --navy-line: #2A3A5C;
  --gold: #F2B824;
  --gold-hover: #F7C64A;
  --gold-dark: #D99E10;
  --gold-light: #FFF3CC;
  --cream: #F6F1E6;
  --paper: #FCFAF5;
  --white: #FFFFFF;
  --ink: #1C2B48;
  --ink-soft: #3A4460;
  --muted: #5A6377;
  --muted-light: #8A92A3;
  --on-navy: #C9CFDD;
  --line: #E6E0D2;
  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: Barlow, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* Typographie */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; margin: 0; }
.eyebrow { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.18em; color: var(--gold-dark); margin: 0; }
.h1 { font-size: 84px; }
.h2 { font-size: 60px; }
.h3 { font-size: 34px; }
.lead { font-size: 21px; line-height: 1.5; margin: 0; color: var(--ink-soft); }
.soft { color: var(--ink-soft); margin: 0; }
.muted { color: var(--muted); font-size: 16px; margin: 0; }
.placeholder { background: var(--gold-light); padding: 0 4px; border-radius: 4px; }

/* Icônes */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 18px; height: 18px; }
.ic--fill { fill: currentColor; stroke: none; }
.badge { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); border: 2px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; min-height: 56px; border-radius: 10px;
  border: 2px solid var(--navy); font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn .ic { width: 22px; height: 22px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--cream { background: var(--cream); color: var(--navy); border-color: var(--cream); box-shadow: 4px 4px 0 var(--gold); }
.btn--cream:hover { color: var(--navy); background: var(--white); }
.btn--small { padding: 12px 20px; min-height: 48px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* En-tête */
.site-header { border-bottom: 2px solid var(--navy); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.04em; color: var(--ink); }
.brand__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); white-space: nowrap; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }

/* Hero */
.hero { padding: 72px 0 80px; position: relative; overflow: hidden; background: var(--paper); }
.hero__speed { position: absolute; left: -20px; top: 42%; width: 220px; height: 120px; }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__copy .lead { max-width: 520px; }
.hero__eyebrow { display: block; line-height: 1.2; margin-bottom: 26px; }
.hero__accent { color: var(--gold-dark); }
.hero__hours { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); font-weight: 500; }
.hero__hours .ic { margin-top: 3px; }
.hero__logo { display: flex; justify-content: center; }
.hero__logo img { width: 100%; max-width: 520px; height: auto; display: block; mix-blend-mode: multiply; }

/* Bandeau de confiance */
.strip { background: var(--navy); color: var(--cream); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 32px; font-weight: 600; font-size: 17px; }
.strip__item { display: flex; align-items: center; gap: 12px; }
.strip__item .ic { color: var(--gold); }
.strip__sep { width: 18px; height: 18px; fill: var(--gold); flex: none; }

/* Sections */
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .h2, .section--navy .h3 { color: var(--cream); }
.section--navy .eyebrow { color: var(--gold); }
.section--navy .soft { color: var(--on-navy); }
.section__inner { display: flex; flex-direction: column; gap: 48px; }
.section__head { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.feature { display: flex; flex-direction: column; gap: 16px; }

/* Cartes */
.card { background: var(--white); border: 2px solid var(--navy); border-radius: 16px; padding: 30px 28px; box-shadow: 6px 6px 0 var(--navy); display: flex; flex-direction: column; gap: 16px; }
.cards { gap: 32px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.list .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-dark); }

/* Étapes */
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--gold); padding-top: 22px; }
.step__num { font-family: var(--font-display); font-size: 88px; color: var(--gold); line-height: 0.85; }

/* Tarifs */
.price-card { gap: 0; padding: 8px 28px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 2px solid var(--line); }
.price-row__label { font-weight: 600; }
.price-row__value { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.price-row__value small { font-size: 20px; color: var(--muted); }
.price-row__text { color: var(--ink-soft); text-align: right; }
.price-note { padding: 18px 0 20px; font-size: 15px; color: var(--muted); }

/* Zone */
.chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.chip { padding: 8px 14px; border: 2px solid var(--navy); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--white); }

/* Avis */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tag { font-size: 14px; font-weight: 600; padding: 6px 10px; }
.review { margin: 0; background: var(--white); border: 2px solid var(--navy); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 17px; color: var(--ink-soft); }
.review figcaption { font-weight: 700; font-size: 15px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; }

/* Contact */
.contact__copy { display: flex; flex-direction: column; gap: 22px; }
.big-phone { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--ink); text-decoration: none; }
.form { gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { border: 2px solid var(--navy); border-radius: 10px; background: var(--white); padding: 12px 14px; min-height: 48px; font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; }
.form__status { display: none; font-weight: 600; color: var(--ink); margin: 0; }
.form__status.is-visible { display: block; }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 56px 0 32px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.site-footer__logo { width: 220px; height: auto; display: block; border-radius: 12px; }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer__name { font-family: var(--font-display); font-size: 26px; color: var(--cream); letter-spacing: 0.04em; }
.site-footer a { color: var(--on-navy); }
.site-footer a.strong { color: var(--cream); text-decoration: none; font-weight: 700; }
.site-footer .placeholder { background: var(--navy-line); color: var(--cream); }
.site-footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: 13px; color: var(--muted-light); }

/* Pages légales */
.legal { padding: 64px 0 88px; }
.legal__inner { max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.legal__block { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 108px; }
.legal__block h2 { font-size: 40px; }
.legal__block p, .legal__block ul { margin: 0; color: var(--ink-soft); }
.legal__block ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal__back { font-weight: 600; }

/* Barre d'appel mobile */
.call-bar { display: none; }

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .wrap { padding: 0 20px; }
  .h1 { font-size: 52px; }
  .h2 { font-size: 40px; }
  .lead { font-size: 18px; }
  .nav, .brand__tag { display: none; }
  .header-label { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero__speed { display: none; }
  .hero__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 28px; }
  .hero__logo { max-width: 300px; margin: 0 auto; }
  .cols-3, .cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .strip .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .strip__sep { display: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .section { padding: 56px 0; }
  .step__num { font-size: 64px; }
  .big-phone { font-size: 48px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    align-items: center; justify-content: center; gap: 10px;
    padding: 16px 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom));
    background: var(--gold); color: var(--navy); font-weight: 700; font-size: 17px; text-decoration: none;
    border-top: 2px solid var(--navy);
  }
}
