/* ================================================
   HIBISCUS RESTAURANT — SAINT-CANNAT
   Palette extraite du logo (vert forêt botanique)
   Mobile First — Cormorant Garamond + DM Sans
   ================================================ */

:root {
  --primary:    #2D5C34;   /* vert forêt logo */
  --primary-dk: #1E3A22;   /* vert nuit texte */
  --secondary:  #5C8A3C;   /* vert sauge clair */
  --accent:     #C8963E;   /* or provençal */
  --bg:         #F8F6F0;   /* ivoire chaud */
  --bg-alt:     #FFFFFF;
  --text:       #1E3A22;
  --text-light: #5A6B5C;
  --border:     #DDD8CC;

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;

  --radius:     10px;
  --shadow:     0 4px 24px rgba(30,58,34,0.08);
  --shadow-lg:  0 10px 48px rgba(30,58,34,0.14);
  --transition: 0.3s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title { color: var(--primary); margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 3rem; }
.text-center { text-align: center; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(45,92,52,0.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ================================================
   HEADER
   ================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,246,240,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav-logo img { height: 68px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-links a {
  font-size: 1rem; font-weight: 500; color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--primary); transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg-alt); border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 1rem 1.5rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: var(--bg); color: var(--primary); }

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden; padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/hero.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(30,58,34,0.78) 0%, rgba(45,92,52,0.5) 60%, rgba(200,150,62,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff; text-align: center;
  max-width: 720px; padding: 2rem 1.5rem;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,150,62,0.9);
  color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 1.2rem; border-radius: 50px; margin-bottom: 1.75rem;
}
.hero-content h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.25); margin-bottom: 1rem; font-style: italic; }
.hero-slogan { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2.5rem; font-style: italic; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.7); font-size: 1.4rem;
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ================================================
   À PROPOS
   ================================================ */
#apropos { background: var(--bg-alt); }
.apropos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
}
.apropos-img {
  border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
.apropos-img img { width: 100%; height: 440px; object-fit: cover; }
.apropos-img::after {
  content: ''; position: absolute;
  bottom: -14px; right: -14px;
  width: 80px; height: 80px;
  border: 3px solid var(--accent);
  border-radius: var(--radius); z-index: -1;
}
.apropos-text p { color: var(--text-light); margin-bottom: 1.25rem; }
.apropos-text h2 { margin-bottom: 1.25rem; }
.apropos-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.apropos-tags span {
  background: var(--bg); border: 1px solid var(--border);
  padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.83rem; color: var(--text-light);
}

/* ================================================
   HORAIRES & INFOS
   ================================================ */
#infos { background: var(--bg); }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-title {
  font-family: var(--font-title); font-size: 1.3rem;
  color: var(--primary); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table tr td { padding: 0.5rem 0; font-size: 0.93rem; border-bottom: 1px solid var(--border); }
.horaires-table tr:last-child td { border-bottom: none; }
.horaires-table td:first-child { font-weight: 600; width: 42%; }
.horaires-table .ferme { color: var(--text-light); font-style: italic; }
.infos-contact p {
  display: flex; align-items: flex-start;
  gap: 0.8rem; margin-bottom: 1rem; font-size: 0.93rem;
}
.infos-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.infos-contact a:hover { color: var(--primary); }
.map-wrapper { border-radius: var(--radius); overflow: hidden; margin-top: 1.25rem; box-shadow: var(--shadow); }
.map-wrapper iframe { display: block; width: 100%; height: 220px; border: none; }

/* ================================================
   GALERIE
   ================================================ */
#galerie { background: var(--bg-alt); }
.galerie-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.galerie-item {
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; position: relative;
}
.galerie-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.4s ease; }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-overlay {
  position: absolute; inset: 0;
  background: rgba(45,92,52,0); display: flex;
  align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.galerie-overlay svg { opacity: 0; color: #fff; transition: opacity 0.3s ease; }
.galerie-item:hover .galerie-overlay { background: rgba(45,92,52,0.45); }
.galerie-item:hover .galerie-overlay svg { opacity: 1; }

/* ================================================
   AVIS
   ================================================ */
#avis { background: var(--primary); color: #fff; }
#avis .section-label { color: var(--accent); }
#avis .section-title { color: #fff; }
#avis .section-subtitle { color: rgba(255,255,255,0.75); }
.avis-score-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-bottom: 3rem;
}
.avis-score { font-family: var(--font-title); font-size: 4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stars { font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 0.3rem; }
.avis-label { font-size: 0.85rem; opacity: 0.75; }
.avis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.avis-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 1.75rem;
}
.avis-card .stars { font-size: 1rem; color: var(--accent); margin-bottom: 0.75rem; }
.avis-card blockquote { font-style: italic; font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; opacity: 0.92; }
.avis-card cite { font-size: 0.82rem; font-weight: 600; opacity: 0.65; }
.avis-cta { text-align: center; margin-top: 3rem; }

/* ================================================
   TERRASSE
   ================================================ */
#terrasse { background: var(--bg); padding: 0; }
.terrasse-grid { display: grid; grid-template-columns: 1fr 1fr; }
.terrasse-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.terrasse-content {
  display: flex; flex-direction: column;
  justify-content: center; padding: 5rem 3.5rem;
}
.terrasse-content p { color: var(--text-light); margin-bottom: 1.5rem; }
.terrasse-features {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem;
}
.terrasse-features span {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 500; color: var(--text-light);
}

/* ================================================
   FAQ
   ================================================ */
#faq { background: var(--bg-alt); }
.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition);
}
details[open] { box-shadow: var(--shadow); }
summary {
  font-family: var(--font-title); font-size: 1.1rem;
  color: var(--primary); cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; transition: transform var(--transition); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 0.85rem; color: var(--text-light); font-size: 0.95rem; }

/* ================================================
   CONTACT STRIP
   ================================================ */
#contact-strip { background: var(--secondary); padding: 4.5rem 0; text-align: center; color: #fff; }
#contact-strip h2 { font-family: var(--font-title); color: #fff; margin-bottom: 0.5rem; }
#contact-strip p { opacity: 0.9; margin-bottom: 2rem; }
.strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================
   FOOTER
   ================================================ */
#footer { background: var(--primary-dk); color: rgba(255,255,255,0.8); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 46px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-title); color: #fff; margin-bottom: 1rem; font-size: 1.05rem; }
.footer-col ul li { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--accent); }

/* SOCIAL LINKS — vrais SVG */
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; }
.social-links svg { width: 18px; height: 18px; }

/* Social links sur fond clair (carte contact) */
.card .social-links a {
  background: var(--bg);
  color: var(--primary) !important;
  border: 1px solid var(--border);
}
.card .social-links a:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent);
}
.card .social-links svg { fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; opacity: 0.55;
}

/* ================================================
   STICKY CALL (mobile)
   ================================================ */
.sticky-call {
  display: none;
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  background: var(--primary); color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(45,92,52,0.45);
  animation: pulse 2.5s infinite;
}
.sticky-call svg { width: 24px; height: 24px; }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(45,92,52,0.45); }
  50%      { box-shadow: 0 4px 36px rgba(45,92,52,0.7); }
}

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92); z-index: 2000;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.75rem;
  font-size: 2.5rem; color: #fff; cursor: pointer; line-height: 1;
  background: none; border: none; opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ================================================
   ANIMATIONS
   ================================================ */
.animate { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
  .nav-links, .nav-links + .btn { display: none; }
  .nav-burger { display: flex; }
  .apropos-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .apropos-img img { height: 320px; }
  .infos-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; gap: 1rem; }
  .terrasse-grid { grid-template-columns: 1fr; }
  .terrasse-img img { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .galerie-grid { grid-template-columns: repeat(2,1fr); }
  .sticky-call { display: flex; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .galerie-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .avis-score-wrap { flex-direction: column; gap: 0.5rem; }
  .strip-btns { flex-direction: column; align-items: center; }
}
