/* ============================================
   HAVRE DU TRAIT-CARRÉ
   Feuille de style principale
   ============================================ */

/* ---------- 1. RESET & VARIABLES ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette principale — inspirée du logo et de la nature de la Côte-de-Beaupré */
  --color-forest: #2D5A3D;        /* Vert forêt — couleur dominante */
  --color-forest-dark: #1F4029;   /* Vert très foncé — pour contraste */
  --color-sage: #6B8E5A;          /* Vert sauge — accents et liens */
  --color-cream: #F5F0E6;         /* Crème — fonds chauds */
  --color-cream-light: #FAF7F0;   /* Crème très clair */
  --color-charcoal: #2A2A2A;      /* Charcoal — texte principal */
  --color-charcoal-soft: #4A4A4A; /* Gris doux — texte secondaire */
  --color-stone: #8B8378;         /* Pierre — texte tertiaire */
  --color-amber: #B8945C;         /* Ambre — CTAs et highlights */
  --color-amber-dark: #97774A;    /* Ambre foncé — hover */
  --color-white: #FFFFFF;
  --color-off-white: #FAFAF7;

  /* Typographie */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailles */
  --container-max: 1320px;
  --container-narrow: 980px;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  /* Transitions */
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(42, 42, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 42, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(42, 42, 42, 0.12);
}

/* ---------- 2. BASE ---------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-off-white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 3. TYPOGRAPHIE ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-charcoal);
}

.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-sage);
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

h2.section-title em {
  font-style: italic;
  color: var(--color-sage);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.0625rem;
  color: var(--color-charcoal-soft);
  margin-bottom: var(--space-sm);
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  font-weight: 300;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 36px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background-color: var(--color-sage);
}

/* ---------- 4. CONTAINERS ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ---------- 5. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.btn-primary:hover {
  background-color: var(--color-forest-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.btn-outline:hover {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.btn-light {
  background-color: var(--color-cream);
  color: var(--color-forest-dark);
}

.btn-light:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--transition-base);
}

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

/* ---------- 6. NAVIGATION (HEADER) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(250, 250, 247, 0.97);
  border-bottom-color: rgba(45, 90, 61, 0.08);
  padding: 0.875rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Le ratio du logo est ~3.34:1 (largeur:hauteur) */
}

.nav-logo img {
  display: block;
  height: 56px;        /* Hauteur visible quand le header est large */
  width: auto;
  max-width: 100%;
  transition: opacity var(--transition-base);
}

.nav-logo:hover img {
  opacity: 0.85;
}

/* Quand l'utilisateur scrolle, le header se rétrécit — on rétrécit aussi le logo */
.site-header.scrolled .nav-logo img {
  height: 44px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-sage);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-forest);
}

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

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-charcoal);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Dégradé asymétrique : foncé à gauche (où est le texte), transparent à droite (pour révéler le ciel) */
  background: linear-gradient(
    100deg,
    rgba(31, 64, 41, 0.85) 0%,
    rgba(31, 64, 41, 0.65) 35%,
    rgba(31, 64, 41, 0.25) 70%,
    rgba(31, 64, 41, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-cream);
  max-width: 820px;
}

.hero-content .eyebrow {
  color: var(--color-cream);
  opacity: 0.85;
}

.hero-content .eyebrow::before {
  background-color: var(--color-cream);
  opacity: 0.6;
}

.hero-title {
  color: var(--color-cream);
  margin-bottom: 1.75rem;
}

.hero-title em {
  color: #C9D5BC;
}

.hero-tagline {
  font-size: clamp(1.125rem, 1.75vw, 1.4rem);
  font-weight: 300;
  color: var(--color-cream);
  opacity: 0.9;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 3rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  text-align: right;
  color: var(--color-cream);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 2px 12px rgba(31, 64, 41, 0.6);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: none;
  font-style: italic;
  color: var(--color-cream);
  opacity: 1;
  margin-top: 0.25rem;
  text-shadow: 0 2px 16px rgba(31, 64, 41, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-cream);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  text-align: center;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background-color: var(--color-cream);
  margin: 0.75rem auto 0;
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- 8. SECTIONS ---------- */
.section {
  padding: var(--space-xl) 0;
}

.section-tight {
  padding: var(--space-lg) 0;
}

.section-cream {
  background-color: var(--color-cream);
}

.section-forest {
  background-color: var(--color-forest-dark);
  color: var(--color-cream);
}

.section-forest h2,
.section-forest h3 {
  color: var(--color-cream);
}

.section-forest p {
  color: rgba(245, 240, 230, 0.85);
}

.section-forest .eyebrow {
  color: #C9D5BC;
}

.section-forest .eyebrow::before {
  background-color: #C9D5BC;
}

/* ---------- 9. INTRO / WELCOME ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.intro-image:hover img {
  transform: scale(1.04);
}

.intro-image::before {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  right: 30%;
  top: 30%;
  border: 1px solid var(--color-sage);
  z-index: -1;
}

.intro-content {
  padding-top: 1rem;
}

.intro-content p {
  margin-bottom: 1.25rem;
}

/* ---------- 10. FEATURE GRID (caractéristiques) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: var(--space-lg);
}

.feature-item {
  text-align: left;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  color: var(--color-forest);
  margin-bottom: 1.25rem;
  border-radius: 4px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.section-forest .feature-icon {
  background-color: rgba(201, 213, 188, 0.15);
  color: #C9D5BC;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- 11. UNIT CARD (les unités) ---------- */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--space-lg);
}

.unit-card {
  background-color: var(--color-white);
  border: 1px solid rgba(45, 90, 61, 0.1);
  overflow: hidden;
  transition: all var(--transition-base);
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 90, 61, 0.2);
}

.unit-card-image {
  overflow: hidden;
}

.unit-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.unit-card:hover .unit-card-image img {
  transform: scale(1.05);
}

.unit-card-body {
  padding: 1.75rem;
}

.unit-card-body h3 {
  margin-bottom: 0.5rem;
}

.unit-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}

.unit-card-meta {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(45, 90, 61, 0.1);
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
  font-size: 0.875rem;
  color: var(--color-charcoal-soft);
}

.unit-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.unit-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-forest);
}

.unit-card-link::after {
  content: '→';
  transition: transform var(--transition-base);
}

.unit-card:hover .unit-card-link::after {
  transform: translateX(4px);
}

/* ---------- 12. GALLERY (galerie d'intérieurs) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-cream);
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(31, 64, 41, 0.9);
  color: var(--color-cream);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* ---------- 13. AMENITIES (commodités) ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: var(--space-lg);
}

.amenity {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--color-cream-light);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.amenity:hover {
  background-color: var(--color-cream);
  transform: translateY(-4px);
}

.amenity-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest);
  border-radius: 50%;
  color: var(--color-cream);
}

.amenity-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.amenity h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.amenity p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ---------- 14. ATTRACTIONS LIST (attraits régionaux) ---------- */
.attractions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background-color: rgba(45, 90, 61, 0.12);
  border: 1px solid rgba(45, 90, 61, 0.12);
  margin-top: var(--space-lg);
}

.attraction {
  background-color: var(--color-cream-light);
  padding: 2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--color-charcoal);
}

.attraction:hover {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.attraction-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.attraction-arrow {
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.attraction:hover .attraction-arrow {
  transform: translate(4px, -4px);
}

/* ---------- 15. CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: var(--space-xl) 0;
  background-color: var(--color-forest-dark);
  color: var(--color-cream);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/exterieur.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.cta-band > .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(245, 240, 230, 0.85);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

.cta-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #C9D5BC;
  margin-bottom: 1rem;
  display: block;
}

/* ---------- 16. CONTACT FORM ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-broker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--color-cream);
  border-left: 3px solid var(--color-forest);
}

.contact-broker-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-forest);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  flex-shrink: 0;
}

.contact-broker-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.125rem;
}

.contact-broker-info span {
  font-size: 0.875rem;
  color: var(--color-stone);
  letter-spacing: 0.05em;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0;
}

.contact-details li {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details a {
  color: var(--color-forest);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--color-amber-dark);
}

.contact-form {
  background-color: var(--color-cream);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal-soft);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(45, 90, 61, 0.2);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-forest);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background-color: var(--color-charcoal);
  color: rgba(245, 240, 230, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-display);
  color: var(--color-cream);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  color: var(--color-cream);
}

.footer-tagline {
  color: rgba(245, 240, 230, 0.6);
  font-size: 0.875rem;
  font-style: italic;
  max-width: 320px;
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a:hover {
  color: var(--color-cream);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(245, 240, 230, 0.45);
}

/* ---------- 18. PAGE HEADER (sous-pages) ---------- */
.page-header {
  padding: 10rem 0 5rem;
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100px;
  background: radial-gradient(ellipse at top, rgba(45, 90, 61, 0.05), transparent 70%);
}

.page-header-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-header h1 em {
  color: var(--color-sage);
  font-style: italic;
}

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  font-weight: 300;
}

/* ---------- 19. ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation initiale du hero */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  :root {
    --space-xl: 4.5rem;
    --space-2xl: 6rem;
  }
  .nav-logo img {
    height: 44px;
  }
  .site-header.scrolled .nav-logo img {
    height: 38px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 2.5rem;
    transition: right var(--transition-base);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu a {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 400;
  }
  .nav-toggle {
    display: flex;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form {
    padding: 1.75rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    display: none;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .features {
    gap: 2rem;
  }
}
