/* ============================================================
   VARIABLES & RESET
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream:       #F6F1E9;
  --cream-dark:  #EDE5D5;
  --terracotta:  #BC7A5A;
  --terracotta-light: #D4967A;
  --anthracite:  #28251F;
  --warm-grey:   #8C8279;
  --sand:        #D8CEBD;
  --white:       #FDFAF5;
  --brick-red:   #A85C3A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --container:   1240px;
  --gap:         2rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--cream);
  color: var(--anthracite);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(40, 37, 31, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.9rem 2.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.9;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.55rem 1.4rem;
  transition: background 0.25s, border-color 0.25s;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('photos/terrasse.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 20, 0.82) 0%,
    rgba(28, 25, 20, 0.35) 55%,
    rgba(28, 25, 20, 0.1) 100%
  );
}

/* Vertical editorial line */
.hero::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 25%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 2rem;
}

.hero-text {
  max-width: 720px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 1rem 2.4rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.hero-cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.hero-price-block {
  background: var(--anthracite);
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 200px;
}

.hero-price-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
  display: block;
  margin-bottom: 0.6rem;
}

.hero-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.hero-price-note {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--warm-grey);
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.section {
  padding: var(--section-pad) 2.5rem;
}

.section--cream     { background: var(--cream); }
.section--white     { background: var(--white); }
.section--anthracite { background: var(--anthracite); color: var(--cream); }
.section--sand      { background: var(--cream-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   POINTS FORTS
   ============================================================ */
.points-forts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--sand);
}

.point-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--sand);
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
  cursor: default;
}

.point-card:last-child {
  border-right: none;
}

.point-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(40, 37, 31, 0.07);
}

.point-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--terracotta);
}

.point-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.point-desc {
  font-size: 0.85rem;
  color: var(--warm-grey);
  line-height: 1.6;
}

/* ============================================================
   DESCRIPTION
   ============================================================ */
.description-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.description-aside {
  position: sticky;
  top: 8rem;
}

.description-aside-line {
  width: 48px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 1.5rem;
}

.description-stat {
  margin-bottom: 2rem;
}

.description-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
  display: block;
}

.description-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  text-transform: uppercase;
}

.description-body p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--anthracite);
  margin-bottom: 1.5rem;
}

.description-body p:last-child {
  margin-bottom: 0;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1.4;
  border-left: 2px solid var(--terracotta);
  padding-left: 2rem;
  margin: 3rem 0;
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.gallery-count {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--sand);
  line-height: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
  filter: saturate(0.95);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 37, 31, 0);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(40, 37, 31, 0.2);
}

.gallery-item-zoom {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-item-zoom svg {
  width: 1rem;
  height: 1rem;
  color: var(--white);
}

/* Featured first item */
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 18, 14, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 86vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.lightbox-close svg {
  width: 1rem;
  height: 1rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.lightbox-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   PIÈCES / TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--anthracite);
}

.tab-btn.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4.5rem;
  align-items: start;
  animation: fadeIn 0.4s ease;
}

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

.tab-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.tab-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tab-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-grey);
}

/* ---- Photo unique ---- */
.tab-media--single .tab-photo {
  aspect-ratio: 4/3;
}

/* ---- Diptych asymétrique (2 photos) ---- */
.tab-media--double {
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  height: 440px;
}

.tab-media--double .tab-photo--primary {
  grid-row: 1 / 3; /* toute la hauteur */
}

.tab-media-label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 1rem 1.25rem;
}

.tab-media-label span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--warm-grey);
  line-height: 1.3;
  display: block;
}

.tab-media-label span + span::before {
  content: '& ';
  color: var(--terracotta);
}

.tab-media--double .tab-photo--secondary {
  grid-column: 2;
  grid-row: 2;
}

/* ---- Photo de base ---- */
.tab-photo {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  height: 100%;
}

.tab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s ease;
}

.tab-photo:hover img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

/* Icône zoom au survol */
.tab-photo-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tab-photo:hover .tab-photo-zoom {
  opacity: 1;
}

.tab-photo-zoom-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.tab-photo-zoom-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--white);
}

/* ============================================================
   INFOS PRATIQUES
   ============================================================ */
.infos-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.fiche-table {
  width: 100%;
  border-collapse: collapse;
}

.fiche-table tr {
  border-bottom: 1px solid var(--sand);
}

.fiche-table tr:first-child {
  border-top: 1px solid var(--sand);
}

.fiche-table td {
  padding: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fiche-table td:first-child {
  color: var(--warm-grey);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 45%;
}

.fiche-table td:last-child {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--anthracite);
}

.fiche-table td strong {
  color: var(--terracotta);
}

.dpe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--anthracite);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

.dpe-letter {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #E8963A;
}

#map {
  height: 380px;
  width: 100%;
  background: var(--sand);
  border: none;
  /* Légère teinte chaude pour s'harmoniser avec la palette crème/terracotta */
  filter: sepia(0.18) saturate(0.85) brightness(1.02);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 8rem;
}

.contact-info .section-title {
  color: var(--cream);
}

.contact-info .section-eyebrow {
  color: var(--terracotta-light);
}

.contact-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(246,241,233,0.7);
  margin-bottom: 2.5rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-direct-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-direct-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--terracotta-light);
}

.contact-direct-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-direct-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  cursor: default;
  user-select: none; /* extra precaution */
}

/* -------- FORM -------- */
.contact-form {
  background: var(--cream);
  padding: 3rem;
}

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

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sand);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--anthracite);
  transition: border-color 0.25s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--terracotta);
}

.form-group textarea {
  resize: none;
  height: 120px;
  line-height: 1.7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--sand);
}

.form-submit {
  width: 100%;
  background: var(--anthracite);
  color: var(--white);
  border: none;
  padding: 1.1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 0.75rem;
}

.form-submit:hover {
  background: var(--terracotta);
}

.form-label-hint {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--warm-grey);
  opacity: 0.8;
}

.form-group--error input,
.form-group--error textarea {
  border-bottom-color: var(--terracotta);
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: var(--terracotta);
  margin-top: 0.4rem;
  min-height: 1em;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-error.visible {
  opacity: 1;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--warm-grey);
  margin-top: 1rem;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--terracotta);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--anthracite);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2.5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-size: 0.8rem;
  color: var(--warm-grey);
  line-height: 1.6;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--warm-grey);
  line-height: 1.7;
  max-width: 420px;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .points-forts {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 6 cards × 3 cols = 2 lignes parfaites */
  .point-card:nth-child(3n) {
    border-right: none;
  }

  .point-card:nth-child(n+4) {
    border-top: 1px solid var(--sand);
  }

  .description-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .description-aside {
    position: static;
    display: flex;
    gap: 3rem;
    align-items: center;
  }

  .description-aside-line { display: none; }

  .infos-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }

  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.75rem 1.5rem; }
  .nav-logo { font-size: 0.9rem; }

  .hero::before { display: none; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 4rem;
  }

  .hero-price-block {
    padding: 1.25rem 1.75rem;
    min-width: unset;
    width: fit-content;
  }

  .points-forts {
    grid-template-columns: 1fr 1fr;
  }

  /* 6 cards × 2 cols = 3 lignes parfaites */
  .point-card:nth-child(2n) {
    border-right: none;
  }

  .point-card:nth-child(n+3) {
    border-top: 1px solid var(--sand);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-media--double {
    height: 320px;
  }

  .footer-legal {
    text-align: left;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .description-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .points-forts {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .point-card {
    border-right: none;
    border-top: 1px solid var(--sand);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

  .tab-media--double {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 180px;
    height: auto;
  }

  .tab-media--double .tab-photo--primary {
    grid-row: 1;
  }

  .tab-media-label { display: none; }

  .tab-media--double .tab-photo--secondary {
    grid-column: 1;
    grid-row: 2;
  }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}
