/* =============================================================
   INSTITUT POUDRE — stylesheet
   Palette : rose, blanc, crème rosée, prune
   Typo    : Inter (body) + Fraunces (headings)
   ============================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.55; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; }

/* ---------- TOKENS ---------- */
:root {
  --navy:      #4A2C3E;
  --navy-deep: #2A1A28;
  --navy-lt:   #7A5668;
  --slate:     #7A5668;
  --slate-lt:  #8E6B82;
  --border:    #D9BFD0;
  --cream:     #F8F0F4;
  --cream-dk:  #F2E5EC;
  --white:     #FFFFFF;
  --off-white: #F9F3F6;
  --orange:    #7A2A5C;
  --orange-dk: #5A1F45;
  --orange-lt: #B07AA0;
  --gold:      #7A2A5C;
  --gold-lt:   #B07AA0;
  --green:     #0F9D58;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(74,44,62,0.05), 0 2px 8px rgba(74,44,62,0.04);
  --shadow:    0 4px 16px rgba(74,44,62,0.08), 0 2px 6px rgba(74,44,62,0.04);
  --shadow-lg: 0 18px 40px rgba(74,44,62,0.14), 0 6px 14px rgba(74,44,62,0.06);
  --shadow-gold: 0 8px 22px rgba(233,30,140,0.18);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

/* ---------- TYPO ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
h2 {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 100;
}
h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--font-sans); }
h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate); }

p { margin: 0; }
strong { font-weight: 600; color: var(--navy); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--orange-lt); }
.text-white { color: var(--white) !important; }

/* ---------- LAYOUT UTILS ---------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .wrap { padding: 0 2rem; }
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}
.section--alt {
  background: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 50% -300px, rgba(233,30,140,0.08), transparent 70%);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section__head .eyebrow { text-align: center; }
.section__lead {
  color: var(--slate-lt);
  font-size: 1.0625rem;
  margin-top: 1rem;
  line-height: 1.65;
}

/* Ornement doré entre eyebrow et h2 (premium touch) */
.section__flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem auto;
  color: var(--gold);
}
.section__flourish::before,
.section__flourish::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.6;
}
.section__flourish::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section__flourish svg { width: 14px; height: 14px; opacity: 0.85; }

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid--3 {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.grid--gap-sm { gap: 1.25rem; }
@media (min-width: 1024px) {
  .grid--gap-sm { gap: 1.5rem; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: transform .15s, box-shadow .15s, background-color .15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 0 var(--orange-dk), var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--orange-lt);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--orange-dk), var(--shadow);
}
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}
.btn--xl {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius);
}
.btn--xl svg { width: 22px; height: 22px; }
.btn--block { width: 100%; }
.btn--header { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.btn__big {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn__sm {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.12rem;
}
.btn--ghost .btn__big { color: var(--white); }
.btn--ghost .btn__sm { color: rgba(255,255,255,0.85); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(74,44,62,0.08);
  background: rgba(255,255,255,0.97);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(233,30,140,0.3) 50%, transparent 90%);
  opacity: 0;
  transition: opacity .25s;
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.5rem;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand__mark { display: block; flex-shrink: 0; }

/* Logo image (remplace le mark SVG abstrait) */
.brand--logo img {
  height: 54px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .brand--logo img { height: 64px; }
}
.brand--logo .brand__text {
  display: none;
}
.brand--footer.brand--logo img {
  height: 64px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.brand--footer.brand--logo { gap: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.7rem;
  color: var(--slate-lt);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 0.5rem 0;
  transition: color .15s;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s;
}
.site-nav a:hover::after { transform: scaleX(1); }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.btn {
  margin-top: 0.75rem;
  border-bottom: 0;
  padding: 1rem 1.25rem;
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .btn--header { display: inline-flex; }
  .burger, .mobile-nav { display: none !important; }
}
@media (max-width: 1023px) {
  .btn--header { display: none; }
  .site-nav { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { min-height: 560px; }
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(42,26,40,0.45) 0%, rgba(42,26,40,0.7) 55%, rgba(42,26,40,0.92) 100%),
    linear-gradient(100deg, rgba(74,44,62,0.85) 0%, rgba(74,44,62,0.35) 55%, rgba(74,44,62,0.6) 100%);
}
.hero__veil::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(800px 400px at 15% 40%, rgba(233,30,140,0.12), transparent 60%),
    radial-gradient(600px 300px at 85% 20%, rgba(233,30,140,0.08), transparent 60%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.5rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero__content {
    margin: 0;
    padding: 1.75rem 2rem 4rem;
    padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
  }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(233,30,140,0.45);
  background: rgba(233,30,140,0.08);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}
.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-lt);
  box-shadow: 0 0 12px rgba(226,189,120,0.7);
}
.hero__title {
  color: var(--white);
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.hero__accent {
  color: var(--gold-lt);
  font-style: italic;
  font-weight: 500;
  position: relative;
}
.hero__accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 8%;
  bottom: 0.08em;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.45;
  border-radius: 2px;
}
.hero__sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin-top: 1.75rem;
  line-height: 1.55;
  max-width: 560px;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.hero__cta .btn { flex: 1 1 220px; }
@media (min-width: 640px) {
  .hero__cta .btn { flex: 0 0 auto; }
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- TRUST BAR ---------- */
.trust {
  background: var(--navy);
  background-image:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 2rem 0;
  position: relative;
}
.trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,30,140,0.5), transparent);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}
@media (min-width: 640px) {
  .trust__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .trust__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
  .trust__item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.08);
    padding-right: 1rem;
  }
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.25rem 0;
}
.trust__item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.trust__item div { display: flex; flex-direction: column; line-height: 1.2; }
.trust__item strong {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 14;
  letter-spacing: 0;
}
.trust__item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---------- CARDS (services) ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.9rem;
  transition: border-color .22s, box-shadow .25s, transform .22s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover {
  border-color: rgba(233,30,140,0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 50%),
    var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 6px 16px rgba(74,44,62,0.18);
}
.card__icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(233,30,140,0.4);
  pointer-events: none;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36;
}
.card p {
  font-size: 0.9375rem;
  color: var(--slate-lt);
  line-height: 1.55;
}
.card__bullets {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card__bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--slate);
}
.card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- PORTRAIT ---------- */
.portrait__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .portrait__grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.portrait__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait__photo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid rgba(233,30,140,0.35);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  z-index: -1;
}
.portrait__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,44,62,0) 50%, rgba(74,44,62,0.35) 100%);
  pointer-events: none;
}
.portrait__photo img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
}
.portrait__photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(74,44,62,0.88);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}
.portrait__photo figcaption strong { color: var(--white); }
.portrait__photo figcaption span { color: rgba(255,255,255,0.72); font-size: 0.75rem; }

.portrait__body h2 { color: var(--navy); margin-bottom: 1.5rem; }
.portrait__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.65;
}

.stats {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.stats__item { position: relative; padding: 0 0.25rem; }
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -0.5rem;
  width: 1px;
  height: 80%;
  background: var(--border);
}
.stats__item dt {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.1;
  font-variation-settings: 'opsz' 36;
  letter-spacing: -0.01em;
}
.stats__item dd {
  font-size: 0.78rem;
  color: var(--slate-lt);
  margin-top: 0.45rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* ---------- CHANTIERS ---------- */
.chantier-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .22s, border-color .22s;
}
.chantier-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(233,30,140,0.3);
}
.chantier-card__img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--cream);
}
.chantier-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,44,62,0) 50%, rgba(74,44,62,0.18) 100%);
  pointer-events: none;
}
.chantier-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.chantier-card:hover .chantier-card__img img { transform: scale(1.06); }

.chantier-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.chantier-card__body h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin: 0.6rem 0 0.45rem;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36;
}
.chantier-card__body p {
  color: var(--slate-lt);
  font-size: 0.875rem;
  line-height: 1.55;
}
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--slate);
}
.tag--muted {
  color: var(--gold);
  background: rgba(233,30,140,0.12);
  border: 1px solid rgba(233,30,140,0.25);
}

/* ---------- TESTIMONIALS ---------- */
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}
.quote__stars { display: flex; gap: 3px; color: var(--gold); }
.quote__stars svg { width: 18px; height: 18px; }
.quote p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
  position: relative;
  z-index: 1;
}
.quote__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-style: normal;
}
.quote__author span:first-child {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.quote__author span:last-child {
  font-size: 0.75rem;
  color: var(--slate-lt);
  letter-spacing: 0.04em;
}
.testimonials__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--slate-lt);
  font-style: italic;
}

/* ---------- ZONE ---------- */
.zone__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .zone__grid { grid-template-columns: 5fr 6fr; gap: 3.5rem; align-items: start; }
}
.zone__text h2 { color: var(--navy); margin-bottom: 1.25rem; }
.zone__communes { margin-top: 2rem; }
.zone__communes h4 {
  color: var(--slate-lt);
  margin-bottom: 1rem;
  font-size: 0.75rem;
}
.zone__communes ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1rem;
}
@media (min-width: 640px) {
  .zone__communes ul { grid-template-columns: repeat(3, 1fr); }
}
.zone__communes li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--slate);
}
.zone__communes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.zone__map-wrap { position: sticky; top: 100px; }
.zone__map {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.zone__map svg {
  width: 100%;
  height: auto;
  display: block;
}
.zone__map-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--slate-lt);
  text-align: center;
  font-style: italic;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--navy);
  background-image:
    radial-gradient(800px 500px at 20% 0%, rgba(233,30,140,0.12), transparent 60%),
    radial-gradient(600px 400px at 90% 100%, rgba(233,30,140,0.08), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,30,140,0.4), transparent);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 6fr 5fr; gap: 4rem; align-items: start; }
}
.contact__text h2 { color: var(--white); margin-bottom: 1rem; }
.contact__lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem 1.75rem;
  background:
    linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  transition: transform .2s, box-shadow .25s;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.15),
    0 14px 30px rgba(233,30,140,0.32),
    inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.contact__phone::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}
.contact__phone:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,0.15), 0 18px 40px rgba(233,30,140,0.45), inset 0 1px 0 rgba(255,255,255,0.2); }
.contact__phone:hover::before { left: 120%; }
.contact__phone svg { flex-shrink: 0; color: var(--white); }
.contact__phone > span { display: flex; flex-direction: column; gap: 2px; }
.contact__phone-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.contact__phone-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}
.contact__phone-hours {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 500px) {
  .contact__info { grid-template-columns: 1fr 1fr; }
}
.contact__info-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
}
.contact__info a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
}
.contact__info a:hover { border-bottom-color: var(--white); }
.contact__info address { font-style: normal; color: var(--white); line-height: 1.5; }

.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__form-head {
  font-weight: 700;
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact__form label span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.contact__form input,
.contact__form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color .15s, background-color .15s;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}
.contact__form textarea { resize: vertical; font-family: inherit; }
.contact__form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 0.35rem;
  font-style: italic;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,30,140,0.5), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__tag { color: rgba(255,255,255,0.6); }
.footer__baseline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-top: 1rem;
  max-width: 280px;
}
.footer__col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col li { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer__col a {
  color: rgba(255,255,255,0.8);
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }
.footer__base {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  .footer__base {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
}

/* ---------- STICKY TEL MOBILE ---------- */
.sticky-tel {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 767px) {
  .sticky-tel { display: inline-flex; }
}

/* ===================================================================
   MOBILE COMPACTION — patch responsive added 2026-05-04
   Réduit paddings/heights desktop hérités sur mobile (<600px)
   =================================================================== */
@media (max-width: 900px) {
  /* Garde-fou overflow horizontal */
  html, body { overflow-x: clip !important; max-width: 100vw !important; }
  img, video, iframe { max-width: 100% !important; height: auto; }
}
@media (max-width: 600px) {
  /* Sections: padding 4rem→2rem (clamp floor) */
  .section { padding: 2.25rem 0 !important; }
  .section__head { margin-bottom: 1.75rem !important; max-width: none; }
  .section__lead { font-size: 0.98rem; line-height: 1.5; margin-top: 0.6rem; }
  .section__flourish { margin: 0.6rem auto !important; }

  /* Typo hierarchy: scale down */
  h1 { font-size: clamp(1.75rem, 8.5vw, 2.25rem) !important; line-height: 1.1; }
  h2 { font-size: clamp(1.4rem, 6.5vw, 1.85rem) !important; line-height: 1.15; }
  h3 { font-size: 1.05rem; }

  /* HERO: réduire padding et tailles */
  .hero { min-height: 380px !important; }
  .hero__content { padding: 4.5rem 1.1rem 2.5rem !important; max-width: 100%; }
  .hero__eyebrow { font-size: 0.62rem; padding: 0.3rem 0.7rem; margin-bottom: 1rem; letter-spacing: 0.16em; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.1rem) !important; line-height: 1.08; letter-spacing: -0.02em; }
  .hero__sub { font-size: 0.92rem !important; margin-top: 0.85rem !important; line-height: 1.5; max-width: 100%; }
  .hero__cta { margin-top: 1.25rem !important; gap: 0.55rem !important; flex-direction: column; }
  .hero__cta .btn { flex: 0 0 auto !important; width: 100%; }

  /* Buttons: descendre tous les CTAs */
  .btn { padding: 0.78rem 1rem !important; font-size: 0.9rem !important; }
  .btn--xl { padding: 0.95rem 1.2rem !important; font-size: 0.96rem !important; }
  .btn--xl svg, .btn svg { width: 16px !important; height: 16px !important; }

  /* Showroom carousel: clip overflow */
  .showroom, .showroom__viewport, .showroom__wrap { overflow: hidden !important; max-width: 100%; }
  .showroom__track { max-width: 100%; }

  /* Trust list / cards: spacing */
  .trust__list { gap: 0.75rem 1rem !important; }
  .trust__item { padding: 0.5rem 0; }

  /* Portrait / Zone / Contact: réduire gaps */
  .portrait__grid, .zone__grid, .contact__grid { gap: 1.5rem !important; }
  .portrait__body p, .zone__body p, .contact__lead { font-size: 0.95rem; }
  .portrait__photo figcaption { font-size: 0.7rem; }

  /* Contact phone block */
  .contact__phone { padding: 1rem 1.2rem !important; }
  .contact__phone-num { font-size: 1.2rem !important; }

  /* Hero scroll indicator: caché en mobile (chevauche CTAs) */
  .hero__scroll { display: none !important; }

  /* Sticky phone CTA: réduire en mini-FAB rond, ne masque plus le contenu */
  .sticky-tel,
  .sticky-phone, .phone-sticky, .float-phone, .floating-cta {
    width: 52px !important; height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    bottom: 14px !important; right: 14px !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28) !important;
  }
  .sticky-tel svg { width: 22px !important; height: 22px !important; }
  .sticky-tel span,
  .sticky-phone span, .phone-sticky span { display: none !important; }
  /* Body padding pour ne jamais masquer le footer */
  body { padding-bottom: 0 !important; }

  /* Footer */
  .footer-plaq { padding: 2rem 1rem 1.5rem !important; }
  .footer-plaq__col { padding: 0.75rem 0; }

  /* FAQ et chantier blocks */
  .chantier-card, .card { padding: 1rem 1.1rem !important; }
  .card__bullets { gap: 0.4rem; }

  /* Form */
  .contact__form { padding: 1.25rem 1rem !important; }
}

/* Tablet (601-900px) compaction modérée */
@media (min-width: 601px) and (max-width: 900px) {
  .section { padding: 3.5rem 0 !important; }
  .hero__content { padding: 5rem 1.5rem 3rem !important; }
}
