/* Pages de service et accueil : photographie de chantier, textes lisibles,
   liens explicites. Les galeries et la typographie d'accueil sont conservées. */
:root { color-scheme: light; }
/* Fond crème ligné sur tout le site (Sacha, 14/10/2026) : un trait vertical tous les 22 px, centré, posé une seule fois sur la page
   pour que les lignes restent continues d'une section à l'autre. Les sections claires sont donc transparentes. */
.page-accueil, .page-interieure { background: var(--craie) linear-gradient(90deg, rgb(17 17 17 / .08) 1px, transparent 1px) 50% 0 / 22px 22px; color: var(--sapin); }
body :focus-visible { outline: 3px solid #39754e; outline-offset: 5px; border-radius: 2px; }
/* Le focus ne doit pas aplatir les coins de la galerie ni sa croix ronde. */
body .galerie:focus-visible { border-radius: 24px; outline: none; }
body .galerie__fermer:focus-visible { border-radius: 999px; outline-color: #111; }
@media (max-width: 640px) { body .galerie:focus-visible { border-radius: 24px 24px 0 0; } }
main { outline: none; }
.conteneur { width: min(1180px, calc(100% - 2 * var(--marge))); margin-inline: auto; }
.espace { padding-block: clamp(56px, 7vw, 104px); }
.conteneur + .conteneur.espace { border-top: 1px solid #cbd5ca; }
.page-interieure h1 { max-width: 950px; font-size: clamp(38px, 5.1vw, 72px); line-height: 1.2; letter-spacing: -.023em; font-weight: 600; text-wrap: balance; }
.page-interieure h2, .prestations h2, .chantiers h2, .deroulement h2, .zone-accueil h2, .page-accueil .espace > h2, .rappel-contact h2 { margin: 0 0 26px; font-size: clamp(29px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -.023em; font-weight: 600; text-wrap: balance; max-width: 830px; }
.page-interieure h3, .question h3, .etapes h3, .chantier-apercu h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.2; font-weight: 600; letter-spacing: -.023em; margin: 0 0 14px; }
.page-interieure p, .prestations p, .question p, .etapes p, .chantier-apercu p { max-width: 65ch; }
.texte-intro { font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
/* Petit texte des pages intérieures : le gris-vert léger (14/10/2026) */
.page-interieure main p { color: var(--texte-doux); }
.note { color: var(--texte-doux); font-size: 14px; line-height: 1.3; margin-top: 22px; max-width: 60ch; }
.lien-texte { color: inherit; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 600; }
.lien-texte:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; }
.bouton--noir { box-shadow: none; }
.realisations__action .icone-whatsapp-fournie { flex: none; width: 24px; height: 24px; filter: invert(1); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 14px 20px; color: #fff; background: var(--sapin); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.nav :focus-visible { outline-color: var(--menthe); }
.pied :focus-visible { outline-color: #111; } /* pied de page clair depuis le 14/10 */
.accueil__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.accueil__bloc :focus-visible { outline-color: var(--menthe); }
.prestations { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: start; }
.prestations p { font-size: 18px; margin-bottom: 14px; }
.liste-prestations { list-style: none; padding: 0; margin: 0; border-top: 1px solid #9aac9b; }
.liste-prestations li { border-bottom: 1px solid #9aac9b; }
.liste-prestations a { display: flex; justify-content: space-between; gap: 18px; align-items: center; color: inherit; text-decoration: none; font-size: clamp(21px, 2.4vw, 30px); padding-block: 23px; }
.liste-prestations a:hover span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.liste-prestations a span:last-child { font-size: 24px; }
.realisations { background: transparent; padding-top: 64px; } /* le fondu du héro donne déjà de l'air au-dessus (14/10/2026) */
.realisations__phrase { max-width: 65ch; margin-inline: auto; }
.chantiers > h2 { margin-bottom: 42px; }
.projets { display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px 7%; align-items: start; }
.chantier-apercu--principal { grid-row: span 2; }
.chantier-apercu__image { display: block; overflow: hidden; background: #d5ded0; }
.chantier-apercu img { width: 100%; height: 240px; object-fit: cover; }
.chantier-apercu--principal img { height: 580px; }
.chantier-apercu h3 { margin-top: 22px; }
.chantier-apercu h3 a { color: inherit; text-decoration: none; }
.chantier-apercu h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.chantier-apercu p { color: var(--texte-doux); font-size: 15px; }
.chantier-apercu .lien-texte { margin-top: 7px; }
.avis { background: transparent; }
.presentation { background: var(--craie); }
.presentation__photo { margin: 0; overflow: visible; background: transparent; aspect-ratio: auto; border: 0; border-radius: 0; }
.presentation__photo img { width: 100%; height: 580px; object-fit: cover; object-position: 50% 40%; border-radius: 0; }
figcaption { font-size: 13px; line-height: 1.3; color: var(--texte-doux); margin-top: 10px; }
.presentation__phrase + .presentation__phrase { margin-top: 20px; }
.presentation__texte > .lien-texte { margin-top: 20px; }
.etapes { list-style: decimal-leading-zero; margin: 36px 0 0; padding-left: 38px; }
.etapes li { padding: 25px 0 25px 24px; border-top: 1px solid #cbd5ca; }
.etapes li::marker { font-size: 14px; color: var(--texte-doux); }
.etapes li h3 { margin-bottom: 8px; }
.etapes li p { max-width: 70ch; }
.zone-accueil .lien-texte { margin-top: 18px; }
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 7%; margin-top: 40px; }
.question { border-top: 1px solid #cbd5ca; padding-top: 24px; }
.rappel-contact { background: transparent; }
.rappel-contact p { font-size: 19px; }
.rappel-contact .note { font-size: 14px; }
.contact-mobile { display: none; }
.fil-ariane { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 26px 0; font-size: 13px; color: var(--texte-doux); }
.fil-ariane a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.service-entree { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; padding-bottom: 60px; }
.service-entree .texte-intro { margin-top: 26px; }
.service-entree__photo { margin: 0; }
.service-entree__photo img { width: 100%; height: 570px; object-fit: cover; }
.contenu-service { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.travaux > div { border-top: 1px solid #cbd5ca; padding-block: 25px; }
.travaux > div:first-child { padding-top: 0; border: 0; }
.exemple-service { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.exemple-service img { width: 100%; height: 440px; object-fit: cover; }
.exemple-service .lien-texte { margin-top: 20px; }
.prix-service p + p { margin-top: 24px; }
.autres-services .liste-prestations { max-width: 800px; }
.autres-services > .lien-texte { margin-top: 24px; }
.intro-page { padding-bottom: 35px; }
.intro-page .texte-intro { margin-top: 28px; max-width: 760px; }
.recit { padding-block: 20px 80px; }
.recit__texte { max-width: 800px; margin-bottom: 48px; }
.recit__texte p + p { margin-top: 18px; }
.photos-chantier { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 32px; align-items: start; }
.photos-chantier figure { margin: 0; }
.photos-chantier figure:first-child { grid-column: 1 / -1; }
.photos-chantier img { width: 100%; height: auto; max-height: 750px; object-fit: contain; object-position: left; }
.photos-chantier figure:first-child img { object-fit: cover; }
.chantier-video { max-width: 576px; margin: 0; }
.chantier-video video { width: 100%; height: auto; max-height: 80svh; background: var(--sapin); }
.retour { margin-top: 30px; }
.zone-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; align-items: center; }
.zone-page p + p { margin-top: 20px; }
.zone-page figure { margin: 0; }
.zone-page img { width: 100%; max-height: 480px; object-fit: cover; }
.contact-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding-top: 32px; }
.contact-detail dl { margin: 30px 0; }
.contact-detail dt { font-size: 13px; color: var(--texte-doux); }
.contact-detail dd { margin: 0 0 22px; font-size: clamp(19px, 2.4vw, 28px); overflow-wrap: anywhere; }
.contact-detail dd a, .page-texte a { color: inherit; text-underline-offset: 5px; }
.contact-detail dd a { min-height: 44px; display: inline-flex; align-items: center; }
.contact-devis { border-left: 1px solid #cbd5ca; padding-left: 12%; }
.contact-devis .bouton { margin-top: 28px; }
.contact-devis p + p { margin-top: 22px; }
.page-texte { max-width: 840px; margin-left: max(var(--marge), calc((100% - 1180px) / 2)); padding-bottom: 80px; }
.page-texte h2 { font-size: 27px; margin-top: 42px; margin-bottom: 20px; }
.page-texte p + p { margin-top: 18px; }
.page-texte button { font: inherit; padding: 12px 20px; min-height: 44px; color: var(--sapin); border: 1px solid #849b85; background: transparent; cursor: pointer; }
.page-texte input[type="checkbox"] { width: 22px; height: 22px; vertical-align: middle; accent-color: var(--sapin); }
.page-texte label { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; }
.pied__bas { flex-wrap: wrap; gap: 12px 24px; }
.pied__bas a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
@media (max-width: 1099px) {
  .service-entree__photo img { height: 500px; }
}
@media (max-width: 899px) {
  .prestations, .contenu-service { grid-template-columns: 1fr; gap: 38px; }
  .service-entree { gap: 5%; }
  .service-entree h1 { font-size: 44px; }
  .service-entree__photo img { height: 460px; }
  .service-entree .actions { gap: 10px; }
  .service-entree .bouton { padding-inline: 22px; }
  .chantier-apercu--principal img { height: 500px; }
  .chantier-apercu img { height: 200px; }
  .presentation__photo img { height: 480px; }
}
@media (max-width: 767px) {
  body.page-accueil, body.page-interieure { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .page-accueil .accueil { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .page-accueil .accueil__bloc { margin-top: 20px; }
  .accueil__actions { gap: 8px 16px; }
  .projets { grid-template-columns: 1fr; gap: 44px; }
  .chantier-apercu--principal { grid-row: auto; }
  .chantier-apercu img, .chantier-apercu--principal img { height: auto; max-height: 480px; aspect-ratio: 4 / 3; object-fit: cover; }
  .questions { grid-template-columns: 1fr; gap: 28px; }
  .etapes { padding-left: 28px; }
  .etapes li { padding-left: 12px; }
  .presentation__photo img { height: 440px; }
  .contact-mobile { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: var(--sapin); border-top: 1px solid #ffffff30; }
  .contact-mobile a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #ffffff70; border-radius: 12px; text-decoration: none; color: #fff; font-size: 14px; }
  .contact-mobile a:last-child { background: var(--menthe); border-color: var(--menthe); color: var(--sapin); font-weight: 600; }
  body:has(dialog[open]) .contact-mobile { visibility: hidden; }
  .service-entree, .exemple-service, .zone-page, .contact-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-entree { padding-bottom: 48px; }
  .service-entree h1 { font-size: clamp(38px, 9vw, 52px); }
  .service-entree__photo img { height: 420px; }
  .service-entree .texte-intro { margin-top: 24px; }
  .exemple-service img { height: 360px; }
  .photos-chantier { grid-template-columns: 1fr; gap: 32px; }
  .photos-chantier figure:first-child { grid-column: auto; }
  .photos-chantier figure:first-child img { object-fit: contain; }
  .contact-devis { border-left: 0; border-top: 1px solid #cbd5ca; padding: 32px 0 0; }
  .page-texte { margin-inline: auto; }
  .fil-ariane { padding-block: 12px; }
  .intro-page { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Barre du haut : la capsule de verre de l'accueil (style.css, .nav). Sur les pages intérieures, pas de vidéo derrière :
   la même capsule, posée en haut de la page, en vert sapin presque plein pour rester lisible sur le fond clair. */
.page-interieure .nav { position: relative; top: auto; left: auto; right: auto; margin: 16px var(--marge) 0; background: rgb(8 38 30 / .92); }
.nav__marque { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 1099px) { .page-interieure .nav { margin: 10px 10px 0; } }

/* ===== Questions : la FAQ de samagency.tech recopiée (structure, mesures, ouverture), aux couleurs d'A.S. Paysage
   (choix de Sacha, 13/10/2026). Dégradé bleu → dégradé du logo (sapin-nuit → sapin → gazon), « + » cyan → menthe,
   polices Peace Sans / Open Sauce → Archivo, puis celles d'insyder.io (14/10/2026). Mesures relevées sur samagency.tech/css/site.css le 13/10/2026. ===== */
/* Hauteur : celle du contenu, plus un écran entier (14/10/2026, la section paraissait vide) */
.faq { --faq-marge: clamp(1rem, .4286rem + 2.8571vw, 3rem);
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; color: #fff; }
.faq__fond { position: absolute; inset: 10px; z-index: 0; border-radius: 1rem; isolation: isolate;
  background: linear-gradient(135deg, var(--sapin-nuit), var(--sapin) 45%, #288760); }
.faq__fond::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: url("/assets/img/grain-256.png") repeat 0 0 / 256px 256px; opacity: .12; mix-blend-mode: overlay; }
.faq__espace { height: clamp(4rem, 3.1429rem + 4.2857vw, 7rem); flex: none; }
.faq__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 900px); gap: 1rem;
  width: 100%; max-width: 90rem; padding: 0 var(--faq-marge) 2rem; }
.faq__entete { position: sticky; top: 20vw; align-self: start; display: flex; flex-direction: column; align-items: center;
  row-gap: 1.5rem; text-align: center; }
.faq__pastille { display: flex; align-items: center; justify-content: center; margin: 0 0 10px; padding: 10px; border: 1px solid #fff; border-radius: 40px;
  font-size: 12px; font-weight: 500; line-height: 100%; text-transform: uppercase; letter-spacing: .04em; }
.faq__titre { margin: 0; max-width: 40ch; font-size: clamp(1.75rem, 1.1786rem + 2.8571vw, 3.75rem); font-weight: 600; line-height: 1.2;
  letter-spacing: -.023em; text-wrap: balance; color: #fff; }
.faq__panneau { position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto; padding: 60px 5vw 80px; border-radius: 1rem;
  background: rgb(4 21 15 / .55); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 0 50px #2d3e500f;
  isolation: isolate; transform: translateZ(0); }
.faq__question-titre { margin: 0; font: inherit; }
.faq__question { display: flex; align-items: center; width: 100%; min-height: 90px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.faq__question:focus-visible { outline-offset: 4px; border-radius: 8px; }
.faq :focus-visible { outline-color: var(--menthe); }
.faq__plus { position: relative; display: flex; justify-content: center; align-items: center; flex: none; width: 20px; height: 20px; margin-right: 25px; }
.faq__plus-h { display: block; width: 20px; height: 5px; border-radius: 3px; background: var(--menthe); }
.faq__plus-l { position: absolute; display: block; width: 5px; height: 20px; border-radius: 3px; background: var(--menthe);
  transition: transform .35s ease; }
.faq__item.est-ouvert .faq__plus-l { transform: rotate(90deg); }
.faq__question-texte { font-size: clamp(.875rem, .7679rem + .5357vw, 1.25rem); font-family: var(--police-titre); font-weight: 600; line-height: 1.2; letter-spacing: -.023em; }
.faq__reponse { display: grid; grid-template-rows: 0fr; overflow: hidden; padding-left: 45px; border-bottom: 1px solid #2d3e501f;
  transition: grid-template-rows .35s ease; }
.faq__item:last-child .faq__reponse { border-bottom-width: 0; }
.faq__reponse-int { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
.faq__item.est-ouvert .faq__reponse { grid-template-rows: 1fr; }
.faq__item.est-ouvert .faq__reponse-int { visibility: visible; transition-delay: 0s; }
.faq:not(.faq--js) .faq__reponse { grid-template-rows: 1fr; }
.faq:not(.faq--js) .faq__reponse-int { visibility: visible; }
.faq__reponse p { margin: 0 0 30px; padding-top: 10px; max-width: none; font-size: .9375rem; line-height: 1.3; color: #ffffffe6; }
@media (prefers-reduced-motion: reduce) { .faq__reponse, .faq__reponse-int, .faq__plus-l { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .faq__panneau { background: var(--sapin-nuit); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 991px) {
  .faq__item { margin-bottom: 20px; }
  .faq__question { min-height: auto; padding: .75rem 0; }
}
@media (max-width: 767px) {
  .faq__grille { display: flex; flex-direction: column; }
  .faq__fond { inset: 5px; border-radius: .5rem; }
  .faq__panneau { padding-bottom: 0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .faq__question { min-height: 60px; }
  .faq__entete { position: relative; top: 0; }
}
@media (max-width: 479px) {
  .faq__panneau { padding-top: 10px; }
  .faq__entete { padding-bottom: 10px; }
  .faq__reponse { padding-left: 0; }
  .faq__plus { margin-right: 16px; }
}
/* Barre du bas (téléphone) : la même icône animée devant « Demander un devis », en version foncée sur le fond menthe */
.contact-mobile a img { width: 24px; height: 24px; flex: none; margin-right: 8px; }
