/* ===== VARIABLES & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,400&family=Dancing+Script:wght@600;700&display=swap');

:root {
  --wine:       #35503F;
  --wine-dark:  #263A2E;
  --wine-mid:   #4A6B54;
  --gold:       #C56B3E;
  --gold-light: #E0A94A;
  --cream:      #F6F1E6;
  --cream-bg:   #EAE3D2;
  --green:      #6C7A3B;
  --white:      #FFFFFF;
  --muted:      #7F7358;
  --border:     #D8CBB2;
  --section-gap: 76px;
  --radius: 5px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--wine);
  font-size: 16px;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1080px;
  margin: auto;
  padding: var(--section-gap) 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--cream-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(38, 58, 46, 0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(38, 58, 46, 0.18);
}
.logo .logo-text { display: flex; flex-direction: column; }
.logo .logo-kicker {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 3px;
}
.logo .logo-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: var(--wine);
  font-weight: 700;
}

nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transition: transform 0.25s;
}

nav a:hover { color: var(--wine); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--wine); }

#menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--wine);
  font-size: 1.2rem;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; fill: currentColor; }

.btn-primary { background: var(--wine); color: var(--white); border-color: var(--wine); }
.btn-primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: #A85433; border-color: #A85433; transform: translateY(-1px); }

.btn-outline-dark { background: transparent; color: var(--wine); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--wine); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  /* Pose une photo dans assets/images/hero.jpg (coucher de soleil dans les vignes,
     ~1920px de large) : elle remplacera automatiquement le dégradé de repli. */
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34)),
    url("../assets/images/hero.jpg"), url("../assets/images/hero.png"),
    linear-gradient(135deg, #7d8b45 0%, #c9a24a 45%, #8a5a2b 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: clamp(150px, 30vw, 210px);
  height: clamp(150px, 30vw, 210px);
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  margin-bottom: 6px;
}

.hero .hero-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero .hero-sub::before,
.hero .hero-sub::after {
  content: '';
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.hero p.hero-lead {
  max-width: 540px;
  margin: 0 auto 34px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== VALUES BAND ===== */
.values-band {
  background: var(--wine);
  color: var(--white);
}

.values-band .container {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.06em;
}

.values-band .dot { color: var(--gold-light); }

/* ===== SECTION TITLES ===== */
.section-title { text-align: center; margin-bottom: 44px; }

.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--wine);
  line-height: 1.15;
  font-weight: 700;
}

.section-title p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

/* ===== SPLIT (texte + photo) ===== */
.split { background: var(--white); }
.split--cream { background: var(--cream); }
/* filet uniquement entre deux sections de même fond */
.split:not(.split--cream) + .split:not(.split--cream),
.split--cream + .split--cream { border-top: 1px solid var(--border); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.1rem);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--wine);
}
.split-text p { color: var(--muted); margin-bottom: 14px; font-size: 0.97rem; }

.split-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: var(--gold);
  margin-top: 8px;
}

.split-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #7d8b45 0%, #c9a24a 55%, #8a5a2b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 14px 40px rgba(38, 58, 46, 0.14);
}
.split-media--portrait { aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .split-media-fallback {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(38, 58, 46, 0.14);
  background: linear-gradient(150deg, #7d8b45 0%, #c9a24a 55%, #8a5a2b 100%);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide .slide-fallback {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--wine);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: var(--white); }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--white); transform: scale(1.35); }

/* ===== FEATURES ===== */
.features { background: var(--cream); }

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}

.feature-card .feature-icon { font-size: 2rem; margin-bottom: 14px; }

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--wine);
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ===== HOURS ===== */
.hours-section { background: var(--cream); }

.hours-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
}

.hours-list { max-width: 460px; margin: 0 auto; }

.hours-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }

.hours-day {
  width: 120px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
}

.hours-line { flex: 1; height: 1px; background: var(--border); }

.hours-time {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wine);
}

.hours-row--closed .hours-day,
.hours-row--closed .hours-time { color: var(--muted); }

.hours-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.hours-note strong { color: var(--wine); }

/* ===== CTA BAND ===== */
.cta-band {
  background:
    linear-gradient(rgba(38, 58, 46, 0.9), rgba(38, 58, 46, 0.9)),
    url("../assets/images/hero.jpg"), url("../assets/images/hero.png"),
    linear-gradient(135deg, #7d8b45, #8a5a2b);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}
.cta-band .container { padding-top: 60px; padding-bottom: 60px; }
.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  font-weight: 700;
}
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }
.cta-band .phone {
  display: inline-block;
  color: var(--white);
  font-size: 1.5rem;
  font-family: 'Fraunces', serif;
  margin-bottom: 22px;
  text-decoration: none;
  font-weight: 700;
}
.cta-band .phone:hover { color: var(--gold-light); }

/* ===== PAGE HERO ===== */
.page-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.42)),
    url("../assets/images/hero.jpg"), url("../assets/images/hero.png"),
    linear-gradient(135deg, #7d8b45 0%, #c9a24a 50%, #8a5a2b 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 72px 0 60px;
}
.page-hero .hero-kicker { margin-bottom: 12px; }
.page-hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
}
.page-hero p { color: rgba(255, 255, 255, 0.88); margin-top: 8px; font-size: 0.98rem; }

/* ===== CARTE ===== */
.carte-section { background: var(--cream); }

.carte-intro {
  max-width: 520px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.carte-group { max-width: 660px; margin: 0 auto 56px; }
.carte-group:last-child { margin-bottom: 0; }

.carte-group-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  color: var(--wine);
  font-weight: 700;
  margin-bottom: 6px;
}

.carte-group-title + .carte-group-rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.carte-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin: 26px 0 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}
.carte-sub:first-of-type { margin-top: 0; }

.carte-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
}

.carte-name { flex-shrink: 1; }
.carte-name small { color: var(--muted); }

.carte-leader {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  position: relative;
  top: -4px;
  min-width: 20px;
}

.carte-price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.carte-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 8px 0 0;
}

/* ===== PAGES LÉGALES ===== */
.legal-section { background: var(--cream); }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--wine);
  font-weight: 700;
  margin: 36px 0 10px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.legal-content a { color: var(--gold); }
.legal-content ul { color: var(--muted); font-size: 0.95rem; margin: 0 0 10px 1.1rem; }
.legal-content li { margin-bottom: 4px; }
.legal-todo {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.85rem;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin-bottom: 22px;
  font-weight: 700;
  color: var(--wine);
}

.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.info-block:last-of-type { border-bottom: none; }
.info-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.info-block strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}
.info-block p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.info-block a { color: var(--wine); text-decoration: none; }
.info-block a:hover { color: var(--gold); }

.contact-hours-list .hours-row { padding: 6px 0; }
.contact-hours-list .hours-day { width: 110px; font-size: 0.76rem; }
.contact-hours-list .hours-time { font-size: 0.8rem; }

.contact-form-wrap {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

form { display: flex; flex-direction: column; gap: 12px; }

form input, form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--wine);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

form input:focus, form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(53, 80, 63, 0.12);
  background: var(--white);
}

form textarea { min-height: 130px; resize: vertical; }
form button[type="submit"] { justify-content: center; }

.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

.map-wrap {
  margin-top: 26px;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--radius);
}
.map-wrap iframe { display: block; }

/* Carte d'accès statique (pas d'iframe Google = pas de cookie tiers) */
.map-static {
  display: block;
  position: relative;
  margin-top: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #e7ddc6 0%, #d9cdb0 100%);
  text-decoration: none;
  color: var(--wine);
}
.map-static img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-static-overlay {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(38, 58, 46, 0.22);
  white-space: nowrap;
}
.map-static:hover .map-static-overlay { background: var(--gold); color: var(--white); }
.map-static.has-img .map-static-pin { display: none; }
.map-static-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 2.4rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* ===== FOOTER ===== */
footer { background: var(--wine-dark); color: rgba(255, 255, 255, 0.75); }

.footer-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  font-size: 0.85rem;
}

.footer-col + .footer-col { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.footer-col svg { width: 20px; height: 20px; fill: rgba(255, 255, 255, 0.45); flex-shrink: 0; }
.footer-col a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-col a:hover { color: var(--white); }

.footer-credit {
  text-align: center;
  padding: 14px 0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PHONE FLOAT ===== */
.phone-float {
  position: fixed;
  bottom: 22px; right: 22px;
  background: var(--wine);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(38, 58, 46, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 200;
}
.phone-float:hover { transform: translateY(-2px) scale(1.03); }
.phone-float svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar { flex-direction: column; }
  .footer-col + .footer-col { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

@media (max-width: 768px) {
  :root { --section-gap: 54px; }
  #menu-toggle { display: block; }
  nav { display: none; flex-direction: column; gap: 4px; }
  nav.active {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  nav a { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--wine); }
  nav a:last-child { border-bottom: none; }
  header .container { position: relative; flex-wrap: wrap; }
  .hero .container { padding-top: 40px; padding-bottom: 40px; }
  .phone-float span { display: none; }
  .phone-float { padding: 14px; }
}
