/* ============================================
   LA BIGNONE — CSS Global
   Design : Provence ensoleillée, chaleureux
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Dancing+Script:wght@600&display=swap');

/* ── Variables ── */
:root {
  --orange:       #E8622A;
  --orange-light: #F0875A;
  --orange-pale:  #FDF0E8;
  --beige:        #F5EDD8;
  --beige-light:  #FBF7F0;
  --dark:         #2C2416;
  --dark-footer:  #1E1A12;
  --gray:         #6B6357;
  --gray-light:   #A09890;
  --white:        #FFFFFF;
  --border:       #E8DDD0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Dancing Script', cursive;
  --font-body:    'Lato', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 20px rgba(44,36,22,0.10);
  --shadow-lg: 0 8px 40px rgba(44,36,22,0.15);

  --nav-h: 72px;
  --container: 1140px;
}

/* ── Reset ── */
*, *::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(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Conteneur ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typographie utilitaires ── */
.label-orange {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
.section-title span { color: var(--orange); }
.divider {
  width: 48px; height: 3px;
  background: var(--orange);
  margin: 16px 0 24px;
  border-radius: 2px;
}
.divider.centered { margin: 16px auto 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,98,42,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--orange-pale);
  transform: translateY(-2px);
}

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a5c2e 0%, #7aab5e 40%, #5ba3d0 100%);
  background: url('images/hero.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,15,8,0.65) 0%,
    rgba(20,15,8,0.35) 60%,
    rgba(20,15,8,0.1) 100%
  );
}
.hero .container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  animation: fadeUp .8s ease both;
}
.hero-content .label-orange { color: #FFB088; font-size: 1.4rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #FFD4B0;
  margin-bottom: 20px;
}
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Barre de réservation */
.booking-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 10;
  margin-top: -36px;
  flex-wrap: wrap;
  gap: 0;
}
.booking-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  flex-wrap: wrap;
}
.booking-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 160px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.booking-field:last-of-type { border-right: none; }
.booking-field svg { color: var(--orange); flex-shrink: 0; }
.booking-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  font-weight: 700;
}
.booking-value {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 2px;
}
.booking-bar .btn { margin-left: auto; flex-shrink: 0; }

/* ── SECTION : Bienvenue ── */
.section-welcome {
  padding: 100px 0 80px;
  background: var(--white);
  overflow: hidden;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.welcome-icons {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.welcome-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.welcome-icon-item .icon-circle {
  width: 48px; height: 48px;
  background: var(--orange-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.welcome-icon-item span {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 400;
}
.welcome-icon-item strong {
  font-size: 0.82rem;
  color: var(--dark);
  display: block;
}
.welcome-img-wrapper {
  position: relative;
}
.welcome-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  min-height: 380px;
}
.welcome-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.welcome-quote {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 220px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
}
/* Fleur décorative */
.deco-flower {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

/* ── SECTION : Atouts ── */
.section-atouts {
  padding: 80px 0;
  background: var(--orange-pale);
}
.atouts-header {
  text-align: center;
  margin-bottom: 56px;
}
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.atout-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s;
}
.atout-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.atout-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--orange-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.atout-card h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* ── SECTION : Galerie ── */
.section-galerie {
  padding: 100px 0;
  background: var(--white);
}
.galerie-header {
  text-align: center;
  margin-bottom: 48px;
}
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.galerie-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.galerie-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.galerie-placeholder {
  width: 100%; height: 100%;
  min-height: 180px;
  transition: transform .4s ease;
}
.galerie-item:hover .galerie-placeholder { transform: scale(1.05); }
.galerie-placeholder.p1 { background: linear-gradient(135deg, #7aab5e, #5ba3d0); }
.galerie-placeholder.p2 { background: linear-gradient(135deg, #c8a870, #e8b88a); }
.galerie-placeholder.p3 { background: linear-gradient(135deg, #a8c890, #7aab5e); }
.galerie-placeholder.p4 { background: linear-gradient(135deg, #5ba3d0, #3a7ab0); }
.galerie-placeholder.p5 { background: linear-gradient(135deg, #e8c870, #d4a840); }
.galerie-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── SECTION : Infos pratiques & Contact ── */
.section-infos {
  padding: 80px 0;
  background: var(--beige-light);
}
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.infos-col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.infos-col p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.contact-list li svg { color: var(--orange); flex-shrink: 0; }
.map-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #d0e8c0, #b0d0e8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  border: 2px dashed var(--border);
  /* Remplacer par une vraie carte (iframe Google Maps ou Leaflet) */
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-footer);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo .logo-name { font-size: 1.8rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.4); }
.footer-logo p {
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all .2s;
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .atouts-grid { grid-template-columns: repeat(3, 1fr); }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
  .galerie-item:first-child { grid-column: span 2; }
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-quote { right: 0; bottom: -16px; }
  .atouts-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-item:first-child { grid-column: 1; grid-row: 1; }
  .infos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .booking-bar .container { flex-direction: column; align-items: stretch; gap: 16px; }
  .booking-field { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .booking-field:last-of-type { border-bottom: none; }
  .booking-bar .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .atouts-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.2rem; }
}

/* ── Lightbox ── */
.galerie-item { cursor: pointer; }
.galerie-item:hover .galerie-placeholder img { transform: scale(1.05); }
.galerie-placeholder { overflow: hidden; width: 100%; height: 100%; }
.galerie-placeholder img { transition: transform .4s ease; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.lightbox.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}
.lightbox-inner img {
  max-height: 82vh;
  max-width: 100%;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
  margin: 0 auto;
}
.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  margin-top: 14px;
  font-style: italic;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 1001;
}
.lightbox-close:hover { background: var(--orange); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 1001;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--orange); }

@media (max-width: 640px) {
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
