/*
Theme Name: Villa Radani
Author: Villa Radani
Description: Thème bilingue sur mesure pour la résidence Villa Radani.
Version: 1.0.0
*/

:root {
  --coral: #ef725a;
  --coral-dark: #d9543f;
  --navy: #173d4d;
  --teal: #188b8c;
  --cream: #fff9ef;
  --sand: #f4e6ce;
  --white: #fff;
  --ink: #23414b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 20px rgba(25,62,74,.1);
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 185px; height: 62px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a { text-decoration: none; font-weight: 700; font-size: .94rem; }
.menu a:hover { color: var(--coral-dark); }
.lang {
  border: 1px solid var(--teal);
  border-radius: 99px;
  padding: 7px 12px;
  background: white;
  color: var(--teal);
  font-weight: 800;
  cursor: pointer;
}
.hero {
  min-height: 680px;
  display: grid;
  align-items: end;
  color: white;
  background:
    linear-gradient(90deg, rgba(13,52,62,.78), rgba(13,52,62,.12)),
    url("https://radani.agency/mauritius/location-villas-radani/wp-content/uploads/sites/9/2016/02/34_DSC02611-1200x520.jpg") center/cover no-repeat;
}
.hero-content { padding: 100px 0 86px; max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 800;
  color: #ffcf71;
}
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 20px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); color: var(--navy); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 620px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: .2s ease;
}
.btn-primary { background: var(--coral); color: white; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-light { background: white; color: var(--navy); }
.stats {
  margin-top: -34px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(30,70,80,.15);
}
.stat { padding: 25px 16px; text-align: center; border-right: 1px solid #e6ecec; }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--teal); font: 700 2rem Georgia, serif; }
.section { padding: 96px 0; }
.section.alt { background: white; }
.lead { font-size: 1.15rem; max-width: 760px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.photo-card img { width: 100%; min-height: 480px; object-fit: cover; border-radius: 18px; box-shadow: 18px 18px 0 var(--sand); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.feature { padding: 18px; background: #f4fbfa; border-radius: 12px; border-left: 4px solid var(--teal); }
.feature strong { display: block; color: var(--navy); }
.room-grid, .experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(31,72,82,.1); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 10px; }
.experience { padding: 30px; background: var(--cream); border-radius: 16px; border-top: 5px solid var(--coral); }
.experience .icon { font-size: 2rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 40px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; }
.gallery img:first-child { grid-row: span 2; height: 534px; }
.cta {
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}
.cta h2 { color: white; }
.cta p { max-width: 690px; margin: 0 auto; font-size: 1.14rem; }
.official { margin-top: 20px; display: inline-block; color: white; }
footer { background: #102f3b; color: #dbe8e9; padding: 32px 0; }
.footer-flex { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  font-size: 29px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
[data-en] { display: none; }
body.en [data-fr] { display: none; }
body.en [data-en] { display: initial; }

@media (max-width: 900px) {
  .menu a:not(.lang-link) { display: none; }
  .hero { min-height: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .room-grid, .experience-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; height: 400px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .brand img { width: 145px; height: 54px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 72px 0 55px; }
  .stats, .room-grid, .experience-grid, .features { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid #e6ecec; }
  .section { padding: 68px 0; }
  .photo-card img { min-height: 330px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:first-child { grid-column: auto; height: 280px; }
  .footer-flex { flex-direction: column; text-align: center; }
}
