:root {
  --white: #FFFFFF;
  --off-white: #F2F2F2;
  --gold: #C0A03A;
  --black: #1A1A1A;
  --gray: #C7C7C7;
  --gold-light: #C0A03A1A;

  /* Giaza idéal — Playfair Display en remplacement. Remplacer par 'Giaza' si la police est installée */
  --font-display: 'Playfair Display', 'Giaza', serif;
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Archivo Narrow', sans-serif;

  /* Facteur d'échelle : agrandit textes et conteneurs sur les grands écrans */
  --scale: 1;
}

/* Grands écrans (MacBook Pro 16", iMac, écrans externes) */
@media (min-width: 1600px) {
  :root { --scale: 1.1; }
}
@media (min-width: 1920px) {
  :root { --scale: 1.25; }
}
@media (min-width: 2200px) {
  :root { --scale: 1.4; }
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--gold);
  color: var(--white);
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
}

::-webkit-scrollbar-thumb:hover {
  background: #a38731;
}

/* 3. UTILITY CLASSES */
.gold-text {
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 400;
}

.narrow-text {
  font-family: var(--font-body);
  font-weight: 400;
}

.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto;
}

.section-padding {
  padding: calc(120px * var(--scale)) 0;
}

/* 4. HEADER / NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 40px;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 14px 40px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
}

.header-logo img {
  height: calc(60px * var(--scale));
  width: auto;
  transition: transform 0.3s;
}

.header-logo img:hover {
  transform: scale(1.03);
}

.header-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s;
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-phone {
  font-family: var(--font-body);
  font-size: calc(12px * var(--scale));
  letter-spacing: 1px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background-color: var(--gold);
}

.header-phone a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.header-phone a:hover {
  color: var(--gold);
}

/* 5. MOBILE MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--black);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu hors écran via transform (pas de débordement horizontal) et masqué au clavier quand fermé */
.mobile-nav {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s 0.5s;
  z-index: 999;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding: 8px 16px;
}

/* 6. HERO SECTION (.hero) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-inner {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 7fr 5fr;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, calc(88px * var(--scale)));
  line-height: 1.05;
  color: #b08a55;
  /* Lettres remplies d'une texture bois clair */
  background: url('../assets/img/texture-bois-clair.svg') center / 1200px 300px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  font-weight: 400;
  margin-top: 0;
}

.hero-title .gold-text {
  color: var(--black);
  -webkit-text-fill-color: var(--black);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: calc(18px * var(--scale));
  line-height: 1.7;
  color: #555;
  max-width: calc(520px * var(--scale));
  margin-bottom: 16px;
  margin-top: 0;
}

.hero-description {
  font-family: var(--font-body);
  font-size: calc(15px * var(--scale));
  line-height: 1.8;
  color: var(--gray);
  max-width: calc(480px * var(--scale));
  margin-bottom: 48px;
  margin-top: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-decorative {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-decorative::before {
  content: '';
  width: 1px;
  height: 200px;
  background-color: var(--gold);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.hero-decorative .stamp-logo {
  width: min(calc(460px * var(--scale)), 32vw);
  height: auto;
  overflow: visible;
  color: var(--black);
  fill: var(--black);
}

/* Anneau de texte : rotation continue autour du W */
.logo-spin .stamp-ring {
  transform-box: view-box;
  transform-origin: 508.91px 511px;
  animation: stampSpin 40s linear infinite;
}

/* W central : légère respiration */
.logo-spin .stamp-core {
  transform-box: view-box;
  transform-origin: 508.91px 511px;
  animation: stampFloat 6s ease-in-out infinite;
}

.logo-spin .stamp-w {
  fill: var(--black);
}

@keyframes stampSpin {
  to { transform: rotate(360deg); }
}

@keyframes stampFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 7. CTA BUTTON (.btn) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: calc(10px * var(--scale));
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--black);
  transition: all 0.3s;
}

.btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.btn::after {
  content: '→';
  transition: transform 0.3s;
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn--filled {
  background-color: var(--black);
  color: var(--white);
  padding: 16px 36px;
  border: none;
}

.btn--filled:hover {
  background-color: var(--gold);
  color: var(--white);
}

/* 8. CONCEPT SECTION (.concept) */
.concept {
  background-color: var(--off-white);
}

.concept-inner {
  max-width: calc(900px * var(--scale));
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.concept-logo {
  display: block;
  width: calc(240px * var(--scale));
  height: auto;
  margin: 0 auto 48px;
  overflow: visible;
  color: var(--black);
  fill: var(--black);
}

/* --- Logo WOW (hero) : animation d'entrée + inclinaison 3D --- */
.logo-wow {
  transition: transform 0.4s ease-out;
  will-change: transform;
}
.logo-wow .cl-circle,
.logo-wow .cl-glyph,
.logo-wow .cl-w,
.logo-wow .cl-est {
  transform-box: view-box;
  transform-origin: 508.91px 511px;
}

/* 1. Le cercle se trace */
.logo-wow .cl-circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.logo-wow.visible .cl-circle {
  animation: clDraw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* 2. Les lettres glissent le long du cercle, une à une */
.logo-wow .cl-glyph {
  opacity: 0;
}
.logo-wow.visible .cl-glyph {
  animation: clGlyphIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.3s + var(--i) * 0.045s);
}

/* 3. Le W surgit avec un rebond */
.logo-wow .cl-w {
  opacity: 0;
}
.logo-wow .cl-w-shape {
  fill: var(--gold);
}
.logo-wow.visible .cl-w {
  animation: clWPop 1s 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* 4. Un reflet de lumière traverse le W, puis revient régulièrement */
.logo-wow .cl-w-shine {
  transform: translateX(80px) skewX(-20deg);
}
.logo-wow.visible .cl-w-shine {
  animation: clShine 6s 2.2s ease-in-out infinite;
}

/* 5. EST. 2026 apparaît en dernier */
.logo-wow .cl-est {
  opacity: 0;
}
.logo-wow.visible .cl-est {
  animation: clFadeUp 0.8s 2s ease-out both;
}

@keyframes clDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes clGlyphIn {
  from { opacity: 0; transform: rotate(-55deg) scale(0.7); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes clWPop {
  from { opacity: 0; transform: scale(0.2) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes clShine {
  0% { transform: translateX(80px) skewX(-20deg); }
  25%, 100% { transform: translateX(950px) skewX(-20deg); }
}

@keyframes clFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wow * {
    animation-delay: 0s !important;
  }
}

.concept-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, calc(44px * var(--scale)));
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.concept-text {
  font-family: var(--font-body);
  font-size: calc(16px * var(--scale));
  line-height: 1.9;
  color: #555;
  max-width: calc(640px * var(--scale));
  margin: 0 auto;
}

.concept-text p {
  margin: 0;
}

.concept-text p + p {
  margin-top: 20px;
}

/* 9. RÉALISATIONS SECTION (.realisations) */
.realisations {
  background-color: var(--white);
}

.realisations-header {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto 64px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.realisations-header .section-label {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 16px;
}

.realisations-header .section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.realisations-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, calc(52px * var(--scale)));
  font-weight: 400;
  margin: 0;
}

.realisations--alt {
  background-color: var(--off-white);
}

.section-intro {
  font-family: var(--font-body);
  font-size: calc(15px * var(--scale));
  line-height: 1.8;
  color: var(--gray);
  max-width: calc(560px * var(--scale));
  margin: 20px 0 0;
}

.section-cta {
  max-width: calc(1400px * var(--scale));
  margin: 56px auto 0;
  padding: 0 40px;
  text-align: center;
}

.realisations-grid {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.realisation-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--off-white);
}

.realisation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26,26,26,0.7));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

.realisation-card:hover::before {
  opacity: 1;
}

.card-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.02) 10px, rgba(0,0,0,0.02) 20px);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
  transform: translateY(12px);
  transition: transform 0.5s;
}

.card-number {
  display: block;
  font-family: var(--font-body);
  font-size: calc(11px * var(--scale));
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
  margin-top: 0;
  opacity: 0;
  transition: opacity 0.4s 0.1s;
}

.card-title {
  font-family: var(--font-heading);
  font-size: calc(13px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
  transition: color 0.4s;
}

.realisation-card:hover .card-title {
  color: var(--white);
}

.card-description {
  font-family: var(--font-body);
  font-size: calc(14px * var(--scale));
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, opacity 0.4s 0.15s;
  opacity: 0;
}

.card-gold-line {
  width: 0;
  height: 1px;
  background-color: var(--gold);
  margin-top: 16px;
  transition: width 0.5s 0.2s;
}

.realisation-card:hover .card-content {
  transform: translateY(0);
}

.realisation-card:hover .card-number {
  opacity: 1;
}

.realisation-card:hover .card-description {
  max-height: 100px;
  opacity: 1;
}

.realisation-card:hover .card-gold-line {
  width: 40px;
}

/* Touch-active state (mobile) */
.realisation-card.touch-active::before {
  opacity: 1;
}

.realisation-card.touch-active .card-content {
  transform: translateY(0);
}

.realisation-card.touch-active .card-number {
  opacity: 1;
}

.realisation-card.touch-active .card-title {
  color: var(--white);
}

.realisation-card.touch-active .card-description {
  max-height: 100px;
  opacity: 1;
}

.realisation-card.touch-active .card-gold-line {
  width: 40px;
}

/* Placeholder styling */
.placeholder-icon {
  font-size: calc(24px * var(--scale));
  color: var(--gray);
  opacity: 0.3;
}

.placeholder-text {
  font-family: var(--font-body);
  font-size: calc(11px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.4;
}

.card-placeholder {
  flex-direction: column;
  gap: 12px;
}

/* Section label (reusable) */
.section-label {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

/* Mobile nav phone */
.mobile-nav-phone {
  margin-top: 16px;
}

.mobile-nav-phone a {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--gray);
  text-decoration: none;
}

/* 10. À PROPOS SECTION (.about) */
.about {
  background-color: var(--off-white);
}

.about-inner {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 3/4;
  background-color: var(--off-white);
  border: 1px solid #eee;
  position: relative;
  overflow: visible; /* to show pseudo element outside */
}

.about-photo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  gap: 12px;
}

.about-photo-placeholder span {
  font-family: var(--font-body);
  font-size: calc(12px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-content .section-label {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.about-content .section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, calc(44px * var(--scale)));
  margin-bottom: 36px;
  font-weight: 400;
  margin-top: 0;
}

.about-text {
  font-family: var(--font-body);
  font-size: calc(15px * var(--scale));
  line-height: 1.9;
  color: #555;
}

.about-text p {
  margin: 0;
}

.about-text p + p {
  margin-top: 20px;
}

.about-signature {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-signature img {
  height: 32px;
}

.about-signature span {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

/* 11. CONTACT SECTION (.contact) */
.contact {
  background-color: var(--white);
}

.contact-inner {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-content .section-label {
  font-family: var(--font-heading);
  font-size: calc(11px * var(--scale));
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-content .section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, calc(44px * var(--scale)));
  margin-bottom: 24px;
  font-weight: 400;
  margin-top: 0;
}

.contact-intro {
  font-family: var(--font-body);
  font-size: calc(16px * var(--scale));
  line-height: 1.8;
  color: #555;
  margin-bottom: 48px;
  margin-top: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  position: relative;
  padding-left: 0;
}

.contact-item-label {
  display: block;
  font-family: var(--font-heading);
  font-size: calc(10px * var(--scale));
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  margin-top: 0;
}

.contact-item-value {
  display: block;
  font-family: var(--font-body);
  font-size: calc(16px * var(--scale));
  color: var(--black);
  margin: 0;
}

.contact-item-value a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.contact-item-value a:hover {
  border-color: var(--gold);
}

.contact-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-socials {
  margin-top: 48px;
  display: flex;
  gap: 24px;
}

.contact-socials a {
  font-family: var(--font-heading);
  font-size: calc(10px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-socials a:hover {
  color: var(--gold);
}

.contact-decorative {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-decorative img {
  opacity: 0.04;
  max-width: 100%;
}

/* 12. FOOTER (.site-footer) */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 64px 40px 32px;
}

.footer-inner {
  max-width: calc(1400px * var(--scale));
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: calc(16px * var(--scale));
  letter-spacing: 4px;
  margin-bottom: 8px;
  margin-top: 0;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: calc(13px * var(--scale));
  color: var(--gray);
  letter-spacing: 1px;
  margin-bottom: 48px;
  margin-top: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: calc(12px * var(--scale));
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: calc(12px * var(--scale));
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: calc(11px * var(--scale));
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background-color: var(--black);
  color: var(--white);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--gold);
  transform: translateY(-5px);
}

/* 13. SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 14. HERO ENTRANCE ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 40px; }
}

.hero-label { animation: fadeInUp 0.8s 0.2s both; }
.hero-title { animation: fadeInUp 0.8s 0.4s both; }
.hero-tagline { animation: fadeInUp 0.8s 0.6s both; }
.hero-description { animation: fadeInUp 0.8s 0.8s both; }
.hero-cta { animation: fadeInUp 0.8s 1s both; }

/* 15. PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* 16. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  /* Hero mobile/tablette : logo animé au-dessus, contenu centré */
  .hero {
    min-height: 100svh;
    padding-top: 96px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-decorative {
    order: -1;
  }
  .hero-decorative::before {
    display: none;
  }
  .hero-decorative .stamp-logo {
    width: min(320px, 72vw);
  }
  .hero-label {
    justify-content: center;
  }
  .hero-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--gold);
  }
  .hero-tagline,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-description {
    margin-bottom: 32px;
  }
  .hero-cta {
    justify-content: center;
    gap: 16px 24px;
  }
  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-decorative {
    display: none;
  }
  .section-padding {
    padding: 80px 0;
  }
  /* Le hero garde un espace sous le header fixe (sinon écrasé par .section-padding) */
  .hero.section-padding {
    padding-top: 112px;
    padding-bottom: 64px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
  .hero.section-padding {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .hero-inner {
    gap: 24px;
  }
  .hero-decorative .stamp-logo {
    width: min(240px, 60vw);
  }
  .hero-label {
    font-size: 10px;
    letter-spacing: 2px;
    gap: 10px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .hero-label::before,
  .hero-label::after {
    width: 20px;
    flex-shrink: 0;
  }
  .hero-title {
    font-size: clamp(40px, 13vw, 64px);
    margin-bottom: 20px;
  }
  .hero-tagline {
    font-size: 17px;
    line-height: 1.6;
  }
  .hero-description {
    font-size: 15px;
  }
  .header-nav,
  .header-phone {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    margin-right: -12px;
  }
  .concept-logo {
    width: 180px;
    margin-bottom: 32px;
  }
  .concept-title {
    margin-bottom: 28px;
  }
  .concept-text {
    font-size: 15px;
    line-height: 1.8;
  }
  .realisations-header {
    margin-bottom: 40px;
  }
  .realisations-header h2 {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.15;
  }
  .concept-title,
  .about-title,
  .contact-title {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.2;
  }
  h1, h2, h3 {
    overflow-wrap: break-word;
  }
  .section-cta {
    margin-top: 40px;
    padding: 0 24px;
  }
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .realisation-card {
    aspect-ratio: auto;
    min-height: 280px;
  }
  .card-content {
    padding: 24px;
  }
  .about-title {
    margin-bottom: 24px;
  }
  .about-content .section-label,
  .contact-content .section-label {
    margin-bottom: 20px;
  }
  .contact-intro {
    font-size: 15px;
    margin-bottom: 36px;
  }
  .contact-info {
    gap: 24px;
  }
  .contact-cta,
  .contact-socials {
    margin-top: 36px;
  }
  .site-header {
    padding: 16px 24px;
  }
  .site-header.scrolled {
    padding: 12px 24px;
  }
  .hero-inner,
  .concept-inner,
  .realisations-header,
  .realisations-grid,
  .about-inner,
  .contact-inner {
    padding: 0 24px;
  }
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .about-photo {
    aspect-ratio: 1/1;
  }
  .about-inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .site-footer {
    text-align: center;
    padding-top: 48px;
  }
  .footer-tagline {
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .footer-links {
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 32px;
  }
  .footer-links a {
    padding: 6px 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile Realisation card behavior : contenu toujours visible, fond assez sombre pour le texte blanc */
  .realisation-card::before {
    opacity: 1;
    background: linear-gradient(transparent 20%, rgba(26,26,26,0.85));
  }
  .card-title {
    color: var(--white);
  }
  .card-description {
    max-height: none;
    opacity: 1;
  }
  .card-number {
    opacity: 1;
  }
  .card-placeholder {
    position: absolute;
    inset: 0;
    justify-content: flex-start;
    padding-top: 56px;
  }
  .realisation-card {
    display: flex;
    align-items: flex-end;
  }
  .realisation-card .card-content {
    position: relative;
    width: 100%;
    padding-top: 96px;
  }
  .card-content {
    transform: translateY(0);
  }
  .card-gold-line {
    width: 30px;
  }
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Petits téléphones : boutons empilés pleine largeur */
@media (max-width: 480px) {
  .site-header {
    padding: 14px 20px;
  }
  .site-header.scrolled {
    padding: 10px 20px;
  }
  .header-logo img {
    height: 52px;
  }
  .hero-inner,
  .concept-inner,
  .realisations-header,
  .realisations-grid,
  .about-inner,
  .contact-inner,
  .section-cta {
    padding: 0 20px;
  }
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-cta,
  .contact-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta .btn,
  .contact-cta .btn {
    justify-content: center;
  }
  .section-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .btn--filled {
    padding: 18px 24px;
  }
  .contact-item-value {
    overflow-wrap: anywhere;
  }
}

/* PAGE MENTIONS LÉGALES */
.site-header--static {
  position: static;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
}

.legal-inner {
  max-width: calc(760px * var(--scale));
  margin: 0 auto;
  padding: 0 24px;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: calc(40px * var(--scale));
  font-weight: 400;
  margin: 16px 0 48px;
}

.legal h2 {
  font-family: var(--font-heading);
  font-size: calc(18px * var(--scale));
  font-weight: 400;
  letter-spacing: 1px;
  margin: 48px 0 16px;
}

.legal p,
.legal li {
  font-size: calc(17px * var(--scale));
  line-height: 1.7;
}

.legal a {
  color: var(--black);
  text-decoration-color: var(--gold);
}

.legal a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .site-header--static {
    padding: 14px 16px;
  }
  .legal-inner {
    padding: 0 16px;
  }
  .legal-title {
    font-size: 30px;
  }
}
