@charset "UTF-8";
/* Pages de besoin et page « Yves Fernand ». Complète style.css, ne le remplace pas. */
.page h1 { font-size: clamp(34px, 3.7vw, 52px); letter-spacing: -.04em; line-height: 1.14; max-width: 21ch; }
.page h1 em, .page h2 em { font-style: normal; color: var(--terre); }
.page h2 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; }

.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--secondaire); padding-top: 6px; }
.fil a { text-decoration: underline; text-underline-offset: 3px; }

.page-tete { padding-block: 34px 56px; }
.page-tete .introduction { max-width: 62ch; font-size: 17px; }
.page-tete.avec-portrait { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.page-tete .portrait-yves img { max-width: 100%; }
.page-tete .lien { font-weight: 700; }

.page-corps { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 72px; align-items: start; padding-block: 56px 40px; border-top: 1px solid var(--ligne); }
.texte-page { max-width: 68ch; }
.texte-page section + section, .texte-page .chantier-page + section { margin-top: 46px; }
.texte-page h2 { margin-bottom: 16px; }
.texte-page p, .texte-page li { font-size: 16px; color: var(--secondaire); }
.texte-page p { margin: 0 0 14px; }
.texte-page ul, .texte-page ol { margin: 0 0 14px; padding-left: 20px; }
.texte-page li { margin-bottom: 8px; }
.texte-page li::marker { color: var(--terre); font-weight: 700; }
.texte-page strong { color: var(--encre); font-weight: 700; }
.texte-page a { color: var(--terre); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.liste-liens { list-style: none; padding-left: 0 !important; }
.liste-liens li { padding: 12px 0; border-top: 1px solid var(--ligne); margin: 0; }
.liste-liens li:last-child { border-bottom: 1px solid var(--ligne); }

.chantier-page { margin-top: 40px; padding: 18px; background: var(--sable); border-radius: 18px; }
.chantier-vues { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chantier-vues figure { position: relative; overflow: hidden; border-radius: 10px; background: var(--blanc); }
.chantier-vues img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.chantier-vues figure:last-child .badge-photo { background: var(--terre); color: #fff; }
.legende-chantier { font-size: 13px !important; margin: 14px 4px 2px !important; }

.carte-devis { position: sticky; top: 28px; padding: 28px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; }
.carte-devis .surtitre { margin-bottom: 14px; color: var(--terre); }
.carte-devis .carte-titre { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; margin: 0 0 12px; }
.carte-devis p { font-size: 14px; color: var(--secondaire); margin: 0 0 18px; }
.carte-devis .bouton { width: 100%; }
.telephone-carte { display: block; margin: 16px 0 14px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--terre); text-align: center; }
.carte-devis .petit-texte { font-size: 12px; margin: 0; }

.avis-page { padding-block: 64px; border-top: 1px solid var(--ligne); }
.avis-page h2 { margin-bottom: 30px; }
.avis-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.page .faq { padding-block: 64px; border-top: 1px solid var(--ligne); }
.page .faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.page .faq details p { font-size: 15px; margin-top: 10px; }

.suite-page { padding-block: 64px; border-top: 1px solid var(--ligne); }
.suite-page h2 { margin-bottom: 26px; }
.suite-liens { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.suite-liens a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; transition: border-color .16s ease; }
.suite-liens a:hover { border-color: var(--terre); }
.suite-liens strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.suite-liens span { font-size: 13px; color: var(--secondaire); }

.appel-page { background: #55251e; color: #fff; padding-block: 64px; }
.appel-page .cadre { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.appel-page h2 em { color: #f2c4b1; }
.appel-page p { max-width: 46ch; margin: 14px 0 0; color: #f1e8e0; }
.bouton.clair { background: var(--blanc); color: var(--terre); border-color: var(--blanc); }
.bouton.clair:hover { background: #f7ded4; }
.telephone-appel { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #fff; }

.erreur-page { padding-block: 90px 110px; }
.erreur-page p { max-width: 52ch; color: var(--secondaire); margin: 22px 0 30px; }

@media (max-width: 1000px) {
  .page-corps { grid-template-columns: 1fr; gap: 40px; }
  .carte-devis { position: static; max-width: 460px; }
  .page-tete.avec-portrait { grid-template-columns: 1fr; gap: 34px; }
  .page-tete .portrait-yves { max-width: 380px; }
}
@media (max-width: 850px) {
  .page .entete nav { display: none; }
}
@media (max-width: 540px) {
  .page-tete { padding-block: 22px 40px; }
  .page-tete .introduction { font-size: 16px; }
  .page-corps { padding-block: 40px 24px; }
  .chantier-vues { gap: 8px; }
  .chantier-page { padding: 10px; }
  .appel-page { padding-block: 48px 110px; }
  .appel-page .actions { width: 100%; }
  .avis-page, .page .faq, .suite-page { padding-block: 48px; }
  .page .faq { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) { .suite-liens a { transition: none; } }
