/* Nexus Reno : feuille de style unique (aucune police ni ressource externe) */
:root {
  --navy: #0b1d33;
  --navy2: #12304f;
  --navy3: #081526;
  --or: #d9a441;
  --or-clair: #f0c56c;
  --creme: #f7f4ee;
  --blanc: #fff;
  --encre: #16273a;
  --gris: #5b6978;
  --ligne: #e4ddd0;
  --rayon: 14px;
  --ombre: 0 14px 40px rgba(11, 29, 51, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.or { color: var(--or-clair); }
.section:not(.marine) .entete-section .or { color: var(--or); }
.ic { width: 24px; height: 24px; flex: none; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.evitement { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.evitement:focus { left: 8px; }

.surtitre {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or);
}
.surtitre::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }
.centre .surtitre { justify-content: center; }
.centre .surtitre::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s, background-color .15s, border-color .15s, color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-or { background: var(--or-clair); color: var(--navy3); }
.btn-or:hover { background: #f6d38f; }
.btn-contour { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-contour:hover { border-color: var(--or-clair); color: var(--or-clair); }
.btn-marine { background: var(--navy); color: #fff; }
.btn-marine:hover { background: var(--navy2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lien-suite { margin: 34px 0 0; }
.lien-suite.centre { text-align: center; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy3); color: #fff; border-bottom: 1px solid rgba(217, 164, 65, .35); }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-marque { width: 52px; height: 38px; flex: none; }
.logo-nom { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.logo-nom span { color: var(--or); }
.logo-slogan { display: block; margin-top: 5px; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #d8e0e8; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.nav > a:not(.btn) { color: #e6ecf2; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--or-clair); border-color: var(--or); }
.nav-tel { padding: 10px 18px; }
.menu-bouton {
  display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); font: inherit; font-size: .9rem; cursor: pointer;
}

/* ---------- héros ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(217, 164, 65, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 164, 65, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%); mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--or), transparent); opacity: .7;
}
.hero > .wrap { position: relative; }
.hero-grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 76px 0 56px; }
.hero .chapo { max-width: 600px; color: #d5dee7; font-size: 1.1rem; }
.hero-page { padding: 72px 0 64px; }
.hero-page h1 { max-width: 820px; }

.duo { position: relative; min-height: 430px; }
.duo figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--rayon); border: 3px solid var(--or-clair); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo .avant { left: 0; top: 0; width: 60%; aspect-ratio: 4 / 3; }
.duo .apres { right: 0; top: 34%; width: 74%; aspect-ratio: 16 / 10; }
.duo-legende { position: absolute; right: 0; bottom: -6px; margin: 0; font-size: .82rem; color: #b9c6d3; }
.etiquette {
  position: absolute; left: 12px; top: 12px; margin: 0; padding: 5px 10px; border-radius: 6px;
  background: rgba(8, 21, 38, .92); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.atouts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.atouts li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-size: .93rem; color: #d5dee7; }
.atouts li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.atouts .ic { width: 34px; height: 34px; color: var(--or); }
.atouts strong { color: #fff; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.creme { background: var(--creme); }
.section.marine { background: var(--navy); color: #fff; }
.entete-section { max-width: 760px; margin-bottom: 40px; }
.entete-section.centre { margin-inline: auto; text-align: center; }
.entete-section p:last-child { color: var(--gris); margin: 0; }
.marine .entete-section p:last-child { color: #cfd9e3; }
.marine .entete-section .surtitre { color: var(--or-clair); }

/* cartes services (accueil) */
.cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.carte-service {
  position: relative; display: flex; align-items: flex-end; min-height: 340px; overflow: hidden;
  border-radius: var(--rayon); color: #fff; text-decoration: none; box-shadow: var(--ombre); background: var(--navy);
}
.carte-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte-service:hover img { transform: scale(1.05); }
.carte-service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 21, 38, 0) 30%, rgba(8, 21, 38, .94)); }
.carte-service div { position: relative; z-index: 1; padding: 22px; }
.carte-service .ic { width: 32px; height: 32px; color: var(--or-clair); margin-bottom: 10px; }
.carte-service h3 { margin: 0 0 4px; }
.carte-service p { margin: 0; font-size: .92rem; color: #d5dee7; }

/* corps de métier */
.metiers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.metier { padding: 26px 10px 22px; text-align: center; border: 1px solid rgba(240, 197, 108, .3); border-radius: var(--rayon); font-weight: 600; font-size: .95rem; }
.rond { display: grid; place-items: center; border-radius: 50%; }
.metier .rond { width: 78px; height: 78px; margin: 0 auto 14px; border: 2px solid var(--or); color: var(--or-clair); }
.metier .ic { width: 36px; height: 36px; }

/* présentation */
.presentation { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; max-width: 920px; }
.portrait { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; border: 4px solid var(--or); box-shadow: var(--ombre); }
.presentation p { color: var(--gris); }
.signature { font-style: italic; font-size: 1.15rem; color: var(--or) !important; font-weight: 600; }

/* étapes */
.etapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.etape { position: relative; text-align: center; }
.etape .rond { width: 74px; height: 74px; margin: 0 auto 16px; background: var(--navy); color: var(--or-clair); }
.etape .ic { width: 32px; height: 32px; }
.etape:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 50px); width: calc(100% - 78px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--or) 0 6px, transparent 6px 12px);
}
.etape h3 span { color: var(--or); }
.etape p { margin: 0; color: var(--gris); font-size: .95rem; }
.etapes.detail .etape { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 16px; }
.etapes.detail .etape::after { display: none; }

/* cartes réalisations (accueil) */
.cartes-real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte-real { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); text-decoration: none; transition: transform .2s; }
.carte-real:hover { transform: translateY(-3px); }
.carte-real img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-real div { padding: 18px 20px 22px; }
.carte-real h3 { margin: 0 0 8px; }
.carte-real .surtitre { margin-bottom: 8px; }
.lieu { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--gris); font-size: .92rem; }
.lieu .ic { width: 18px; height: 18px; color: var(--or); }

/* bandeau d'appel */
.cta { padding: 64px 0; background: linear-gradient(120deg, var(--navy3), var(--navy2)); color: #fff; border-top: 3px solid var(--or); }
.cta-grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 10px 0 6px; }
.cta p { margin: 0; color: #cfd9e3; }
.cta .actions { margin: 0; }
.cta-marque { width: 56px; height: 40px; }

/* listes cochées */
ul.coches { list-style: none; margin: 16px 0 0; padding: 0; }
ul.coches li { position: relative; margin: 9px 0; padding-left: 32px; }
ul.coches li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* page services */
.ligne-service { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; overflow: hidden; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); }
.ligne-service:nth-child(even) .visuel { order: 2; }
.ligne-service .visuel img { width: 100%; height: 100%; min-height: 340px; max-height: 460px; object-fit: cover; }
.ligne-service .texte { padding: 44px 46px; }
.ligne-service .texte p { color: var(--gris); }
.ic.grand { width: 52px; height: 52px; color: var(--or); margin-bottom: 14px; }
.sous-titre { margin: -4px 0 14px !important; color: var(--or) !important; font-weight: 700; }

.pourquoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); list-style: none; margin: 0; padding: 0; }
.pourquoi li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 18px; text-align: center; font-weight: 600; color: var(--navy); }
.pourquoi li + li { border-left: 1px solid var(--ligne); }
.pourquoi .ic { width: 48px; height: 48px; color: var(--or); }

/* page accompagnement */
.plans-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.plans-grille p { color: #d5dee7; }
.plans-grille .surtitre { color: var(--or-clair); }
.plans-grille .note { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--or); font-size: .9rem; color: #b9c6d3; }
.epure { width: 100%; height: auto; color: var(--or-clair); opacity: .85; }

/* page réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filtre { padding: 8px 18px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .9rem; cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.projet { margin-bottom: 40px; overflow: hidden; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); }
.projet[hidden] { display: none; }
.projet-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 30px; background: var(--navy); color: #fff; }
.projet-tete h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.projet-tete .surtitre { color: var(--or-clair); }
.projet-tete .lieu { margin-top: 8px; color: #cfd9e3; }
.chiffre { flex: none; text-align: right; }
.chiffre strong { display: block; font-size: 2.1rem; line-height: 1; color: var(--or-clair); }
.chiffre span { font-size: .85rem; color: #cfd9e3; }
.photos { display: grid; gap: 4px; background: var(--ligne); }
.photos.n2 { grid-template-columns: 1fr 1fr; }
.photos.n3 { grid-template-columns: repeat(3, 1fr); }
.photos figure { position: relative; margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos a { display: block; }
.projet-corps { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 34px; padding: 32px 30px; }
.projet-corps > div > .ic { width: 30px; height: 30px; color: var(--or); margin-bottom: 8px; }
.projet-corps h3 { color: var(--navy); }
.projet-corps p { color: var(--gris); margin: 0; }
ol.numeros { list-style: none; margin: 0; padding: 0; counter-reset: n; }
ol.numeros li { position: relative; margin: 8px 0; padding-left: 36px; counter-increment: n; }
ol.numeros li::before {
  content: counter(n); position: absolute; left: 0; top: 1px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--or); color: #fff; font-size: .78rem; font-weight: 700;
}

/* page contact */
.contact-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.moyens { display: grid; gap: 14px; }
.moyen { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); text-decoration: none; transition: border-color .15s, transform .15s; }
.moyen:hover { border-color: var(--or); transform: translateY(-2px); }
.moyen .rond { width: 54px; height: 54px; flex: none; background: var(--navy); color: var(--or-clair); }
.moyen strong { display: block; font-size: 1.12rem; overflow-wrap: anywhere; }
.moyen span span { color: var(--gris); font-size: .92rem; }
.encart { padding: 30px; background: var(--creme); border-radius: var(--rayon); }
.encart h2 { font-size: 1.4rem; }
.zone-contact { display: flex; gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--ligne); }
.zone-contact .ic { color: var(--or); margin-top: 2px; }

/* mentions légales */
.texte-legal { max-width: 820px; }
.texte-legal h2 { margin-top: 1.6em; font-size: 1.35rem; }
.texte-legal p { color: var(--gris); }

/* pied de page */
.pied { padding: 56px 0 26px; background: var(--navy3); color: #cfd9e3; font-size: .93rem; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.pied h2 { margin-bottom: 14px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.pied .logo { margin-bottom: 16px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--or-clair); }
.liste-pied { list-style: none; margin: 0; padding: 0; }
.liste-pied li { margin: 0 0 10px; }
.liste-pied a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.liste-pied .ic, .zone-pied .ic { width: 18px; height: 18px; color: var(--or); }
.liens { margin-top: 14px; }
.zone-pied { display: flex; gap: 10px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #93a3b4; }
.devise { color: var(--or); letter-spacing: .3em; text-transform: uppercase; font-size: .74rem; }
.appel-mobile { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .menu-bouton { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--navy3); border-bottom: 1px solid rgba(217, 164, 65, .35); }
  .nav.ouvert { display: flex; }
  .nav > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav > a[aria-current="page"] { border-color: rgba(255, 255, 255, .08); }
  .nav-tel { margin-top: 14px; }
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .metiers { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .etape:nth-child(3)::after { display: none; }
  .projet-corps { grid-template-columns: 1fr 1fr; }
  .projet-corps > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grille { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .duo { min-height: 0; aspect-ratio: 5 / 4; max-width: 560px; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts li:nth-child(3) { border-left: 0; }
  .atouts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .cartes-real { grid-template-columns: 1fr 1fr; }
  .ligne-service { grid-template-columns: 1fr; }
  .ligne-service:nth-child(even) .visuel { order: 0; }
  .ligne-service .visuel img { min-height: 0; aspect-ratio: 16 / 10; }
  .ligne-service .texte { padding: 30px 26px; }
  .plans-grille, .contact-grille { grid-template-columns: 1fr; }
  .epure { max-width: 380px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > div:first-child { grid-column: 1 / -1; }
  .pourquoi li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .section { padding: 60px 0; }
  .logo-marque { width: 42px; height: 31px; }
  .logo-nom { font-size: 1.2rem; }
  .logo-slogan { font-size: .52rem; letter-spacing: .1em; }
  .menu-bouton span { display: none; }
  .hero-page { padding: 50px 0 44px; }
  .actions .btn { flex: 1 1 auto; }
  .atouts li { padding: 16px 10px; font-size: .86rem; gap: 10px; }
  .atouts .ic { width: 28px; height: 28px; }
  .cartes, .cartes-real { grid-template-columns: 1fr; }
  .carte-service { min-height: 260px; }
  .metiers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .etapes { grid-template-columns: 1fr; row-gap: 14px; }
  .etape { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .etape .rond { grid-row: span 2; width: 60px; height: 60px; margin: 0; }
  .etape h3 { margin: 6px 0 4px; }
  .etape::after { display: none; }
  .presentation { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .portrait { margin-inline: auto; width: 150px; height: 150px; }
  .projet-tete { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 14px; }
  .chiffre { text-align: left; }
  .photos.n3 { grid-template-columns: 1fr 1fr; }
  .photos.n3 figure:first-child { grid-column: 1 / -1; }
  .projet-corps { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .pourquoi { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .pied-grille { grid-template-columns: 1fr; }
  .cta { padding: 48px 0; }
  .appel-mobile {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 21, 38, .96); border-top: 1px solid rgba(217, 164, 65, .4);
  }
  .appel-mobile .btn { flex: 1; padding: 12px 10px; }
  .appel-mobile .btn-marine { border-color: rgba(255, 255, 255, .35); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
