/* ===================================================================
   CONCEPT MÉCA SERVICES — feuille de style
   Palette : noir #1E1E1E / doré #A78943 / doré clair #CCB571 /
             blanc #FFFFFF / gris #5A5A5A
   Typo    : Montserrat
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700&display=swap');

:root {
  --black: #1E1E1E;
  --gold: #A78943;
  --gold-light: #CCB571;
  --white: #FFFFFF;
  --grey: #5A5A5A;
  --grey-line: rgba(30, 30, 30, 0.12);
  --grey-line-dark: rgba(204, 181, 113, 0.25);

  --font: 'Montserrat', sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: clamp(20px, 3vw, 56px);
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: 1.15rem; color: var(--grey); font-weight: 400; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.7em;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--grey-line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: clamp(20px, 3vw, 56px);
  height: 116px;
  gap: 2rem;
}
.site-header .logo { margin-right: 0; flex-shrink: 0; }
.site-header .main-nav {
  margin-left: auto;
  margin-right: 1.6rem;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--white);
  line-height: 1;
}
.logo-img {
  height: 96px;
  width: auto;
  background: var(--white);
  padding: 6px 10px;
}

.main-nav { display: flex; align-items: center; gap: 2.4rem; }
.main-nav a {
  color: rgba(255,255,255,0.72);
  font-size: 1.32rem;
  font-weight: 500;
  padding: 0.4em 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.75em 3.2em;
  font-size: 1.32rem !important;
  white-space: nowrap;
  border: none !important;
}
.nav-cta:hover { background: var(--gold-light); }

.header-phone {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover { color: var(--gold-light); }

@media (max-width: 860px) {
  .header-phone { display: none; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: block;
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: clamp(20px, 3vw, 56px);
}
.hero-copy { max-width: 50%; }
@media (max-width: 700px) {
  .hero-copy { max-width: 100%; }
}
.hero-bg {
  position: absolute;
  top: 20px;
  bottom: auto;
  right: 0;
  left: auto;
  width: 52%;
  height: 90%;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  background-color: var(--black);
  filter: brightness(0.91) contrast(0.92) saturate(0.85);
  box-shadow: inset 0 0 90px 40px var(--black);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
}

@media (max-width: 860px) {
  .hero-bg { display: none; }
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; font-size: clamp(1.5rem, 3.4vw, 2.5rem); text-align: justify; }
.page-decouvrir .eyebrow {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--font);
}
.page-decouvrir .eyebrow::before { width: 46px; }
.hero-style-heading h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 300;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.6em;
  display: block;
  margin-top: 0.3em;
  text-align: left;
}
.hero .lede { color: rgba(255,255,255,0.68); margin-bottom: 2rem; text-align: justify; }
.hero-actions { display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: nowrap; width: 100%; }
.hero-actions .btn { white-space: nowrap; padding: 0.85em 1.3em; font-size: 1.29rem; }
.hero-figure { position: relative; z-index: 2; }
.hero-figure svg { width: 100%; height: auto; }

@media (max-width: 700px) {
  .hero-actions { flex-wrap: wrap; }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  position: relative;
  z-index: 2;
}
.hero-meta .n {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.hero-meta .l {
  font-size: 1.56rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 320px; }
  .hero-meta { flex-wrap: wrap; row-gap: 1.4rem; }
}

/* ---------- sections génériques ---------- */
section { padding: 5rem 0; }
.section-alt { background: #F7F6F3; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-dark .eyebrow { color: var(--gold-light); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}
.section-head p { margin: 0; }
.section-head-reverse { align-items: flex-end; }
.section-head-reverse > *:first-child { flex: 1; }
.section-head-reverse > *:last-child { flex: 1; text-align: right; }
.section-head-side { display: flex; align-items: flex-end; height: 100%; }

/* ---------- bandeau méthode / livrables (fond sombre + photo) ---------- */
.method-band {
  position: relative;
  overflow: hidden;
}
.method-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: var(--black);
  box-shadow: inset 0 0 140px 70px var(--black);
}
.method-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(30,30,30,0.92) 22%, rgba(30,30,30,0.55) 42%, rgba(30,30,30,0.15) 62%, transparent 80%);
}
.method-band .wrap { position: relative; z-index: 2; }
.method-copy { max-width: 50%; }
@media (max-width: 700px) {
  .method-copy { max-width: 100%; }
}
.method-band .livrables-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 1.6rem 0 1rem;
}

.deliverable-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.deliverable-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.6em;
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
}
.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--gold-light);
}

.format-list-light span {
  background: var(--white);
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* ---------- footer : logo & coordonnées ---------- */
.footer-logo {
  height: 128px;
  width: auto;
  background: var(--white);
  padding: 14px 20px;
}
.footer-coords p { color: rgba(255,255,255,0.7); text-align: center; font-size: 0.88rem; line-height: 1.8; }
.footer-coords a:hover { color: var(--gold-light); }
.footer-col-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-grid .footer-col-center h4 { margin-bottom: 1.1rem; font-size: 1.6rem; }

.footer-legal-links { display: flex; gap: 1.6rem; }
.footer-legal-links a:hover { color: var(--gold-light); }

@media (max-width: 800px) {
  .section-head-reverse { flex-direction: column; align-items: flex-start; }
  .section-head-reverse > *:last-child { text-align: left; }
  .footer-coords p { text-align: left; }
}

/* ---------- grille de domaines ---------- */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--grey-line);
  border-left: 1px solid var(--grey-line);
}
.domain-card {
  border-right: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding: 2.4rem 1.8rem;
  transition: background 0.2s ease;
}
.domain-card:hover { background: #FAF8F3; }
.domain-card .ico { width: 40px; height: 40px; margin-bottom: 1.4rem; color: var(--gold); }
.section-head-stacked { margin-bottom: 3rem; max-width: 50%; }
.section-head-stacked h2 { margin-bottom: 1rem; }
.section-head-stacked .lede { max-width: 100%; }
@media (max-width: 700px) {
  .section-head-stacked { max-width: 100%; }
}

.ico-slot {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.domain-card .ico-img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.domain-card .ico-lg { width: 108px; height: 108px; }
.domain-card .ico-xl { width: auto; height: 108px; }
.domain-card {
  display: flex;
  flex-direction: column;
}
.domain-card .go { margin-top: auto; padding-top: 1rem; font-size: 1.64rem; font-weight: 600; color: var(--gold); }
.domain-card h3 { margin-bottom: 0.6rem; }
.domain-card p { font-size: 0.92rem; color: var(--grey); margin-bottom: 1.2rem; }

.domain-card-home {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.domain-card-home .ico-slot { height: auto; margin-bottom: 1.2rem; flex-shrink: 0; }
.domain-card-home .card-text { display: flex; flex-direction: column; align-items: center; }
.domain-card-home h3 {
  font-size: 1.725rem;
  margin-bottom: 0.7rem;
  min-height: 4.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.domain-card-home .go { margin-top: 0; padding-top: 0; font-size: 1.31rem; }

@media (max-width: 560px) {
  .domain-card-home { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
  .domain-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .domain-grid { grid-template-columns: 1fr; }
}

/* ---------- parcours / à propos ---------- */
.text-half { max-width: 50%; }
@media (max-width: 700px) {
  .text-half { max-width: 100%; }
}

.discover-side-align { margin-top: 7.6rem; }
@media (max-width: 800px) {
  .discover-side-align { margin-top: 0; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}


/* ---------- cartes de valeurs sur fond sombre ---------- */
.section-dark .domain-grid { border-color: rgba(255,255,255,0.15); }
.domain-card-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.15) !important;
}
.domain-card-dark:hover { background: rgba(255,255,255,0.04); }
.domain-card-dark h3 { color: var(--white); }
.domain-card-dark p { color: rgba(255,255,255,0.65) !important; }

/* ---------- chiffres clés sur fond clair ---------- */
.hero-meta-light .n { color: var(--gold); }
.hero-meta-light .l { color: var(--grey); }

/* ---------- frise de parcours (icônes) ---------- */
.frieze {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.frieze::before {
  content: "";
  position: absolute;
  top: 86px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
  z-index: 0;
}
.frieze-node {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}
.frieze-year {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.frieze-circle-wrap { margin-bottom: 1.2rem; }
.frieze-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--gold-light);
}
.frieze-circle svg { width: 30px; height: 30px; }
.frieze-circle img { width: 44px; height: 44px; object-fit: contain; }
.frieze-circle-accent {
  background: var(--white);
  border-color: var(--gold);
}
.frieze-circle-accent img { width: 50px; height: 50px; }
.frieze-node h4 {
  color: var(--white);
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}
.frieze-node p {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.6);
  max-width: 24ch;
  margin: 0 auto;
}
.frieze-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
}
.frieze-link:hover { color: var(--white); }

@media (max-width: 900px) {
  .frieze { flex-wrap: wrap; row-gap: 2.4rem; }
  .frieze::before { display: none; }
  .frieze-node { flex: 0 0 45%; }
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--grey-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}
.timeline li span:first-child { color: var(--grey); }
.timeline li span:last-child { font-weight: 600; text-align: right; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ---------- partenaires ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
}
.partner-card {
  background: var(--white);
  padding: 2rem 1.6rem;
}
.partner-card img { height: 46px; width: auto; object-fit: contain; margin-bottom: 1.1rem; }
.partner-card h3 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.partner-card p { font-size: 0.85rem; color: var(--grey); margin-bottom: 0.8rem; }
.partner-card a.site-link { font-size: 0.8rem; font-weight: 600; color: var(--gold); }
.partner-links { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.partner-links a {
  width: 32px; height: 32px;
  border: 1px solid var(--grey-line);
  color: var(--grey);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.partner-links a:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 760px) {
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* ---------- galerie réalisations ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.4rem;
}
.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--grey-line);
  padding: 1.3rem 1.3rem 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gallery figure:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(30,30,30,0.08);
}
.gallery figure img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #FAF9F6;
  display: block;
  margin-bottom: 1rem;
}
.gallery figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.01em;
  padding-top: 0.9rem;
  border-top: 1px solid var(--grey-line);
}
.figure-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}
.figure-link:hover { color: var(--black); }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .gallery figure img { height: 170px; }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filter-bar button {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55em 1.1em;
  background: none;
  border: 1px solid var(--grey-line);
  color: var(--grey);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-bar button.active,
.filter-bar button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- prestations détail : grille 2x2 ---------- */
.domain-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--grey-line);
  border-left: 1px solid var(--grey-line);
}
.domain-cell {
  border-right: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding: 3rem;
}
.domain-cell h2 { margin-bottom: 1.2rem; }
.domain-cell p { text-align: justify; }
.domain-cell-visual {
  position: relative;
  min-height: 380px;
}
.domain-cell-visual .cell-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  z-index: 0;
}
.domain-cell-visual .cell-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
.domain-cell-visual h2,
.domain-cell-visual p,
.domain-cell-visual .tag-list {
  position: relative;
  z-index: 1;
  max-width: 50%;
}
@media (max-width: 900px) {
  .domain-cell-visual .cell-bg-img { display: none; }
  .domain-cell-visual h2,
  .domain-cell-visual p,
  .domain-cell-visual .tag-list {
    max-width: 100%;
  }
}
@media (max-width: 800px) {
  .domain-grid2 { grid-template-columns: 1fr; }
}
.domain-detail .num {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}
.tag-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-list li {
  font-size: 0.82rem;
  padding: 0.5em 1em;
  border: 1px solid var(--grey-line);
  color: var(--grey);
}
.format-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.format-list span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35em 0.7em;
  background: var(--black);
  color: var(--gold-light);
}

@media (max-width: 800px) {
  .domain-detail { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- CTA bandeau ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.65); margin: 0 auto 2rem; }
.cta-band .btn-row { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-row .btn { font-size: 1.29rem; padding: 0.85em 1.3em; }
.cta-band .cta-phone { font-size: 1.15rem; font-weight: 700; padding: 0.6em 1.3em; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.info-block { margin-bottom: 2rem; }
.info-block .eyebrow { margin-bottom: 0.5rem; }
.info-block .val { font-size: 1.05rem; font-weight: 600; }
.info-block .val a:hover { color: var(--gold); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.required-note {
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
  margin: 0 0 0.4rem;
}
label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}
input, select, textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1.05rem;
  padding: 0.9em 1em;
  border: 1px solid var(--grey-line);
  background: var(--white);
  color: var(--black);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 150px; }
input[type="file"] {
  padding: 0.6em;
  font-size: 0.95rem;
}
.field-hint {
  font-size: 0.8rem;
  color: var(--grey);
  margin: 0.5rem 0 0;
}
.privacy-note {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0.5rem 0 0;
}
.privacy-note a { color: var(--gold); text-decoration: underline; }
.privacy-note a:hover { color: var(--black); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
}
.socials { display: flex; gap: 1rem; }
.socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.socials a:hover { border-color: var(--gold-light); color: var(--gold-light); }

.footer-col-center .socials a {
  width: 56px; height: 56px;
}
.footer-col-center .socials a svg {
  width: 26px; height: 26px;
}

/* ---------- utilitaires ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--white);
  padding: 1em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- lightbox (zoom image galerie) ---------- */
.gallery figure { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,20,20,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 44px; height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- actualités ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.4rem;
}
.news-card {
  border: 1px solid var(--grey-line);
  background: var(--white);
}
.news-card-img {
  height: 180px;
  background: #F0EEE9;
}
.news-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.news-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.news-card h3 { margin-bottom: 0.6rem; }
.news-card p { font-size: 0.92rem; color: var(--grey); margin-bottom: 1rem; }
.news-card .go { font-size: 0.82rem; font-weight: 600; color: var(--gold); }

/* ---------- animations : apparition au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- animations : icônes et liens ---------- */
.domain-card .ico-img {
  transition: transform 0.35s ease;
}
.domain-card:hover .ico-img {
  transform: scale(1.08);
}
.domain-card .go,
.gallery figure .go,
a.figure-link,
a.frieze-link {
  transition: color 0.2s ease;
}
.domain-card .go::after {
  content: "";
}
.go, .figure-link, .site-link {
  display: inline-block;
}
.domain-card .go {
  transition: transform 0.25s ease, color 0.2s ease;
}
.domain-card:hover .go {
  transform: translateX(4px);
}

/* survol des cartes partenaires : icônes en douceur */
.partner-links a { transition: transform 0.2s ease, border-color 0.15s ease, color 0.15s ease; }
.partner-links a:hover { transform: translateY(-2px); }

/* pulsation discrète sur le bouton doré principal du bandeau */
@keyframes cms-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167,137,67,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(167,137,67,0); }
}
.nav-cta { animation: cms-pulse 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .nav-cta { animation: none; }
}
