/* =========================================================
   FettoNet — Site vitrine
   Design system : moderne épuré, bleu confiance + vert air pur
   ========================================================= */

:root {
  /* Couleurs de marque */
  --navy:        #0A2540;   /* texte principal, foncé */
  --blue:        #1B81CB;   /* bleu du logo — couleur primaire */
  --blue-dark:   #14619B;
  --teal:        #3DB54A;   /* vert du logo — air pur, écologie */
  --teal-dark:   #2F9A3C;
  --sky:         #EAF4FB;   /* fond bleu très clair */
  --mint:        #E9F7EA;   /* fond vert très clair */
  --bg:          #F7FAFC;   /* fond de page */
  --surface:     #FFFFFF;
  --ink:         #0F2238;   /* titres */
  --muted:       #5B6B7B;   /* texte secondaire */
  --line:        #E2E8F0;   /* bordures */

  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(10, 37, 64, .06), 0 1px 3px rgba(10, 37, 64, .08);
  --shadow:      0 10px 30px -12px rgba(10, 37, 64, .18);
  --shadow-lg:   0 24px 60px -20px rgba(10, 37, 64, .28);

  --maxw:        1160px;
  --gap:         clamp(1rem, 3vw, 2rem);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------- Reset ------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--muted); }
ul { color: var(--muted); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ----------------------- Layout ------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section__head p { font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6rem;
}

/* ----------------------- Buttons ----------------------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 650; font-size: .98rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: #fff; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { --btn-bg: var(--teal); }
.btn--accent:hover { background: var(--teal-dark); }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none;
}
.btn--ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue-dark); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ----------------------- Header ------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; color: var(--blue); letter-spacing: -0.02em; }
.brand:hover { color: var(--blue); }
.brand b { color: var(--teal); font-weight: 800; }
.brand__mark { height: 36px; width: auto; flex: 0 0 auto; display: block; }
.nav { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav a.nav__link {
  color: var(--navy); font-weight: 550; font-size: .95rem; padding: .5rem .7rem; border-radius: 8px;
}
.nav a.nav__link:hover { background: var(--sky); color: var(--blue-dark); }
.header__tools { display: flex; align-items: center; gap: .6rem; margin-left: .4rem; }

/* Sélecteur de langue */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang button {
  border: 0; background: transparent; font: inherit; font-weight: 650; font-size: .82rem;
  padding: .38rem .6rem; cursor: pointer; color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }

.tel-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--navy); padding: .4rem .2rem; }
.tel-link svg { width: 18px; height: 18px; color: var(--teal-dark); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; color: var(--navy); }

/* ----------------------- Hero -------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, var(--mint), transparent 60%), radial-gradient(900px 500px at 0% 0%, var(--sky), transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #3a4b5c; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1rem; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.hero__badge svg { width: 20px; height: 20px; color: var(--teal-dark); flex: 0 0 auto; }

/* Carte visuelle du hero */
.hero__media { position: relative; }
.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 1.4rem; transform: rotate(-1.2deg);
}
.hero__photo {
  aspect-ratio: 4/3; border-radius: 14px; display: grid; place-content: center; text-align: center;
  background: var(--bg); color: #fff; gap: .4rem; padding: clamp(1.2rem, 4vw, 2.2rem);
}
.hero__photo img { width: 100%; height: 100%; object-fit: contain; }
.hero__photo svg { width: 56px; height: 56px; margin: 0 auto; opacity: .95; }
.hero__photo small { opacity: .85; font-size: .8rem; letter-spacing: .04em; }
.hero__chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem;
  font-weight: 650; font-size: .9rem; color: var(--navy);
}
.hero__chip svg { width: 24px; height: 24px; }
.hero__chip--tl { top: -14px; left: -14px; }
.hero__chip--br { bottom: -16px; right: -10px; }
.hero__chip i { font-style: normal; color: var(--muted); font-weight: 500; font-size: .78rem; display: block; }

/* Bandeau de confiance */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 2rem; padding: 1.1rem 0; }
.trustbar__item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.trustbar__item svg { width: 20px; height: 20px; color: var(--blue); }

/* ----------------------- Services ---------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ee; }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-content: center; margin-bottom: 1rem;
  background: var(--sky); color: var(--blue);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; font-size: .95rem; }
.card--star { border-color: var(--teal); box-shadow: 0 12px 30px -16px rgba(18,181,165,.6); position: relative; }
.card--star .card__icon { background: var(--mint); color: var(--teal-dark); }
.card__tag {
  position: absolute; top: 1.1rem; right: 1.1rem; font-size: .68rem; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; background: var(--teal); padding: .25rem .55rem; border-radius: 999px;
}

/* ----------------- Spécialité hottes ------------------- */
.specialty { background: linear-gradient(135deg, var(--navy) 0%, #0c3b63 100%); color: #fff; }
.specialty h2, .specialty h3 { color: #fff; }
.specialty p { color: #cdddea; }
.specialty .eyebrow { color: #7fe3d6; }
.specialty__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.risk-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.risk-list li { display: flex; gap: .8rem; align-items: flex-start; color: #e7f0f7; }
.risk-list svg { width: 24px; height: 24px; flex: 0 0 auto; color: #ffcf73; margin-top: 2px; }
.specialty__panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(6px); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.price-row:last-child { border-bottom: 0; }
.price-row b { color: #fff; font-weight: 650; display: block; }
.price-row small { color: #9fc3dd; font-size: .85rem; display: block; font-weight: 400; margin-top: 2px; }
.price-row .price { color: #7fe3d6; font-weight: 750; white-space: nowrap; align-self: flex-start; }

/* ----------------- Pourquoi nous ----------------------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.why { display: flex; gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why__icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: var(--mint); color: var(--teal-dark); display: grid; place-content: center; }
.why__icon svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.why p { margin: 0; font-size: .92rem; }

/* ----------------------- Stats ------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem; text-align: center; }
.stat { padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------------- Zone d'intervention ------------------ */
.zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; font-weight: 600; font-size: .9rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.chip--accent { background: var(--mint); border-color: #bfeee6; color: var(--teal-dark); }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.map-card__visual { aspect-ratio: 16/11; background: radial-gradient(circle at 55% 45%, var(--mint), var(--sky) 70%); position: relative; display: grid; place-content: center; }
.map-card__visual svg { width: 64px; height: 64px; color: var(--blue); }
.map-card__visual .ring { position: absolute; border: 2px dashed rgba(30,111,184,.4); border-radius: 50%; }
.map-card__visual .ring.r1 { width: 46%; height: 46%; }
.map-card__visual .ring.r2 { width: 72%; height: 72%; opacity: .6; }
.map-card__foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.map-card__foot svg { width: 20px; height: 20px; color: var(--teal-dark); }

/* ------------------ Comment ça marche ------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.step__num { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-weight: 800; font-size: 1.25rem; display: grid; place-content: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.step p { margin: 0; font-size: .94rem; }

/* ----------------- Témoignages ------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.quote__stars { color: #f5b400; letter-spacing: 2px; }
.quote p { margin: 0; color: var(--ink); font-size: 1rem; }
.quote__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-content: center; font-weight: 750; }
.quote__who b { font-size: .92rem; color: var(--navy); }
.quote__who span { font-size: .82rem; color: var(--muted); display: block; }
.placeholder-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1.4rem; font-style: italic; }

/* --------------------- CTA final ----------------------- */
.cta-final { background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%); color: #fff; border-radius: clamp(18px, 4vw, 28px); padding: clamp(2.2rem, 6vw, 3.6rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.92); max-width: 540px; margin-inline: auto; }
.cta-final .btn { margin-top: 1rem; }
.cta-final .btn--accent { background: #fff; color: var(--blue-dark); }
.cta-final .btn--accent:hover { background: #f0f7ff; }
.cta-final .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-final .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* --------------------- Contact ------------------------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__info { display: grid; gap: 1.1rem; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; }
.info-row__icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-content: center; }
.info-row__icon svg { width: 22px; height: 22px; }
.info-row b { display: block; color: var(--navy); font-size: .95rem; }
.info-row a, .info-row span { color: var(--muted); font-size: .95rem; }
.info-row a:hover { color: var(--blue-dark); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .35rem; }
.field label .req { color: #e0564b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,184,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.form__success { display: none; background: var(--mint); border: 1px solid #bfeee6; color: var(--teal-dark); border-radius: var(--radius-sm); padding: .9rem 1rem; font-weight: 600; margin-bottom: 1rem; }
.form__success.show { display: block; }

/* ----------------------- Footer ------------------------ */
.footer { background: var(--navy); color: #cddae6; padding: clamp(2.5rem, 6vw, 3.5rem) 0 1.5rem; }
.footer a { color: #cddae6; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__grid h4 { color: #fff; font-size: .95rem; margin: 0 0 .9rem; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand b { color: #5BD06A; }
.footer__brand p { color: #9fb3c6; max-width: 30ch; margin-top: .8rem; font-size: .92rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-content: center; }
.footer__social a:hover { background: rgba(255,255,255,.16); }
.footer__social svg { width: 20px; height: 20px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #92a6b8; }
.footer__bottom a { font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ----------------- Bandeau cookies --------------------- */
.cookie {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 80; max-width: 560px;
  margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: .9rem; margin: 0 0 .9rem; color: var(--ink); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn { padding: .6rem 1.1rem; font-size: .9rem; }

/* ----------------- Pages légales ----------------------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: #3a4b5c; }
.legal a.back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-weight: 600; }

/* highlight des champs à compléter par le client */
.todo { background: #fff6da; border-bottom: 1px dashed #d9a300; padding: 0 2px; border-radius: 3px; }

/* ----------------------- Utils ------------------------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hide-mobile { }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero__grid, .specialty__grid, .zone__grid, .contact__grid { grid-template-columns: 1fr; }
  .specialty__grid { gap: 2rem; }
  .hero__media { order: -1; max-width: 440px; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__tools .tel-text { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: .8rem 1rem 1.2rem; box-shadow: var(--shadow);
  }
  .nav.open a.nav__link { padding: .8rem .6rem; font-size: 1rem; }
  .nav.open .btn { margin-top: .5rem; justify-content: center; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__chip--tl { left: 0; }
  .hero__chip--br { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
