/* SARL ABSALON — absalon.sarl — style "maison" haut de gamme
   Polices hébergées localement (aucune requête externe, pas de bandeau cookies). */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --nuit: #0b1a33;        /* bleu nuit profond */
  --nuit-2: #13264a;
  --ivoire: #f7f4ee;      /* fond papier */
  --ivoire-2: #efe9df;
  --encre: #1b2233;
  --encre-douce: #5d6474;
  --laiton: #b8975a;      /* filets et détails */
  --laiton-clair: #d9c08f;
  --vert: #33cc33;        /* vert du logo, en touche */
  --bleu: #0066ff;        /* bleu du logo, en touche */
  --filet: rgba(27,34,51,0.14);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.surtitre { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--laiton); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.surtitre::before { content: ""; width: 36px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }

/* ---------- En-tête ---------- */
.l-header { position: sticky; top: 0; z-index: 20; background: rgba(247,244,238,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.l-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.l-header .logo img { height: 52px; width: auto; }
.l-header nav { display: flex; align-items: center; gap: 34px; }
.l-header nav a { text-decoration: none; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre); }
.l-header nav a:hover { color: var(--laiton); }
.l-header .tels { display: flex; gap: 22px; padding-left: 28px; border-left: 1px solid var(--filet); }
.l-header .tel { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; line-height: 1.1; }
.l-header .tel small, .tel-grand small { display: block; font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laiton); margin-bottom: 3px; }

/* ---------- Ouverture ---------- */
.l-hero { background: var(--nuit); color: #fff; position: relative; overflow: hidden; }
.l-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 500px at 85% 20%, rgba(0,102,255,0.18), transparent 60%); pointer-events: none; }
.l-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; min-height: 640px; padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.l-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); font-weight: 400; color: #fff; }
.l-hero h1 em { font-style: italic; color: var(--laiton-clair); }
.l-hero .seo { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); margin: 22px 0 0; max-width: 520px; line-height: 1.6; }
.l-hero .lead { color: rgba(255,255,255,0.78); font-size: 1.02rem; max-width: 500px; margin: 26px 0 38px; }
.l-hero .actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.btn-or { display: inline-flex; align-items: center; gap: 12px; background: var(--laiton); color: var(--nuit); text-decoration: none; padding: 16px 30px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transition: background .25s ease, transform .25s ease; }
.btn-or:hover { background: var(--laiton-clair); transform: translateY(-2px); }
.lien-fin { color: #fff; text-decoration: none; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 4px; }
.lien-fin:hover { border-color: var(--laiton-clair); color: var(--laiton-clair); }

/* triptyque photo */
.triptyque { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 500px; }
.triptyque figure { margin: 0; position: relative; overflow: hidden; background: var(--nuit-2); }
.triptyque figure:nth-child(2) { transform: translateY(-34px); }
.triptyque figure:nth-child(3) { transform: translateY(22px); }
.triptyque .img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.85) contrast(1.05); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.triptyque figure:hover .img { transform: scale(1.06); }
.triptyque figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,51,0) 45%, rgba(11,26,51,0.85) 100%); }
.triptyque figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: #fff; }
.triptyque figcaption span { display: block; font-family: var(--sans); font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; color: var(--laiton-clair); margin-bottom: 2px; }
.img-elec { background-image: url("../img/electricite.jpg"); }
.img-clim { background-image: url("../img/climatisation.jpg"); background-position: 80% 55% !important; }
.img-form { background-image: url("../img/formation.jpg"); }

/* bandeau de repères */
.reperes { background: var(--nuit-2); color: #fff; border-top: 1px solid rgba(184,151,90,0.35); }
.reperes .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.repere { padding: 30px 24px; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.repere:last-child { border-right: none; }
.repere .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--laiton-clair); line-height: 1; }
.repere .l { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 10px; }

/* ---------- Métiers : rangées éditoriales ---------- */
.l-metiers { padding: 130px 0 60px; }
.l-metiers .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 90px; }
.l-metiers .intro h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.l-metiers .intro p { color: var(--encre-douce); margin: 0; max-width: 460px; }
.metier { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; padding: 0 0 110px; }
.metier:nth-of-type(even) .visuel { order: 2; }
.metier .visuel { position: relative; aspect-ratio: 4 / 3; }
.metier .visuel .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.metier .visuel::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--laiton); z-index: -1; }
.metier:nth-of-type(even) .visuel::before { inset: -18px -18px 18px 18px; }
.metier .num { font-family: var(--serif); font-size: 5.5rem; font-weight: 400; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--laiton); margin-bottom: 8px; }
.metier h3 { font-size: 2.5rem; margin-bottom: 18px; }
.metier p { color: var(--encre-douce); margin: 0 0 14px; }
.metier .tel-metier { font-size: 0.9rem; color: var(--encre); }
.metier .tel-metier a { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--laiton); }
.lien-site { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; text-decoration: none; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--encre); }
.lien-site .fleche { width: 42px; height: 1px; background: var(--encre); position: relative; transition: width .3s ease, background .3s ease; }
.lien-site .fleche::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.lien-site:hover { color: var(--laiton); }
.lien-site:hover .fleche { width: 64px; background: var(--laiton); }

/* ---------- Manifeste ---------- */
.l-manifeste { background: var(--nuit); color: #fff; padding: 130px 0; text-align: center; position: relative; overflow: hidden; }
.l-manifeste::before { content: "“"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 22rem; line-height: 1; color: rgba(184,151,90,0.10); }
.l-manifeste blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.3; position: relative; }
.l-manifeste .signature { margin-top: 36px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--laiton-clair); }
.l-manifeste .signature::before { content: ""; display: block; width: 1px; height: 40px; background: var(--laiton); margin: 0 auto 20px; }

/* ---------- Maison (à propos) ---------- */
.l-maison { padding: 130px 0; }
.l-maison .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; }
.l-maison h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.l-maison p { color: var(--encre-douce); margin: 0 0 18px; }
.frise { list-style: none; padding: 0; margin: 30px 0 0; border-left: 1px solid var(--laiton); }
.frise li { position: relative; padding: 0 0 26px 30px; }
.frise li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; background: var(--ivoire); border: 1px solid var(--laiton); transform: rotate(45deg); }
.frise .an { font-family: var(--serif); font-size: 1.6rem; color: var(--encre); line-height: 1.1; }
.frise .ev { color: var(--encre-douce); font-size: 0.95rem; }

/* ---------- Zone + Avis réglementaire ---------- */
.l-infos { padding: 0 0 130px; }
.l-infos .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.panneau { background: #fff; border: 1px solid var(--filet); padding: 48px; position: relative; }
.panneau h2 { font-size: 1.9rem; margin-bottom: 16px; }
.panneau p { color: var(--encre-douce); margin: 0 0 14px; }
.panneau.avis { background: var(--ivoire-2); border-color: rgba(184,151,90,0.5); }
.panneau.avis::before { content: ""; position: absolute; top: 0; left: 48px; right: 48px; height: 2px; background: var(--laiton); }
.panneau .echeance { display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--encre); border-bottom: 1px solid var(--laiton); margin: 4px 0 16px; }
.communes { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.communes span { font-size: 0.78rem; letter-spacing: 0.04em; padding: 6px 12px; border: 1px solid var(--filet); color: var(--encre); }

/* ---------- Appel final ---------- */
.l-cta { background: var(--nuit-2); color: #fff; padding: 110px 0; }
.l-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.l-cta h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; }
.l-cta h2 em { color: var(--laiton-clair); }
.l-cta .tel-grand { display: block; font-family: var(--serif); font-size: 2.2rem; color: #fff; text-decoration: none; margin-bottom: 18px; line-height: 1.1; }
.l-cta .tel-grand small { color: var(--laiton-clair); }

/* ---------- Pied de page ---------- */
.l-footer { background: var(--nuit); color: rgba(255,255,255,0.62); padding: 80px 0 34px; font-size: 0.88rem; }
.l-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.l-footer .marque { font-family: var(--serif); font-size: 2rem; color: #fff; letter-spacing: 0.06em; margin-bottom: 14px; }
.l-footer h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--laiton-clair); margin: 0 0 18px; }
.l-footer ul { list-style: none; margin: 0; padding: 0; }
.l-footer li { margin: 0 0 9px; }
.l-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.l-footer a:hover { color: var(--laiton-clair); }
.l-footer .bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 0.76rem; letter-spacing: 0.04em; }

/* ---------- Animations sobres ---------- */
@media (prefers-reduced-motion: no-preference) {
  .l-hero .entree { opacity: 0; transform: translateY(22px); animation: lx-monte 1s cubic-bezier(.2,.7,.2,1) forwards; }
  .l-hero .entree.d1 { animation-delay: .15s; } .l-hero .entree.d2 { animation-delay: .3s; } .l-hero .entree.d3 { animation-delay: .45s; }
  .triptyque figure { opacity: 0; animation: lx-rideau 1.3s cubic-bezier(.7,0,.2,1) forwards; clip-path: inset(100% 0 0 0); }
  .triptyque figure:nth-child(1) { animation-delay: .25s; } .triptyque figure:nth-child(2) { animation-delay: .45s; } .triptyque figure:nth-child(3) { animation-delay: .65s; }
  .lx-reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .lx-reveal.visible { opacity: 1; transform: none; }
  .metier .visuel::before { transition: inset .9s cubic-bezier(.2,.7,.2,1); }
}
@keyframes lx-monte { to { opacity: 1; transform: none; } }
@keyframes lx-rideau { 0% { opacity: 1; clip-path: inset(100% 0 0 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- Pages secondaires ---------- */
.l-page { max-width: 820px; padding-top: 90px; padding-bottom: 120px; }
.l-page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.l-page h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.l-page p, .l-page li { color: var(--encre-douce); }
.l-page a { color: var(--encre); text-decoration-color: var(--laiton); }
.l-page strong { color: var(--encre); }
.formulaire-contact { margin-top: 36px; background: #fff; border: 1px solid var(--filet); padding: 44px; }
.formulaire-contact label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--encre); margin: 22px 0 8px; }
.formulaire-contact label:first-of-type { margin-top: 0; }
.formulaire-contact input, .formulaire-contact select, .formulaire-contact textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--filet); background: var(--ivoire); font: inherit; font-size: 0.95rem; color: var(--encre); border-radius: 0; }
.formulaire-contact input:focus, .formulaire-contact select:focus, .formulaire-contact textarea:focus { outline: none; border-color: var(--laiton); background: #fff; }
.rgpd { font-size: 0.8rem; margin: 22px 0; }
.bouton-submit { background: var(--laiton); color: var(--nuit); border: none; padding: 16px 34px; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: background .25s ease; }
.bouton-submit:hover { background: var(--laiton-clair); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .l-header nav a:not(.tel) { display: none; }
  .l-header .tels { border-left: none; padding-left: 0; gap: 14px; }
  .l-header .tel { font-size: 0.95rem; }
  .l-header .logo img { height: 40px; }
  .l-hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 56px; }
  .triptyque { height: 300px; gap: 8px; }
  .triptyque figcaption { font-size: 1rem; left: 10px; bottom: 10px; }
  .reperes .wrap { grid-template-columns: repeat(2, 1fr); }
  .repere:nth-child(2) { border-right: none; }
  .l-metiers { padding-top: 90px; }
  .l-metiers .intro, .metier, .l-maison .wrap, .l-infos .wrap { grid-template-columns: 1fr; gap: 36px; }
  .metier:nth-of-type(even) .visuel { order: 0; }
  .metier { padding-bottom: 80px; }
  .panneau { padding: 32px 24px; }
  .formulaire-contact { padding: 28px 20px; }
  .l-page { padding-top: 56px; }
  .l-footer .cols { grid-template-columns: 1fr; }
}
