:root {
  --encre: #15181d;
  --encre-2: #474d56;
  --encre-3: #7a808a;
  --trait: #e2ded6;
  --fond: #f6f4ef;
  --surface: #ffffff;
  --accent: #c2410c;
  --rayon: 10px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1080px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--fond); color: var(--encre); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(246,244,239,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo svg { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--encre-2); }
.nav a:hover { color: var(--encre); }
.langues { display: flex; border: 1px solid var(--trait); border-radius: 8px; overflow: hidden; background: var(--surface); flex: none; }
.langues button { border: 0; background: none; padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--encre-3); cursor: pointer; }
.langues button.actif { background: var(--encre); color: #fff; }
.btn-plein, .btn-filet {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: var(--rayon);
  font-weight: 700; text-decoration: none; cursor: pointer; font-size: 16px; line-height: 1.2;
}
.btn-plein { background: var(--accent); color: #fff; border: 0; }
.btn-filet { background: var(--surface); border: 1.5px solid var(--trait); color: var(--encre); }
.btn-plein:hover { filter: brightness(1.06); }
.btn-filet:hover { border-color: var(--encre-3); }
.entete .btn-plein { padding: 9px 14px; font-size: 14px; }

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--trait); }
.sur-titre { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.07; max-width: 17ch; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; max-width: 22ch; margin-bottom: 28px; }
h3 { font-size: 21px; line-height: 1.3; margin-bottom: 6px; }
.chapo { font-size: 19px; color: var(--encre-2); max-width: 58ch; margin: 20px 0 28px; }
.note { font-size: 14px; color: var(--encre-3); margin-top: 16px; }

/* Accueil */
.heros { padding: 56px 0 64px; }
.heros-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.heros-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.telephone {
  border: 10px solid var(--encre); border-radius: 34px; overflow: hidden; background: var(--encre);
  aspect-ratio: 390 / 760; max-width: 320px; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(21,24,29,.45);
}
.telephone iframe { width: 100%; height: 100%; border: 0; background: var(--fond); display: block; }

.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.numero { font-family: var(--serif); font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.trois p, .quatre p { color: var(--encre-2); margin: 0; }
.quatre { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.quatre > div { border-top: 2px solid var(--encre); padding-top: 14px; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.coche { list-style: none; padding: 0; margin: 12px 0 0; }
.coche li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--trait); position: relative; }
.coche li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.coche.attente li::before { border-color: var(--encre-3); }
.encadre { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--encre-2); margin-top: 28px; font-style: italic; }

.prix-bloc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.prix-chiffre { font-family: var(--serif); font-size: 72px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.prix-unite { color: var(--encre-2); margin: 6px 0 18px; }

#faq-liste details { border-bottom: 1px solid var(--trait); }
#faq-liste summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; list-style: none; position: relative; }
#faq-liste summary::-webkit-details-marker { display: none; }
#faq-liste summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--encre-3); }
#faq-liste details[open] summary::after { content: "–"; }
#faq-liste p { margin: 0 0 18px; color: var(--encre-2); max-width: 70ch; }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: 760px; }
.formulaire .plein { grid-column: 1 / -1; }
.champ { display: block; }
.champ > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--trait); border-radius: var(--rayon); background: var(--surface); font-size: 16px; outline: none;
}
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--encre); }
.piege { position: absolute; left: -9999px; }
.message { font-weight: 700; margin: 6px 0 0; }
.message.ok { color: #15803d; }
.message.ko { color: #b42318; }

/* Pied */
.pied { padding: 36px 0 48px; font-size: 14px; color: var(--encre-3); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.pied a { color: var(--encre-2); }
.pied-liens { display: flex; gap: 18px; flex-wrap: wrap; }

/* Qui je suis */
.apropos { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.portrait { border-radius: var(--rayon); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.portrait-legende { font-size: 14px; color: var(--encre-3); margin-top: 10px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1.5px solid var(--trait); border-radius: var(--rayon); text-decoration: none; font-size: 14px; font-weight: 700; background: var(--surface); }
.reseaux a:hover { border-color: var(--encre-3); }
.texte-long h3 { margin-top: 32px; }
.texte-long p { color: var(--encre-2); max-width: 66ch; margin: 8px 0 0; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); }
.galerie figure.large { grid-column: 1 / -1; }
.galerie figure.large img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 520px; object-fit: contain; }
.galerie figcaption { font-size: 13px; color: var(--encre-3); margin-top: 6px; }

.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p { color: var(--encre-2); max-width: 72ch; }

@media (max-width: 860px) {
  .nav { display: none; }
  .langues { margin-left: auto; }
  .heros-grille, .deux-colonnes, .prix-bloc, .apropos { grid-template-columns: 1fr; gap: 32px; }
  .trois { grid-template-columns: 1fr; gap: 28px; }
  .quatre { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie figure.large { grid-column: 1 / -1; }
  .apropos .portrait { max-width: 420px; }
  section { padding: 48px 0; }
  .entete .btn-plein { display: none; }
}

.argent { font-weight: 700; font-size: 18px; margin: -10px 0 26px; padding-left: 14px; border-left: 3px solid var(--accent); max-width: 52ch; }
.calcul { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px; }
.calcul input[type=range] { width: 100%; accent-color: var(--accent); padding: 0; border: 0; background: none; }
.resultats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 0; }
.resultats div { border-top: 2px solid var(--encre); padding-top: 10px; }
.resultats span { display: block; font-size: 14px; color: var(--encre-2); }
.resultats strong { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); line-height: 1.1; color: var(--accent); }
.pied-logo { width: 150px; height: auto; flex-basis: 100%; max-width: 150px; margin-bottom: 8px; }
.barre-francis { background: #15181d; color: #e9e6e0; font-size: 14px; }
.barre-francis .conteneur { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.barre-francis b { color: #fff; }
.barre-francis a { color: #fff; font-weight: 700; margin-left: auto; }
.gagnants > div { border-top: 2px solid var(--encre); padding-top: 14px; }
.gagnants .coche li { font-size: 16px; }
.prix-libre { position: relative; }
.prix-libre .devise { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--encre-2); }
.prix-libre input { padding-left: 30px !important; font-weight: 700; }
.prix-rapides { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.prix-rapides button { border: 1.5px solid var(--trait); background: var(--fond); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.prix-rapides button:hover { border-color: var(--encre-3); }
.comparer { font-size: 16px; color: var(--encre-2); margin: -16px 0 26px; padding-left: 14px; border-left: 3px solid var(--trait); max-width: 52ch; }
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparatif { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); }
.comparatif th, .comparatif td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparatif tr:first-child th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--encre-3); }
.comparatif tr th:first-child { font-weight: 700; color: var(--encre); }
.comparatif .nous { background: #fdf1ea; color: var(--accent); font-weight: 800; }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .comparatif { min-width: 0; font-size: 13px; }
  .comparatif th, .comparatif td { padding: 9px 7px; }
  .comparatif tr:first-child th { font-size: 11px; letter-spacing: 0; }
}
.etiquette-sites { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-3); margin: 18px 0 0; }
.reseaux.sites { margin-top: 8px; }
.lien-partenaire { align-self: center; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
