/* Sperenza, aperçu de l'accueil. Univers du Domaine de Murtoli (choix de Tommy, 28/10) :
   police à empattements, logo centré, menu de part et d'autre. SANS le violet (Tommy, 28/10) :
   blanc et crème, boutons noirs comme son logo, accents champagne. */

:root {
  --accent: #7a6444;
  --bouton: #1b1b1b;
  --bouton-survol: #3a352e;
  --sable: #b19777;
  --encre: #1c1a17;
  --texte: #4d4d4d;
  --creme: #f6f1ea;
  --blanc: #ffffff;
  --titre: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --corps: "EB Garamond", "Garamond", "Times New Roman", serif;
  --entete: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font-family: var(--corps); font-size: 1.15rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--titre); font-weight: 500; color: var(--encre); line-height: 1.12; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 1.1rem; }

.sur-titre { font-family: var(--titre); font-weight: 600; font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.sur-titre--clair { color: #fff; }
.insecable { white-space: nowrap; }

/* Boutons */
.bouton { display: inline-block; font-family: var(--titre); font-weight: 600; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.9rem; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; text-align: center; }
.bouton--petit { padding: .65rem 1.3rem; font-size: .8rem; }
.bouton--plein { background: var(--bouton); color: #fff; }
.bouton--plein:hover { background: var(--bouton-survol); }
.bouton--blanc { background: #fff; color: var(--encre); }
.bouton--blanc:hover { background: var(--creme); }
.bouton--contour { border-color: var(--bouton); color: var(--bouton); }
.bouton--contour:hover { background: var(--bouton); color: #fff; }
.bouton--contour-clair { border-color: rgba(255,255,255,.85); color: #fff; }
.bouton--contour-clair:hover { background: rgba(255,255,255,.15); }

/* En-tête : posé sur la photo, puis blanc au défilement */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--entete); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 3.2vw; color: #fff; transition: background .35s, color .35s, height .35s, box-shadow .35s; }
.entete::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,16,13,.55), rgba(18,16,13,0)); z-index: -1; transition: opacity .35s; }
.entete--plein { background: rgba(255,255,255,.97); color: var(--encre); height: 84px; box-shadow: 0 1px 0 rgba(122,100,68,.22); }
.entete--plein::before { opacity: 0; }
.entete__nav { display: flex; align-items: center; gap: 2.4vw; font-family: var(--titre); font-weight: 600; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; }
.entete__nav a { text-decoration: none; white-space: nowrap; }
.entete__nav a:not(.bouton):hover { color: var(--accent); }
.entete--plein .entete__nav a:not(.bouton):hover { color: var(--accent); }
.entete__nav--droite { justify-content: flex-end; }
.marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.marque__rose { width: 62px; height: auto; transition: width .35s; }
.marque__rose--noire { display: none; }
.entete:not(.entete--plein) .marque__rose--blanche { filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }
.entete:not(.entete--plein) .marque__texte { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.entete--plein .marque__rose--blanche { display: none; }
.entete--plein .marque__rose--noire { display: block; }
.marque__texte { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.marque__nom { font-family: "Pinyon Script", cursive; font-size: 3.1rem; line-height: .95; transition: font-size .35s; }
.marque__sous { font-family: var(--titre); font-weight: 600; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; margin-top: .62rem; white-space: nowrap; }
.entete--plein .marque__rose { width: 48px; }
.entete--plein .marque__nom { font-size: 2.5rem; }
.entete__burger, .entete__tel { display: none; }

/* Menu du téléphone */
.menu-mobile { position: fixed; inset: 0; z-index: 40; background: var(--creme); display: flex; align-items: center; justify-content: center; }
.menu-mobile[hidden] { display: none; }
.menu-mobile nav { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.menu-mobile a:not(.bouton) { font-family: var(--titre); font-size: 2rem; color: var(--encre); text-decoration: none; }
.menu-mobile .bouton { margin-top: 1rem; }

/* Ouverture : trois photos côte à côte, nettes même en captures */
.ouverture { position: relative; height: 100vh; min-height: 600px; max-height: 960px; overflow: hidden; background: var(--encre); }
.ouverture__photos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ouverture__photo { width: 100%; height: 100%; object-fit: cover; }
.ouverture__voile { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18,16,13,.6) 0%, rgba(18,16,13,.44) 45%, rgba(18,16,13,.24) 100%); }
.ouverture__texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: calc(var(--entete) + 1rem) 6vw 3rem; }
.ouverture h1 { color: #fff; font-size: clamp(1.9rem, 3.1vw, 2.75rem); max-width: 22ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.ouverture__liste { font-family: var(--titre); font-size: clamp(.98rem, 1.3vw, 1.12rem); letter-spacing: .08em; margin: 1rem 0 1.9rem; max-width: 46rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ouverture__boutons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* La maison */
.maison { text-align: center; padding: 7rem 8vw 6rem; max-width: 980px; margin: 0 auto; }
.maison__texte { font-size: 1.32rem; line-height: 1.75; margin: 0 auto 2rem; max-width: 46rem; }
.ornement { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 2rem; }
.ornement span { width: 64px; height: 1px; background: var(--sable); }
.ornement i { width: 7px; height: 7px; background: var(--sable); transform: rotate(45deg); }
.note-google { font-family: var(--titre); font-size: 1.1rem; letter-spacing: .06em; margin: 0; color: var(--encre); }
.etoiles { color: var(--accent); letter-spacing: .12em; }

/* Blocs photo et texte en alternance, comme sur Murtoli */
.duo { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 6vw; padding: 6rem 7vw; }
.duo--inverse .duo__images { order: 2; }
.duo--creme { background: var(--creme); }
.duo__images { position: relative; }
.duo__image--grande { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo__image--petite { position: absolute; right: 0; bottom: -2.5rem; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; }
.duo__image--seule { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.duo__figure { margin: 0; }
.duo__figure figcaption { font-size: .85rem; font-style: italic; margin-top: .6rem; color: #6a6a6a; }
.duo__texte { max-width: 34rem; }
.duo__texte p { margin: 0 0 1.2rem; }
.duo__fort { font-family: var(--titre); font-size: 1.35rem; color: var(--encre); }
.duo__texte .bouton { margin-top: .8rem; }
.citation { margin: 1.6rem 0 1.8rem; padding-left: 1.4rem; border-left: 1px solid var(--sable); font-style: italic; font-size: 1.2rem; color: var(--encre); }
.citation cite { display: block; margin-top: .6rem; font-style: normal; font-family: var(--titre); font-weight: 600; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }

/* Événements */
.evenements { text-align: center; padding: 7rem 6vw 6rem; }
.evenements__texte { font-size: 1.25rem; max-width: 44rem; margin: 0 auto 3rem; }
.evenements__images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 900px; margin: 0 auto; }
.evenements__images img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.evenements__lieux { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.6rem; margin: 3rem 0 0; font-family: var(--titre); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.evenements__lieux span + span::before { content: "·"; margin-right: 2.6rem; color: var(--sable); }

/* Avis Google : cartes, texte coupé avec « Lire la suite » */
.avis { background: var(--creme); text-align: center; padding: 6.5rem 6vw 6rem; }
.avis__note { font-family: var(--titre); font-size: 1.15rem; letter-spacing: .06em; color: var(--encre); margin: 0 0 2.6rem; }
/* Tous les avis dans un carrousel qui défile tout seul, trois visibles à la fois, comme sur webyland.fr
   (le script clone les cartes). Un clic ou un toucher l'arrête et ouvre les textes, il repart tout seul
   8 secondes après (Tommy, 28/10). */
.defile { overflow-x: auto; margin: 0 -6vw 2.6rem; padding: 6px 0 18px; cursor: pointer; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.defile__piste { display: flex; align-items: stretch; gap: 1.4rem; width: max-content; margin: 0; padding: 0 6vw; list-style: none; }
.defile--anime { overflow: hidden; }
.defile--anime .defile__piste { padding: 0; animation: defile 48s linear infinite; }
.defile--anime.defile--pause .defile__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(calc(-25% - .35rem)); } }
.defile .carte-avis { flex: none; width: 410px; text-align: left; }
.defile--pause .carte-avis__texte--coupe { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 640px) { .defile .carte-avis { width: 300px; } }
.carte-avis { background: #fff; border: 1px solid rgba(122,100,68,.2); padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.carte-avis__photo { margin: auto 0 0; padding-top: 1.4rem; }
.carte-avis__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.carte-avis__auteur { display: flex; align-items: center; gap: .9rem; }
.carte-avis__auteur p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.carte-avis__auteur strong { font-family: var(--titre); font-size: 1.2rem; font-weight: 600; color: var(--encre); }
.carte-avis__auteur p span { font-size: .9rem; color: #6a6a6a; }
.pastille { width: 42px; height: 42px; border-radius: 50%; background: var(--encre); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-size: 1.2rem; flex-shrink: 0; }
.carte-avis .etoiles { margin: .9rem 0 .5rem; }
.carte-avis__texte { margin: 0; color: var(--encre); font-size: 1.08rem; line-height: 1.65; min-height: calc(1.65em * 5); }
.carte-avis__texte--coupe { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.carte-avis__suite { align-self: flex-start; margin-top: .7rem; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--titre); font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }

/* Instagram */
.instagram { background: #fff; padding: 4rem 6vw; border-bottom: 1px solid rgba(122,100,68,.2); }
.instagram__lien { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: var(--encre); }
.instagram__lien svg { width: 34px; height: 34px; fill: var(--accent); }
.instagram__nom { font-family: var(--titre); font-size: 1.7rem; }
.instagram__chiffres { font-size: 1rem; color: var(--texte); margin-bottom: .8rem; }

/* Nous trouver */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5vw; padding: 6rem 7vw; align-items: stretch; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .9rem 2rem; margin: 1.6rem 0 2rem; }
.contact dt { font-family: var(--titre); font-weight: 600; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); padding-top: .3rem; }
.contact dd { margin: 0; color: var(--encre); }
.contact dd a { text-decoration: none; }
.contact__boutons { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact__carte { background: var(--creme); min-height: 380px; }
.contact__carte iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35); }

/* Pied de page */
.pied { background: var(--encre); color: #e4ddd2; text-align: center; padding: 4rem 6vw 3rem; font-size: 1rem; }
.pied a { color: #fff; text-decoration: none; }
.pied p { margin: .4rem 0; }
.pied__marque { color: #fff; margin: 0 auto 1.4rem; }
.pied__marque .marque__rose { width: 74px; }
.pied__marque .marque__nom { font-size: 3.4rem; }
.pied__devise { font-family: var(--titre); font-style: italic; font-size: 1.4rem; color: #fff; margin-bottom: 1rem !important; }
.pied__petit { margin-top: 1.6rem !important; font-size: .85rem; color: #a39a8c; }

/* Bouton d'appel flottant (téléphone) */
.appel-flottant { display: none; }

/* Tablette et téléphone */
@media (max-width: 1080px) {
  :root { --entete: 84px; }
  .entete { grid-template-columns: 1fr auto 1fr; padding: 0 1.2rem; height: var(--entete); }
  .entete--plein { height: 70px; }
  .entete__nav { display: none; }
  .entete__burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; justify-self: start; }
  .entete__burger span { display: block; height: 1.5px; background: currentColor; }
  .entete__tel { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; justify-self: end; }
  .entete__tel svg { width: 22px; height: 22px; fill: currentColor; }
  .marque__rose { width: 42px; }
  .marque__nom { font-size: 2.2rem; }
  .marque__sous { font-size: .5rem; letter-spacing: .2em; }
  .entete--plein .marque__rose { width: 36px; }
  .entete--plein .marque__nom { font-size: 1.95rem; }
  .duo, .contact { grid-template-columns: 1fr; gap: 3.5rem; padding: 4.5rem 7vw; }
  .duo--inverse .duo__images { order: 0; }
  .duo__texte { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 1.08rem; }
  .avis { padding: 4.5rem 6vw 4rem; }
  .avis__cartes { grid-template-columns: 1fr; }
  .sur-titre { letter-spacing: .2em; }
  .ouverture { height: 92vh; min-height: 560px; }
  .ouverture__photos { grid-template-columns: 1fr 1fr; }
  .ouverture__photo--cote:last-child { display: none; }
  .ouverture__boutons { flex-direction: column; width: 100%; max-width: 20rem; }
  .maison { padding: 4.5rem 7vw 4rem; }
  .maison__texte { font-size: 1.18rem; }
  .duo__image--grande { width: 82%; }
  .evenements { padding: 4.5rem 6vw 4rem; }
  .evenements__images { gap: .8rem; }
  .evenements__lieux { flex-direction: column; gap: .5rem; font-size: 1rem; }
  .evenements__lieux span + span::before { content: none; }
  .contact dl { grid-template-columns: 1fr; gap: .2rem; }
  .contact dd { margin-bottom: .9rem; }
  .appel-flottant { display: flex; align-items: center; gap: .5rem; position: fixed; right: 1rem; bottom: 1rem; z-index: 45; background: var(--bouton); color: #fff; text-decoration: none; font-family: var(--titre); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; font-size: .85rem; padding: .85rem 1.2rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .appel-flottant svg { width: 18px; height: 18px; fill: #fff; }
  .appel-flottant--visible { opacity: 1; pointer-events: auto; }
}

/* Le logo en grand au centre de l'ouverture (Tommy, 28/10) ; celui de l'en-tête n'apparaît qu'au défilement */
.marque--ouverture { color: #fff; gap: 1.1rem; margin-bottom: 1.9rem; text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.marque--ouverture .marque__rose { width: 96px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); }
.marque--ouverture .marque__nom { font-size: clamp(4.4rem, 8.4vw, 7.6rem); line-height: .9; }
.marque--ouverture .marque__sous { font-size: .92rem; letter-spacing: .36em; margin-top: 1.2rem; }
.entete__logo { transition: opacity .35s, visibility .35s; }
.entete:not(.entete--plein) .entete__logo { opacity: 0; visibility: hidden; }
@media (max-width: 640px) {
  .marque--ouverture { gap: .7rem; margin-bottom: 1.4rem; }
  .marque--ouverture .marque__rose { width: 62px; }
  .marque--ouverture .marque__nom { font-size: 3.7rem; }
  .marque--ouverture .marque__sous { font-size: .6rem; letter-spacing: .24em; margin-top: .8rem; }
  .ouverture h1 { font-size: 1.75rem; }
}
