@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
/* Odon Maçonnerie — démonstration de la formule Site Classique
   Même entreprise que la démo Premium : calcaire, ardoise et bleu du cordeau. Mise en page simple et classique. */

:root {
  --petrole: #20292F;      /* ardoise */
  --petrole-2: #2C3840;
  --cuivre: #1F4FE0;       /* bleu du cordeau */
  --cuivre-clair: #1F4FE0;
  --faience: #FFFFFF;
  --brume: #F1ECE1;        /* calcaire */
  --texte: #20292F;
  --doux: #56605F;
  --trait: #D9D0BE;
  --police: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --marge: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.6; color: var(--texte); background: var(--faience); padding-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 3px; border-radius: 4px; }

.l { width: min(100% - 2 * var(--marge), 1120px); margin-inline: auto; }

/* Ruban de démonstration */
.ruban { background: #14213D; color: #fff; font-size: .9rem; line-height: 1.4; text-align: center; padding: .55rem var(--marge); }
.ruban a { color: #F2A541; font-weight: 600; text-underline-offset: .2em; white-space: nowrap; margin-left: .6rem; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem;
  border-radius: 8px; border: 2px solid var(--petrole); background: var(--petrole); color: #fff;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bouton:hover { background: var(--petrole-2); border-color: var(--petrole-2); }
.bouton--tel { background: var(--cuivre); border-color: var(--cuivre); }
.bouton--tel:hover { background: #1740BD; border-color: #1740BD; }
.bouton--ligne { background: transparent; color: var(--petrole); }
.bouton--ligne:hover { background: var(--petrole); color: #fff; }
.bouton--clair { background: #fff; border-color: #fff; color: var(--petrole); }
.bouton--clair:hover { background: var(--brume); border-color: var(--brume); }
.lien { font-weight: 600; text-underline-offset: .25em; text-decoration-color: var(--cuivre); text-decoration-thickness: 2px; }

/* En-tête */
.tete { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--trait); }
.tete__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.2rem; margin-right: auto; white-space: nowrap; }
.marque svg { width: 2.3rem; height: 2.3rem; flex: none; }
.marque b { font-weight: 700; }
.nav { display: flex; gap: 1.5rem; font-weight: 500; }
.nav a { text-decoration: none; padding-block: .35rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cuivre); }
.tete__tel { min-height: 2.6rem; padding: .4rem 1rem; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--petrole); color: var(--petrole); border-radius: 8px; padding: .4rem .9rem; cursor: pointer; }

/* Hero */
.hero { background: var(--brume); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chapo { margin-top: 1.25rem; font-size: 1.2rem; line-height: 1.5; color: var(--doux); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Photos, avec un fond dessiné tant que l'image n'est pas fournie */
.photo {
  position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .22) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .22) 46px 48px),
    linear-gradient(135deg, #DDD1B8, #C4B698);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.vide img { display: none; }
.photo--hero { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -34px rgba(32, 41, 47, .65); }
.photo--portrait { aspect-ratio: 4 / 5; }
.real .photo { aspect-ratio: 4 / 3; }

/* Repères */
.reperes { background: var(--petrole); color: #fff; }
.reperes__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.75rem; }
.reperes p { font-size: .98rem; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.reperes b { display: block; font-size: 1.25rem; color: #fff; }

/* Blocs */
.bloc { padding-block: clamp(3rem, 7vw, 5.5rem); }
.bloc--teinte { background: var(--brume); }
.bloc__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.entete { background: var(--brume); padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.service { display: block; text-decoration: none; padding: 1.5rem; border: 1.5px solid var(--trait); border-radius: 14px; border-top: 4px solid var(--cuivre); transition: border-color .15s ease, transform .15s ease; }
.service:hover { border-color: var(--petrole); border-top-color: var(--cuivre); transform: translateY(-3px); }
.service p { margin-top: .6rem; color: var(--doux); font-size: 1rem; }

.reals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 2rem; }
.real h3 { margin-top: 1rem; }
.real__lieu { color: var(--cuivre); font-weight: 600; font-size: .98rem; }
.real p:last-child { color: var(--doux); margin-top: .3rem; font-size: 1rem; }

.zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.zone p { margin-top: 1rem; color: var(--doux); max-width: 30em; }
.zone__liste { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zone__liste li { padding: .45rem 1rem; border-radius: 999px; background: var(--brume); font-weight: 500; }

.detail { display: grid; }
.detail__item { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1rem 3rem; padding-block: 2.25rem; border-top: 1px solid var(--trait); scroll-margin-top: 6rem; }
.detail__item:first-child { border-top: 0; padding-top: 0; }
.detail__item p { color: var(--doux); max-width: 36em; }
.detail__item ul, .points { margin-top: 1rem; padding: 0; list-style: none; display: grid; gap: .5rem; }
.detail__item li, .points li { position: relative; padding-left: 1.5rem; }
.detail__item li::before, .points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 2px; background: var(--cuivre); }

.apropos { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.texte p { margin-top: 1rem; color: var(--doux); max-width: 36em; }
.texte--etroit { max-width: 44rem; }
.texte--etroit h2 { margin-top: 2.25rem; font-size: 1.4rem; }
.texte--etroit h2:first-child { margin-top: 0; }

.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.coord p { margin-top: 1.25rem; }
.coord dl { margin-top: 1.75rem; display: grid; gap: .25rem; }
.coord dt { font-weight: 700; margin-top: .9rem; }
.coord dd { color: var(--doux); }
.formulaire { background: var(--brume); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.champ { display: grid; gap: .35rem; }
.champ label { font-weight: 600; font-size: .98rem; }
.champ input, .champ textarea { width: 100%; font: inherit; color: var(--texte); padding: .75rem .9rem; border: 1.5px solid var(--trait); border-radius: 8px; background: #fff; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 1px; }
.formulaire .bouton { justify-self: start; }
.formulaire__etat { font-weight: 600; min-height: 1.6em; color: var(--petrole); }

/* Bandeau d'appel */
.appel { background: var(--petrole); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.appel__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.appel p { margin-top: .6rem; color: rgba(255, 255, 255, .82); }
.appel__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Pied */
.pied { background: #171E22; color: rgba(255, 255, 255, .78); padding-block: 2.5rem; font-size: .98rem; }
.pied__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.pied__nom { color: #fff; font-weight: 700; font-size: 1.15rem; }
.pied a { text-underline-offset: .2em; }

/* Barre d'action mobile */
.barre-mobile { display: none; }

@media (max-width: 900px) {
  .hero__in, .zone, .apropos, .contact, .detail__item { grid-template-columns: minmax(0, 1fr); }
  .services, .reperes__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tete__tel { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--trait); padding: .5rem var(--marge) 1rem; }
  .nav.ouvert { display: flex; }
  .nav a { padding-block: .8rem; border-bottom: 1px solid var(--trait); }
  body { padding-bottom: 4.75rem; }
  .barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; display: grid; grid-template-columns: 1fr 1.3fr; gap: .6rem; padding: .65rem var(--marge); background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 -10px 30px -18px rgba(32, 41, 47, .5); }
  .pied__in { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .photo--portrait { aspect-ratio: 1 / 1; max-width: 26rem; }
}

@media (max-width: 560px) {
  .services, .reals { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .bouton, .appel__actions .bouton { width: 100%; }
  .hero__actions, .appel__actions { width: 100%; }
}
