/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --orange:      #f4694a;
  --blue-dark:   #1e3a5f;
  --teal-light:  #ecfdff;
  --text:        #2d2d2d;
  --gray:        #666;
  --white:       #fff;
  --radius:      14px;
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;           /* ← увеличен базовый шрифт */
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a   { text-decoration: none; color: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.centered { text-align: center; }
.colored  { color: var(--blue-dark); }

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 44px;
  border-radius: 50px;
  transition: background .25s, transform .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { background: #d9502f; transform: translateY(-2px); }

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 3rem;
}
.section-title.colored { color: var(--blue-dark); }

/* ============================================================
   HERO  — texte centré, puis image pleine largeur
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
}

.hero__text {
  text-align: center;
  padding: 70px 24px 44px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__text h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 34px;
}

/* ✅ image pleine largeur, hauteur généreuse */
.hero__img {
  width: 100%;
  overflow: hidden;
}
.hero__img img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ============================================================
   APPARTEMENTS
   ============================================================ */
.apparts {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.apparts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.appart-card img {
  border-radius: var(--radius);
  height: 270px;
  margin-bottom: 22px;
}

.appart-card h3 {
  font-size: 1.44rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

.appart-card p {
  font-size: 1.14rem;
  margin-bottom: 10px;
  color: var(--text);
}

.appart-link  { text-decoration: none; cursor: default; }
.appart-ideal { color: var(--blue-dark) !important; }

/* ============================================================
   POURQUOI NOUS
   ============================================================ */
.why {
  background: var(--teal-light);
  padding: 90px 24px;
}

.why__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: start;
}

.why__left h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}

.why__sub { font-size: 1.2rem; color: var(--text); }

.why__intro {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 22px;
}

.why__list {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

.why__list li {
  padding: 7px 0 7px 30px;
  position: relative;
  font-size: 1.2rem;
}

.why__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 15px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'%3E%3Cpath d='M1 5.5l4.5 4.5L14 1' stroke='%237c6ef5' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.why__outro { font-size: 1.18rem; }

/* ============================================================
   AVIS  — fond blanc (pas bleu)
   ============================================================ */
.reviews {
  background: var(--white);      /* ← blanc */
  padding: 90px 24px;
  text-align: center;
}

.reviews h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 36px;
}

.reviews__label {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.reviews__scores {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.reviews__scores li { display: flex; align-items: center; gap: 10px; }
.star { font-size: 1.15rem; }

.reviews__host {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.reviews__host img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.reviews__host p { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ============================================================
   GALERIES  — fond bleu clair
   ============================================================ */
.gallery-section { padding: 80px 24px; }
.bg-light { background: var(--teal-light); }

.gallery-section h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.gallery-sub {
  text-align: center;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 44px;
}

.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  border-radius: var(--radius);
  height: 210px;
  transition: transform .3s;
  cursor: pointer;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* ============================================================
   TARIFS
   ============================================================ */
.tarifs {
  padding: 90px 24px;
  background: var(--white);
}

.tarifs h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.tarifs__sub {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 52px;
}

.tarifs__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.tarif-card img {
  border-radius: var(--radius);
  height: 210px;
  margin-bottom: 20px;
}

.tarif-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.tarif-card p { font-size: 0.95rem; color: var(--gray); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--teal-light); }

.footer__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 90px 24px 60px;
  text-align: center;
}

.footer__inner h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 26px;
}

.footer__divider {
  width: 60px; height: 1px;
  background: var(--gray);
  border: none;
  margin: 0 auto 26px;
}

.footer__inner p { font-size: 1rem; color: var(--orange); margin-bottom: 30px; }

.footer__socials { display: flex; justify-content: center; gap: 12px; }

.footer__socials a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--text);
  border-radius: 50%;
  transition: background .2s;
  padding: 7px;
}
.footer__socials a:hover { background: var(--orange); }
.footer__socials svg { width: 100%; height: 100%; }
.footer__socials svg path { fill: var(--white); }

.footer__bar {
  border-top: 1px solid rgba(0,0,0,.15);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  width: auto; height: auto;
  border-radius: 8px; object-fit: contain;
}
.lightbox__close {
  position: fixed; top: 20px; right: 24px;
  font-size: 2.5rem; color: var(--white);
  cursor: pointer; line-height: 1; z-index: 1001;
}

/* ============================================================
   RESPONSIVE – tablette
   ============================================================ */
@media (max-width: 900px) {
  .apparts__grid  { grid-template-columns: 1fr; gap: 52px; }
  .why__inner     { grid-template-columns: 1fr; gap: 36px; }
  .tarifs__grid   { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE – mobile
   ============================================================ */
@media (max-width: 600px) {
  body { font-size: 15px; }

  .hero__text        { padding: 36px 16px 28px; }
  .hero__text h1     { font-size: 1.45rem; line-height: 1.3; }
  .hero__text h1 br  { display: none; }
  .hero__sub         { font-size: 1rem; margin-bottom: 24px; }
  .hero__img img     { height: 240px; }

  .section-title     { font-size: 1.3rem; margin-bottom: 2rem; }

  .apparts           { padding: 44px 16px; }
  .apparts__grid     { gap: 36px; }
  .appart-card img   { height: 200px; }

  .why               { padding: 44px 16px; }
  .why__left h2      { font-size: 1.3rem; }
  .why__list li      { font-size: 1.1rem; }

  .reviews           { padding: 44px 16px; }
  .reviews h2        { font-size: 1.35rem; }

  .gallery-section   { padding: 44px 16px; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-grid img  { height: 130px; }

  .tarifs            { padding: 44px 16px; }
  .tarifs h2         { font-size: 1.35rem; }
  .tarifs__sub       { margin-bottom: 32px; }
  .tarifs__grid      { gap: 28px; }
  .tarif-card img    { height: 160px; }

  .footer__inner     { padding: 44px 16px 36px; }
  .footer__inner h2  { font-size: 1.2rem; }
}
