/* ========================================
   BRETAGNE DOUCE – MAIN STYLESHEET
   Theme: Maritime Brittany · Côte du Morbihan
   ======================================== */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Ocean palette */
  --ocean-deep: #0d3b5c;
  --ocean-mid: #1a6a8a;
  --ocean-light: #3fa3c5;
  --ocean-pale: #b8dce8;
  --ocean-foam: #e8f4f8;

  /* Sand & stone */
  --sand: #f5ede0;
  --sand-dark: #e8d5b7;
  --stone: #8c7355;
  --granite: #4a4a4a;

  /* Breton accents */
  --breton-navy: #1b2a4a;
  --breton-red: #c0392b;
  --breton-white: #f9f7f4;
  --seaweed: #2d6a4f;
  --gold: #c9a227;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

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

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-soft: 0 2px 20px rgba(13,59,92,0.10);
  --shadow-card: 0 4px 30px rgba(13,59,92,0.15);
  --shadow-hero: 0 8px 60px rgba(13,59,92,0.25);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--granite);
  background: var(--breton-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--ocean-mid); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--ocean-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ocean-deep);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

address { font-style: normal; line-height: 1.8; }

/* --- UTILITY --- */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 0.75rem;
}
.section-label.light { color: rgba(255,255,255,0.8); }

.section-intro {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--ocean-mid);
  color: #fff;
  border-color: var(--ocean-mid);
}
.btn-primary:hover {
  background: var(--ocean-deep);
  border-color: var(--ocean-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ocean-mid);
  border-color: var(--ocean-mid);
}
.btn-outline:hover { background: var(--ocean-mid); color: #fff; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,59,92,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
}
.logo-wave { font-size: 1.2rem; color: var(--ocean-light); }
.logo-text { font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.logo-text strong { color: var(--ocean-pale); }
.logo-sub { font-size: 0.65rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); text-transform: uppercase; }

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--ocean-light) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--ocean-mid) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,59,92,0.75) 0%,
    rgba(13,59,92,0.35) 60%,
    rgba(13,59,92,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  margin-top: 70px;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean-pale);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  max-width: 700px;
}
.hero h1 em { font-style: italic; color: var(--ocean-pale); }

.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

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

.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.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

/* --- BADGES STRIP --- */
.badges-strip {
  background: var(--ocean-deep);
  border-bottom: 3px solid var(--ocean-light);
}
.badges-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--space-md);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 400;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.badge:last-child { border-right: none; }
.badge-icon { font-size: 1rem; }

/* --- SECTION SPLIT --- */
.section-split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.img-main img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.img-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.split-content { padding: 1rem 0; }
.split-content h2 { margin-bottom: 1.25rem; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--ocean-foam);
  color: var(--granite);
}
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ocean-light);
  font-weight: 700;
}

/* --- QUICK GALLERY --- */
.quick-gallery { padding: 0 0 var(--space-lg); }
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gi-large { grid-row: 1 / 3; }
.gi-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(13,59,92,0.7));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gi-label { opacity: 1; }
.gallery-cta {
  text-align: center;
  padding: var(--space-md) var(--space-md) 0;
}

/* --- DESTINATION SECTION --- */
.section-destination {
  position: relative;
  margin: 0;
  padding: var(--space-xl) 0;
  overflow: hidden;
}
.dest-bg {
  position: absolute;
  inset: 0;
}
.dest-bg img { width: 100%; height: 100%; object-fit: cover; }
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,59,92,0.88) 0%,
    rgba(13,59,92,0.65) 60%,
    rgba(13,59,92,0.4) 100%
  );
}
.dest-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  max-width: 600px;
  margin-left: var(--space-xl);
}
.dest-content h2, .dest-content p { color: #fff; }
.dest-content p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.dest-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.dest-hl {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1rem;
  backdrop-filter: blur(5px);
}
.dest-hl strong { display: block; color: var(--ocean-pale); font-size: 0.9rem; margin-bottom: 0.25rem; }
.dest-hl span { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* --- REVIEWS --- */
.section-reviews {
  background: var(--sand);
  padding: var(--space-lg) 0;
}
.section-reviews .section-container { text-align: center; }
.section-reviews h2 { margin-bottom: 0.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 1.5rem;
  text-align: left;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--ocean-light);
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem; }
.review-card p { font-style: italic; color: var(--granite); font-size: 0.95rem; }
.reviewer { margin-top: 1rem; font-size: 0.82rem; color: var(--stone); font-weight: 600; }
.reviews-source { font-size: 0.85rem; color: var(--stone); }

/* --- CTA SECTION --- */
.section-cta {
  background: var(--ocean-deep);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "〜〜〜";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.08);
  font-size: 8rem;
  letter-spacing: 0.3em;
  white-space: nowrap;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.1rem; }

/* --- INNER HERO (subpages) --- */
.inner-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.inner-hero-short { height: 35vh; min-height: 260px; }
.inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,59,92,0.85) 0%, rgba(13,59,92,0.3) 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-lg);
}
.inner-hero-content h1 { color: #fff; margin-bottom: 0.5rem; }
.inner-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* --- APPARTEMENT PAGE --- */
.section-appart {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.appart-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-lg);
}
.appart-intro-text h2 { margin-bottom: 1rem; }
.appart-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.spec {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: var(--ocean-foam);
  border-radius: var(--radius);
}
.spec-icon { font-size: 1.4rem; }
.spec strong { display: block; color: var(--ocean-deep); font-size: 1rem; }
.spec small { font-size: 0.78rem; color: var(--stone); }
.appart-intro-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* GALLERY MASONRY */
.appart-gallery { padding: var(--space-lg) 0; background: var(--sand); }
.appart-gallery .section-container { text-align: center; padding-bottom: 2rem; }
.gallery-masonry {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}
.gm-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gm-wide { grid-column: span 2; }
.gm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gm-item:hover img { transform: scale(1.06); }
.gm-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(13,59,92,0.75));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ÉQUIPEMENTS */
.section-equip { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.section-equip h2 { margin-bottom: 2rem; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.equip-cat {
  background: var(--ocean-foam);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--ocean-light);
}
.equip-cat h3 { font-size: 1rem; color: var(--ocean-deep); margin: 0 0 0.75rem; font-family: var(--font-body); }
.equip-cat ul { list-style: none; padding: 0; margin: 0; }
.equip-cat li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(63,163,197,0.15);
  font-size: 0.9rem;
  color: var(--granite);
}
.equip-cat li:last-child { border-bottom: none; }

/* RÉSIDENCE PHOTOS */
.section-residence { padding: var(--space-lg) 0; background: var(--breton-navy); }
.section-residence .section-container { text-align: center; }
.section-residence .section-container h2, .section-residence .section-container p { color: rgba(255,255,255,0.9); }
.section-residence .section-label { color: var(--ocean-pale); }
.residence-photos {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--space-md) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.residence-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ARZON GRID */
.section-arzon { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.section-arzon h2 { margin-bottom: 2rem; }
.arzon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.arzon-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.arzon-photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s;
}
.arzon-photo:hover img { transform: scale(1.04); }
.arzon-caption {
  padding: 0.75rem;
  background: var(--ocean-foam);
  font-size: 0.82rem;
  color: var(--stone);
  border-bottom: 2px solid var(--ocean-light);
}

/* --- ATTRACTIONS PAGE --- */
.section-attractions {
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}
.attractions-intro {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  border-left: 4px solid var(--ocean-light);
  padding-left: 1.5rem;
  text-align: left;
}

.attraction-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--ocean-foam);
}
.attraction-card:last-child { border-bottom: none; }
.attr-reverse { direction: rtl; }
.attr-reverse > * { direction: ltr; }

.attr-imgs { display: flex; flex-direction: column; gap: 1rem; }
.attr-imgs img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.attr-imgs img:nth-child(2) { height: 180px; }

.attr-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-light);
  background: var(--ocean-foam);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.attr-content h2 { margin-bottom: 1rem; }
.attr-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.attr-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ocean-foam);
  font-size: 0.92rem;
}
.attr-link {
  display: inline-block;
  margin-top: 0.5rem;
  margin-right: 1rem;
  color: var(--ocean-mid);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--ocean-pale);
  padding-bottom: 2px;
}
.attr-link:hover { color: var(--ocean-deep); border-color: var(--ocean-mid); }
.attr-links-multi { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* MAP SECTION */
.section-map { padding: var(--space-lg) 0 0; background: var(--sand); }
.section-map .section-container { text-align: center; }
.map-photo { overflow: hidden; }
.map-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
}

/* --- CONTACT PAGE --- */
.section-contact {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--ocean-foam);
  border-radius: var(--radius);
}
.cd-icon { font-size: 1.4rem; flex-shrink: 0; }
.cd-item strong { display: block; color: var(--ocean-deep); margin-bottom: 0.2rem; font-size: 0.9rem; }
.cd-item span { font-size: 0.88rem; color: var(--stone); line-height: 1.5; }
.contact-note {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.contact-note h3 { font-size: 1rem; color: var(--ocean-deep); margin-top: 0; }
.contact-note ol { font-size: 0.9rem; color: var(--granite); }

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--stone); margin-bottom: 1.5rem; }
.req { color: var(--breton-red); }
.hidden { display: none; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--granite); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--granite);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean-mid);
  box-shadow: 0 0 0 3px rgba(26,106,138,0.15);
}
.form-group textarea { resize: vertical; }
.form-legal { font-size: 0.78rem; color: var(--stone); text-align: center; margin-top: 0.5rem; }

/* --- PAGE CONTENT (single) --- */
.page-content { max-width: 860px; margin: 0 auto; padding: 6rem var(--space-md) var(--space-xl); }
.page-hero { margin-bottom: 2rem; }
.page-hero h1 { color: var(--ocean-deep); }
.page-body h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; color: var(--ocean-deep); border-bottom: 2px solid var(--ocean-foam); padding-bottom: 0.5rem; }
.page-body h3 { font-size: 1.1rem; color: var(--ocean-mid); }
.page-body p, .page-body li { font-size: 0.95rem; line-height: 1.8; }
.page-body strong { color: var(--ocean-deep); }

/* --- FOOTER --- */
.site-footer {
  background: var(--breton-navy);
  color: rgba(255,255,255,0.75);
  padding: 0;
}
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; display: block; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-logo strong { color: var(--ocean-pale); }
.footer-logo .logo-wave { color: var(--ocean-light); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-pale);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .section-split { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-large { grid-row: 1; grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .attraction-card { grid-template-columns: 1fr; gap: 2rem; }
  .attr-reverse { direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .dest-content { margin-left: var(--space-md); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { text-align: center; }

  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ocean-deep);
    padding: 1rem;
    border-bottom: 2px solid var(--ocean-light);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 0.75rem 1rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-left: 0; border-radius: var(--radius) !important; margin-top: 0.5rem; }

  .badges-inner { flex-direction: column; align-items: center; gap: 0; }
  .badge { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: center; }
  .badge:last-child { border-bottom: none; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gi-large { grid-column: span 1; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gm-wide { grid-column: span 2; }

  .appart-intro { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .residence-photos { grid-template-columns: 1fr; }
  .arzon-grid { grid-template-columns: 1fr; }
  .dest-highlights { grid-template-columns: 1fr; }
  .dest-content { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .attr-imgs img { height: 200px; }
  .section-container { padding: var(--space-md) var(--space-sm); }
}

@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: 1fr; }
  .gm-wide { grid-column: span 1; }
  .appart-specs { grid-template-columns: 1fr; }
  .img-secondary { grid-template-columns: 1fr; }
}

/* Logo image variant for attraction cards */
.attr-imgs-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  min-height: 240px;
}
.logo-img {
  max-width: 280px;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Honeypot hidden */
.hidden { display: none !important; }

/* ========================================
   CALENDRIER DES DISPONIBILITÉS
   ======================================== */

.section-calendar {
  text-align: center;
  padding-bottom: var(--space-md);
}
.section-calendar h2 { margin-bottom: 0.75rem; }

.calendar-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--stone);
  font-size: 0.95rem;
}

/* Légende inline dans le texte */
.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 2px;
}
.legend-dot.avail { background: #27ae60; }
.legend-dot.busy  { background: #e74c3c; }
.legend-dot.past  { background: #ccc; }

/* Loading spinner */
.calendar-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 0;
  color: var(--stone);
}
.cal-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--ocean-foam);
  border-top-color: var(--ocean-mid);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.calendar-error {
  padding: 1.5rem;
  background: #fef0f0;
  border: 1px solid #fcc;
  border-radius: var(--radius);
  color: var(--breton-red);
  max-width: 500px;
  margin: 0 auto;
}

/* Wrapper du calendrier */
.calendar-wrap {
  max-width: 960px;
  margin: 0 auto;
}

/* Navigation mois */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.cal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ocean-deep);
  min-width: 280px;
  text-align: center;
}
.cal-btn {
  background: var(--ocean-foam);
  border: 2px solid var(--ocean-pale);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ocean-deep);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-btn:hover:not(:disabled) {
  background: var(--ocean-mid);
  border-color: var(--ocean-mid);
  color: #fff;
}
.cal-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Grille des mois */
.cal-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cal-month {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  border: 1px solid var(--ocean-foam);
}
.cal-month-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ocean-deep);
  text-align: center;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Lignes et cellules */
.cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-row-wrap { display: flex; flex-direction: column; gap: 2px; }
.cal-header { margin-bottom: 4px; }

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  border-radius: 4px;
  font-weight: 500;
}
.cal-day-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ocean-mid);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cal-empty { background: transparent; }

/* États des jours */
.day-avail {
  background: #eafaf1;
  color: #1e8449;
  cursor: default;
}
.day-avail:hover { background: #d5f5e3; }

.day-busy {
  background: #fdecea;
  color: #c0392b;
  cursor: not-allowed;
  text-decoration: line-through;
}

.day-past {
  background: #f5f5f5;
  color: #bbb;
  cursor: default;
}

/* Légende bas de calendrier */
.cal-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--stone);
  padding: 0.5rem 0;
}
.cal-legend span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Responsive calendrier */
@media (max-width: 860px) {
  .cal-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cal-grid-wrap {
    grid-template-columns: 1fr;
  }
  .cal-title { min-width: 200px; font-size: 0.95rem; }
  .cal-legend { gap: 1rem; flex-wrap: wrap; }
}

/* ========================================
   EMAIL PROTECTION – MENTIONS LÉGALES
   ======================================== */

.email-protected {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.email-blur {
  filter: blur(4px);
  user-select: none;
  font-family: monospace;
  color: var(--granite);
  transition: filter 0.3s;
  letter-spacing: 0.05em;
}

.email-revealed {
  filter: none;
}

.email-reveal-btn {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--ocean-foam);
  color: var(--ocean-mid);
  border: 1px solid var(--ocean-pale);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.email-reveal-btn:hover {
  background: var(--ocean-mid);
  color: #fff;
  border-color: var(--ocean-mid);
}

/* ========================================
   PROCESSUS DE RÉSERVATION
   ======================================== */

.section-process {
  background: var(--ocean-foam);
  padding: var(--space-lg) 0;
}
.section-process .section-container { text-align: center; }
.section-process h2 { margin-bottom: 2rem; }

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.process-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  width: 200px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border-top: 4px solid var(--ocean-light);
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--ocean-mid);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
}
.step-content h3 {
  font-size: 0.95rem;
  color: var(--ocean-deep);
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--stone);
  line-height: 1.5;
  margin: 0;
}

.process-arrow {
  font-size: 1.8rem;
  color: var(--ocean-pale);
  padding: 0 0.5rem;
  align-self: center;
  margin-top: -1rem;
}

/* ========================================
   CONTRAT & PANDADOC
   ======================================== */

.section-contract {
  background: var(--breton-navy);
  padding: var(--space-lg) 0;
}
.contract-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contract-info .section-label { color: var(--ocean-pale); }
.contract-info h2 { color: #fff; margin-bottom: 1rem; }
.contract-info p { color: rgba(255,255,255,0.8); }

.contract-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.contract-features li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.contract-features li:last-child { border-bottom: none; }

.contract-dl-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.contract-download .btn-outline {
  color: var(--ocean-pale);
  border-color: var(--ocean-pale);
  background: transparent;
}
.contract-download .btn-outline:hover {
  background: var(--ocean-mid);
  border-color: var(--ocean-mid);
  color: #fff;
}

/* Carte contrat */
.contract-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}
.cc-header {
  background: var(--ocean-mid);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}
.cc-icon { font-size: 2rem; }
.cc-header strong { display: block; font-size: 1rem; }
.cc-header span { font-size: 0.8rem; opacity: 0.8; }
.cc-body { padding: 1rem 1.5rem; }
.cc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ocean-foam);
  font-size: 0.85rem;
}
.cc-row:last-child { border-bottom: none; }
.cc-row span:first-child { color: var(--stone); }
.cc-row span:last-child { color: var(--ocean-deep); font-weight: 600; }
.cc-footer {
  background: var(--ocean-foam);
  padding: 0.875rem 1.5rem;
  text-align: center;
}
.cc-badge {
  font-size: 0.82rem;
  color: var(--ocean-mid);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .contract-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .process-step { width: 160px; }
  .process-arrow { display: none; }
  .process-steps { gap: 1rem; }
}
@media (max-width: 600px) {
  .process-step { width: 100%; }
}

/* ========================================
   PAGE MERCI
   ======================================== */

.merci-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--ocean-foam);
}
.merci-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border-top: 5px solid var(--ocean-light);
}
.merci-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.merci-inner h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}
.merci-lead {
  font-size: 1.05rem;
  color: var(--stone);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.merci-next {
  background: var(--ocean-foam);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
.merci-next h2 {
  font-size: 1rem;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.merci-steps {
  padding-left: 1.5rem;
  margin: 0;
}
.merci-steps li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--granite);
  border-bottom: 1px solid rgba(63,163,197,0.15);
}
.merci-steps li:last-child { border-bottom: none; }
.merci-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   ÉTAT DES LIEUX
   ======================================== */

.edl-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 1rem 4rem;
}

/* En-tête */
.edl-header {
  background: var(--ocean-deep);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  overflow: hidden;
}
.edl-header-inner {
  padding: 2rem;
  color: #fff;
}
.edl-header h1 { color: #fff; font-size: 1.8rem; margin-bottom: 0.3rem; }
.edl-header p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }

.edl-type-toggle {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.toggle-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 0.95rem;
}
.toggle-opt input { accent-color: var(--ocean-light); }

/* Sections */
.edl-section {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--ocean-foam);
}
.edl-section-title {
  background: var(--ocean-mid);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0;
}

/* Infos générales */
.edl-info-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.25rem 0;
}
.edl-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 180px;
}
.edl-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.edl-field input[type="text"],
.edl-field input[type="date"],
.edl-field input[type="number"] {
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.edl-field input:focus {
  outline: none;
  border-color: var(--ocean-mid);
  box-shadow: 0 0 0 3px rgba(26,106,138,0.1);
}

/* Légende */
.edl-legende {
  padding: 0.75rem 1.25rem 1rem;
  font-size: 0.82rem;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.etat-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}
.etat-badge.tb { background: #eafaf1; color: #1e8449; }
.etat-badge.b  { background: #eaf3fb; color: #1a5276; }
.etat-badge.mo { background: #fef9e7; color: #9a7d0a; }
.etat-badge.m  { background: #fdecea; color: #c0392b; }
.etat-badge.na { background: #f5f5f5; color: #777; }

/* Tableau */
.edl-table-wrap { overflow-x: auto; }
.edl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.edl-table thead th {
  background: var(--ocean-foam);
  color: var(--ocean-deep);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--ocean-pale);
}
.edl-table thead th:nth-child(2),
.edl-table thead th:nth-child(3) { width: 80px; text-align: center; }
.edl-table thead th:nth-child(4) { width: 35%; }

.edl-table tbody tr { border-bottom: 1px solid #eef2f5; }
.edl-table tbody tr.row-shade { background: #f9fbfd; }
.edl-table tbody tr:hover { background: #f0f7fb; }
.edl-table tbody td { padding: 0.45rem 0.75rem; vertical-align: middle; }
.td-etat { text-align: center; }

/* Sélecteurs d'état */
.etat-select {
  padding: 0.3rem 0.4rem;
  border: 2px solid var(--ocean-pale);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  width: 62px;
  text-align: center;
  transition: all 0.15s;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}
.etat-select.etat-TB { border-color: #27ae60; color: #1e8449; background: #eafaf1; }
.etat-select.etat-B  { border-color: #2980b9; color: #1a5276; background: #eaf3fb; }
.etat-select.etat-MO { border-color: #e67e22; color: #9a7d0a; background: #fef9e7; }
.etat-select.etat-M  { border-color: #e74c3c; color: #c0392b; background: #fdecea; }
.etat-select.etat-NA { border-color: #aaa;    color: #777;    background: #f5f5f5; }

/* Input observations dans le tableau */
.obs-input {
  width: 100%;
  padding: 0.3rem 0.5rem;
  border: 1px solid #dde;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-body);
}
.obs-input:focus { outline: none; border-color: var(--ocean-mid); }

/* Observations générales par pièce */
.edl-obs-general {
  padding: 0.75rem 1.25rem 1rem;
  flex-direction: column;
}
.edl-obs-general textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  resize: vertical;
}
.edl-obs-general textarea:focus {
  outline: none;
  border-color: var(--ocean-mid);
  box-shadow: 0 0 0 3px rgba(26,106,138,0.1);
}

/* Signatures */
.edl-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 1.25rem;
}
.edl-sig-block { display: flex; flex-direction: column; gap: 0.5rem; }
.edl-sig-block label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sig-canvas {
  width: 100%;
  height: 150px;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  background: #fff;
  cursor: crosshair;
  touch-action: none;
  display: block;
}
.sig-canvas:focus { outline: none; border-color: var(--ocean-mid); }
.sig-actions { display: flex; gap: 0.5rem; }
.sig-clear {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  background: var(--ocean-foam);
  border: 1px solid var(--ocean-pale);
  border-radius: 4px;
  cursor: pointer;
  color: var(--ocean-mid);
  font-weight: 600;
}
.sig-clear:hover { background: #fdecea; border-color: #fcc; color: #c0392b; }

/* Soumission */
.edl-submit-wrap {
  text-align: center;
  padding: 2rem 0 1rem;
}
.edl-submit-note {
  font-size: 0.82rem;
  color: var(--stone);
  margin-top: 0.75rem;
}

/* Messages */
.edl-message {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.edl-message-success {
  background: #eafaf1;
  color: #1e8449;
  border: 2px solid #27ae60;
}
.edl-message-error {
  background: #fdecea;
  color: #c0392b;
  border: 2px solid #e74c3c;
}

/* Responsive */
@media (max-width: 640px) {
  .edl-signatures { grid-template-columns: 1fr; }
  .edl-info-grid { flex-direction: column; gap: 1rem; }
  .edl-type-toggle { flex-direction: column; gap: 0.75rem; }
}

/* Mode info EDL */
.edl-mode-info {
  margin: 0 1.25rem 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
}
.edl-mode-entree {
  background: #eaf3fb;
  color: #1a5276;
  border-left: 4px solid #2980b9;
}
.edl-mode-sortie {
  background: #fef9e7;
  color: #9a7d0a;
  border-left: 4px solid #e67e22;
}
.etat-readonly {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f5f5f5 !important;
}
.small-num { width: 70px !important; }

/* Bannière locataire */
.locataire-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  padding: 0.875rem 1.1rem;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 0.9rem;
}
.locataire-banner span { font-size: 1.5rem; flex-shrink: 0; }
.locataire-banner strong { display: block; margin-bottom: 0.2rem; }

/* Mode locataire */
.edl-mode-locataire {
  background: #f0f8f0;
  color: #1e6b3a;
  border-left: 4px solid #27ae60;
}

/* Observation locataire mise en évidence */
.obs-highlight {
  background: #fffde7 !important;
  border-color: #f9a825 !important;
}
.obs-highlight:focus {
  border-color: #f57f17 !important;
  box-shadow: 0 0 0 3px rgba(249,168,37,0.2) !important;
}

/* Section lien locataire */
.edl-lien-wrap {
  margin-bottom: 1.5rem;
}
.edl-lien-card {
  background: #fff;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.edl-lien-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.edl-lien-icon { font-size: 2rem; flex-shrink: 0; }
.edl-lien-card-header strong {
  display: block;
  color: var(--ocean-deep);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.edl-lien-card-header p {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0;
}

.lien-result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ocean-foam);
}
.lien-result label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.lien-copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lien-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--granite);
  background: var(--ocean-foam);
}
.btn-copy {
  padding: 0.6rem 1rem;
  background: var(--ocean-mid);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-copy:hover { background: var(--ocean-deep); }
.lien-note {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ========================================
   CONTRE-SIGNATURE
   ======================================== */

.cs-loading, .cs-error {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--stone);
}
.cs-error {
  background: #fdecea;
  border-radius: var(--radius-lg);
  color: var(--breton-red);
  border: 1px solid #fcc;
}

.cs-resume { }
.cs-resume-inner { padding: 1.25rem; }
.cs-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cs-info-item {
  background: var(--ocean-foam);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.cs-info-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.cs-info-item strong { color: var(--ocean-deep); font-size: 0.95rem; }

.cs-room { margin-bottom: 1.5rem; }
.cs-room-title {
  background: var(--ocean-foam);
  color: var(--ocean-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--ocean-light);
}
.cs-table { margin-bottom: 0; }
.cs-obs { font-size: 0.82rem; color: var(--stone); font-style: italic; }
.cs-obs-general {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--stone);
  font-style: italic;
  background: var(--sand);
}

.sig-readonly-wrap {
  border: 2px solid var(--ocean-pale);
  border-radius: var(--radius);
  background: var(--ocean-foam);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.sig-readonly-img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
.sig-absent {
  color: var(--stone);
  font-size: 0.85rem;
  font-style: italic;
}

/* Badges état dans tableaux lecture seule */
.etat-select.etat-TB { display:inline-block; padding:2px 6px; border-radius:4px; font-weight:700; font-size:0.8rem; background:#eafaf1; color:#1e8449; border:none; }
.etat-select.etat-B  { display:inline-block; padding:2px 6px; border-radius:4px; font-weight:700; font-size:0.8rem; background:#eaf3fb; color:#1a5276; border:none; }
.etat-select.etat-MO { display:inline-block; padding:2px 6px; border-radius:4px; font-weight:700; font-size:0.8rem; background:#fef9e7; color:#9a7d0a; border:none; }
.etat-select.etat-M  { display:inline-block; padding:2px 6px; border-radius:4px; font-weight:700; font-size:0.8rem; background:#fdecea; color:#c0392b; border:none; }

@media (max-width: 640px) {
  .cs-info-grid { grid-template-columns: 1fr 1fr; }
}
