/*
Theme Name: Iguana Bay
Theme URI: https://www.iguanabay.fr
Author: Villas Iguana Bay
Description: Refonte 2026 du site Villas Iguana Bay. Mêmes pages, mêmes sections, mêmes textes.
Version: 2026.9
Text Domain: iguana-bay
Requires at least: 6.4
*/

:root {
  --ivoire: #fffefc;
  --lagon: #2a7c6f;
  --lagon-2: #2c8d7e;
  --foret: #1c534a;
  --encre: #0e2925;
  --turquoise: #49baa7;
  --ecume: #a4dcd2;
  --menthe: #dbf0ec;
  --menthe-2: #d2ede7;
  --brume: #eefaf7;
  --ligne: rgba(28, 83, 74, 0.16);
  --texte: #1c2b28;
  --display: "Outfit", "Gill Sans", "Trebuchet MS", sans-serif;
  --corps: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--menthe);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
img, video { max-width: 100%; display: block; }
input, select, textarea { border-radius: 0; }
a { color: var(--lagon); }
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.12;
  color: var(--foret);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 1.4rem; }
h3 { font-size: 1.65rem; margin: 0 0 0.6rem; }
.wrap { width: min(1180px, calc(100% - 5rem)); margin-inline: auto; }
.section { padding: 4.25rem 0; }
.lede { font-size: 1.05rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid rgba(28, 83, 74, 0.1);
}
.header-inner {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 86px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foret);
}
.brand img { width: auto; height: 64px; object-fit: contain; }
.brand strong, .brand em {
  display: block;
  font-style: normal;
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  text-transform: uppercase;
}
.brand em { letter-spacing: 0.32em; color: var(--lagon); margin-top: 0.25rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--foret);
  background: transparent;
  color: var(--foret);
  padding: 0.7rem 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-family: var(--display);
  font-weight: 400;
}
.primary-nav { margin: 0; justify-self: center; }
.search-toggle {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #5d726e;
  font-family: var(--corps);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  padding: 0.4rem 0;
}
.search-form {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% - 0.2rem);
  background: #fffefc;
  border: 1px solid var(--ligne);
  padding: 0.55rem 0.7rem;
}
.site-header.is-search .search-form { display: flex; }
.primary-nav ul, .footer-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.primary-nav a, .footer-nav a {
  text-decoration: none;
  color: #243f3b;
  font-family: var(--corps);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.35rem 0.15rem 0.28rem;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.footer-nav a:hover {
  background: transparent;
  border-bottom-color: #2c8d7e;
}
.menu-item-has-children { position: relative; }
.menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  min-width: 220px;
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  padding: 0.85rem 1.1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  box-shadow: none;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { display: flex; }
.search-form input {
  width: 8.5rem;
  border: 0;
  border-bottom: 1px solid var(--ligne);
  padding: 0.45rem 0;
  font: inherit;
  font-size: 0.85rem;
  background: transparent;
  color: var(--texte);
}
.search-form input:focus { outline: none; border-bottom-color: var(--lagon); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: white;
  overflow: hidden;
  background: var(--encre);
}
.hero video, .hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 41, 37, 0.18), rgba(14, 41, 37, 0.42));
}
.hero-copy {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  max-width: 52rem;
}
.hero-copy p, .hero-copy h1 { color: white; margin: 0; }
.eyebrow {
  letter-spacing: 0.46em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 300;
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  margin: 0.85rem 0 0.55rem;
  color: white;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.hero .place {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2.2rem;
  font-family: var(--display);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 1.85rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}
.btn-light { color: white; border-color: white; }
.btn-light:hover { background: white; color: var(--encre); }
.hero .btn-light {
  background: #287868;
  border-color: #287868;
  color: #fff;
  padding: 0.5rem 0.95rem;
  font-family: var(--corps);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.hero .btn-light:hover { background: var(--foret); border-color: var(--foret); color: #fff; }
.btn-solid { background: var(--foret); color: white; border-color: var(--foret); }
.btn-solid:hover { background: var(--encre); border-color: var(--encre); }
.btn-line { border-color: var(--foret); color: var(--foret); background: transparent; }
.btn-line:hover { background: var(--foret); color: white; }
.btn-compact {
  padding: 0.48rem 0.85rem;
  font-family: var(--corps);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
  background: #287868;
  border-color: #287868;
  color: white;
}
.btn-compact:hover { background: var(--foret); border-color: var(--foret); color: white; }

.welcome {
  display: grid;
  grid-template-columns: 47fr 53fr;
  min-height: 640px;
  background: var(--menthe);
}
.welcome-copy {
  background: var(--ivoire);
  padding: 4.5rem 4.2rem 4.5rem 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.welcome-copy h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: 0;
  color: #243f3b;
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 1.1rem;
}
.welcome-copy .prose { max-width: 38rem; font-size: 0.98rem; line-height: 1.65; color: #243f3b; }
.welcome-copy .prose p { margin-bottom: 0.8rem; }
.welcome-photo {
  display: grid;
  place-items: center;
  background: var(--menthe);
  padding: 3.2rem 2rem;
}
.portrait-oval {
  width: min(460px, 70%);
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 50% !important;
}
.villas-home {
  background: var(--menthe);
  padding: 5.2rem 1.5rem 5.8rem;
  text-align: center;
}
.villas-home h2 {
  color: #2c8d7e;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 0 0 2.6rem;
}
.villas-home .cards {
  width: min(820px, 100%);
  margin: 0 auto;
  gap: 3.5rem;
  justify-items: center;
}
.villas-home .card { text-align: center; max-width: 280px; }
.portrait-round {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50% !important;
  margin: 0 auto;
}
.villas-home .card-body { padding: 1.15rem 0 0; }
.villas-home .card-body h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0.15rem 0 0.2rem;
  color: #243f3b;
}
.villas-home .card-body p { margin: 0.15rem 0 0.85rem; font-size: 0.95rem; }
.villas-home .kicker { letter-spacing: 0.04em; text-transform: none; font-family: var(--corps); font-size: 0.92rem; color: #243f3b; }
.histoire {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 0;
  min-height: 620px;
}
.histoire-title {
  background: var(--ecume);
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  text-align: center;
}
.histoire-title h2 {
  color: white;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.01em;
  font-weight: 300;
  margin: 0;
  line-height: 1.15;
}
.histoire-copy {
  background: var(--menthe-2);
  display: flex;
  align-items: center;
  padding: 3.2rem 4.5rem 3.2rem 3.5rem;
}
.histoire-copy .prose { max-width: 38rem; font-size: 0.98rem; line-height: 1.7; color: #1a1a1a; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5.5rem;
  align-items: center;
}
.split img, .frame img, .card img { width: 100%; object-fit: cover; }
.split img { min-height: 460px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.card {
  background: transparent;
  border: 0;
  overflow: visible;
}
.card img { aspect-ratio: 4/3; }
.villas-home .card img.portrait-round {
  width: 250px;
  height: 250px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}
.card-body { padding: 1.8rem 0 0; }
.card-body p { margin: 0.35rem 0 1.1rem; }
.kicker {
  color: var(--lagon);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-family: var(--display);
}
.narrow { width: min(720px, 100%); margin-inline: auto; }
.center { text-align: center; }
.prose { font-size: 1.05rem; }
.prose p { margin: 0 0 1.35rem; }

.contact-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--brume);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.contact-band iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.contact-copy { padding: 4.5rem 4rem; }
.contact-list { display: grid; gap: 1.8rem; margin-top: 2rem; }
.contact-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--lagon-2);
  border: 1px solid var(--lagon-2);
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
}
.contact-home {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  width: 100%;
  margin: 0;
  background: var(--ivoire);
  min-height: 520px;
}
.contact-home iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}
.contact-home .contact-copy {
  padding: 3.5rem 3.4rem 3.5rem 3rem;
  background: var(--ivoire);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-home h2 {
  color: #2c8d7e;
  font-weight: 300;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin: 0 0 1.5rem;
}
.contact-home .contact-list { margin-top: 0.4rem; gap: 1.5rem; }
.contact-home .contact-list strong {
  display: block;
  color: #2c8d7e;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.contact-home .contact-list p { margin: 0; line-height: 1.55; font-size: 1rem; }
.contact-home .contact-list a { color: inherit; text-decoration: none; }
.contact-home .contact-list a:hover { color: var(--lagon-2); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.plan {
  max-width: 460px;
  margin: 2.5rem auto 0;
  background: white;
  padding: 0;
  border: 1px solid var(--ligne);
}

details.more {
  margin-top: 1.6rem;
  border-top: 1px solid var(--ligne);
  padding-top: 1rem;
}
details.more summary {
  cursor: pointer;
  color: var(--foret);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--display);
}

.faq-list { display: grid; gap: 0; margin-top: 2.5rem; }
.faq-list article {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ligne);
  padding: 2rem 0;
}
.faq-list article:last-child { border-bottom: 1px solid var(--ligne); }
.faq-list h2 { font-size: 1.55rem; margin: 0 0 0.6rem; }

.spots { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; margin-top: 2.5rem; }
.spot {
  background: transparent;
  padding: 0 0 0.5rem;
  border: 0;
  border-top: 1px solid var(--ligne);
  padding-top: 1.4rem;
}
.spot h3 { margin: 0 0 0.55rem; font-size: 1.55rem; }
.coast {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  max-height: 62vh;
  object-fit: cover;
}

.price-poster { width: min(640px, 100%); margin: 0 auto 3rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; }
.duo img { aspect-ratio: 16/10; object-fit: cover; }

.videos { display: grid; gap: 3rem; }
.videos video { width: 100%; background: black; }

.legal { font-size: 1rem; max-width: 42rem; }

.reserve {
  margin-top: 5rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ligne);
  padding: 3.5rem 0 0;
}
.reserve form, .form-grid { display: grid; gap: 1.35rem; }
.form-grid { grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--display);
  color: var(--foret);
}
input, select, textarea {
  font-family: var(--corps);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  border-bottom: 1px solid var(--ligne);
  padding: 0.75rem 0;
  background: transparent;
  color: var(--texte);
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--lagon); }
.span-2 { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 0; background: transparent; border-bottom: 1px solid var(--ligne); }
.notice.ok { color: var(--foret); }
.notice.err { color: #8a3a32; }
.estimate { font-size: 0.95rem; color: var(--foret); min-height: 1.5rem; }

.site-footer {
  background: #fffefc;
  color: #243f3b;
  padding: 2.8rem 0 1.2rem;
  margin-top: 0;
  border-top: 1px solid #e4f1ed;
}
.site-footer a { color: #243f3b; }
.footer-brandline {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}
.footer-logo img { height: 78px; width: auto; }
.footer-meta p { margin: 0 0 0.45rem; font-size: 0.95rem; line-height: 1.55; }
.site-footer .footer-nav { width: min(1180px, calc(100% - 3rem)); margin: 1.4rem auto 0; }
.site-footer .footer-nav ul {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
}
.site-footer .footer-nav a {
  color: #1c2b28;
  border-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.98rem;
}
.site-footer .footer-nav a:hover { border: 0; color: var(--foret); }
.site-footer .menu-item-has-children .sub-menu {
  display: flex;
  position: static;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  flex-direction: row;
  gap: 1rem;
}
.site-footer .copy {
  border-top: 1px solid #e4f1ed;
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--corps);
  color: #5d726e;
}
dialog#lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 92vw);
}
dialog#lightbox img { width: 100%; }
dialog#lightbox::backdrop { background: rgba(14, 41, 37, 0.88); }

@media (max-width: 860px) {
  .wrap { width: min(1180px, calc(100% - 2.4rem)); }
  .section { padding: 4.75rem 0; }
  .brand { order: 1; }
  .brand img { height: 52px; }
  .nav-toggle {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
    letter-spacing: 0;
    text-transform: none;
    color: transparent;
  }
  .nav-toggle::before {
    content: "";
    width: 22px;
    height: 2px;
    background: #1c2b28;
    box-shadow: 0 -7px 0 #1c2b28, 0 7px 0 #1c2b28;
  }
  .search-toggle { order: 3; margin-left: 0.2rem; }
  .primary-nav { order: 4; }
  .search-form { order: 5; position: static; border: 0; padding: 0 0 0.7rem; background: transparent; }
  .primary-nav, .search-form { display: none; }
  .site-header.is-open .primary-nav { display: block; width: 100%; }
  .site-header.is-search .search-form { display: flex; width: 100%; }
  .header-inner { display: flex; flex-wrap: wrap; align-items: center; min-height: 74px; width: min(1280px, calc(100% - 1.4rem)); gap: 0.35rem 0.5rem; }
  .contact-home { grid-template-columns: 1fr; }
  .contact-home iframe { min-height: 280px; }
  .footer-brandline { flex-direction: column; }
  .site-footer .footer-nav ul, .site-footer .menu-item-has-children .sub-menu { flex-direction: column; align-items: flex-start; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; padding: 0.4rem 0 1.2rem; gap: 0.85rem; }
  .menu-item-has-children .sub-menu {
    position: static;
    display: flex;
    border: 0;
    padding: 0.4rem 0 0.2rem 0.2rem;
    background: transparent;
  }
  .split, .cards, .contact-band, .contact-home, .gallery, .spots, .duo, .form-grid, .footer-grid,
  .welcome, .histoire { grid-template-columns: 1fr; }
  .welcome-copy { padding: 2.6rem 1.4rem; }
  .welcome-photo { padding: 2.2rem 1rem 2.6rem; }
  .portrait-oval { width: min(240px, 68%); }
  .villas-home .card img.portrait-round { width: 180px; height: 180px; }
  .villas-home { padding: 2.8rem 1rem 3.2rem; }
  .histoire-title { min-height: 220px; }
  .histoire-copy { padding: 2.2rem 1.4rem 2.8rem; }
  .histoire { min-height: 0; }
  .footer-brandline { flex-direction: column; gap: 1rem; }
  .site-footer .footer-nav ul,
  .site-footer .menu-item-has-children .sub-menu { justify-content: flex-start; }
  .split { gap: 2.2rem; }
  .split img { min-height: 0; }
  .cards, .spots { gap: 2.5rem; }
  .hero { min-height: 86vh; }
  .contact-copy, .contact-home .contact-copy { padding: 2.4rem 1.4rem 2.8rem; }
  .contact-band iframe, .contact-home iframe { min-height: 280px; height: 280px; }
  .search-form input { width: 100%; }
  .site-footer { padding: 3.5rem 0 1.6rem; }
}

/* =====================================================================
   2026.9 — Remise en forme accueil / en-tête / pied de page
   Grille commune : conteneur 1200px, gouttière 2.5rem (1.25rem mobile)
   ===================================================================== */
:root {
  --container: 1200px;
  --gutter: 2.5rem;
  --radius: 6px;
  --shadow-soft: 0 18px 40px -22px rgba(14, 41, 37, 0.35);
}
.wrap, .header-inner { width: min(var(--container), calc(100% - 2 * var(--gutter))); }

/* ---------- En-tête ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner { min-height: 80px; gap: 2rem; }
.brand img { height: 56px; }
.primary-nav ul { gap: 0 1.9rem; }
.primary-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #243f3b;
  padding: 0.4rem 0;
  border-bottom-width: 2px;
  transition: color .2s, border-color .2s;
}
.primary-nav a:hover { color: var(--lagon); }
.search-toggle {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  padding: 0; color: #243f3b; border-radius: 50%;
  transition: background .2s;
}
.search-toggle:hover { background: var(--menthe); }
.search-form { border-radius: var(--radius); box-shadow: var(--shadow-soft); top: 100%; }
.search-form input { width: 14rem; }

/* ---------- Boutons ---------- */
.btn, .btn-compact, .hero .btn-light {
  border-radius: 4px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-compact, .hero .btn-light {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.home .hero { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); }
.home .hero .veil { background: linear-gradient(180deg, rgba(14,41,37,.10) 0%, rgba(14,41,37,.28) 55%, rgba(14,41,37,.50) 100%); }
.home .hero-copy { padding: 2rem 1.5rem; }
.home .hero h1 { letter-spacing: 0.04em; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.home .hero .place { font-size: 0.95rem; letter-spacing: 0.28em; margin: 0.4rem 0 2rem; }

/* ---------- Bienvenue ---------- */
.home .welcome {
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  background: linear-gradient(90deg, var(--ivoire) 50%, var(--menthe) 50%);
}
.home .welcome-copy {
  background: transparent;
  padding: 6rem 4rem 6rem max(var(--gutter), calc((100vw - var(--container)) / 2));
  align-items: flex-start;
}
.home .welcome-copy h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.4rem;
}
.home .welcome-copy .prose { max-width: 34rem; font-size: 1rem; line-height: 1.75; }
.home .welcome-copy .prose p { margin: 0 0 1.8rem; }
.home .welcome-copy .btn { align-self: flex-start; }
.home .welcome-photo {
  background: transparent;
  padding: 5rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 5rem 3rem;
}
.home .portrait-oval {
  width: min(340px, 80%);
  aspect-ratio: 0.8;
  border: 8px solid #fff;
  box-shadow: var(--shadow-soft);
}

/* ---------- Nos villas ---------- */
.home .villas-home { padding: 6rem var(--gutter); }
.home .villas-home h2 { margin-bottom: 3.5rem; letter-spacing: 0.2em; }
.home .villas-home .cards {
  width: min(760px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}
.home .villas-home .card { max-width: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
.home .villas-home .card img.portrait-round {
  width: 220px; height: 220px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease;
}
.home .villas-home .card:hover img.portrait-round { transform: scale(1.03); }
.home .villas-home .card-body { padding-top: 1.6rem; display: flex; flex-direction: column; align-items: center; }
.home .villas-home .kicker { margin: 0 0 0.35rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lagon); }
.home .villas-home .card-body h3 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.home .villas-home .card-body p:not(.kicker) { margin: 0 0 1.4rem; color: #4d625e; }

/* ---------- Notre histoire ---------- */
.home .histoire { grid-template-columns: 5fr 7fr; min-height: 480px; }
.home .histoire-title h2 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
.home .histoire-copy {
  justify-content: flex-start;
  padding: 5rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 5rem 5rem;
}
.home .histoire-copy .prose { max-width: 36rem; font-size: 1.05rem; line-height: 1.85; color: #243f3b; }
.home .histoire-copy .prose p:last-child { margin-bottom: 0; }

/* ---------- Nous contacter ---------- */
.home .contact-home {
  display: block;
  min-height: 0;
  padding: 6rem var(--gutter);
  background: var(--ivoire);
}
.home .contact-inner { width: min(960px, 100%); margin: 0 auto; text-align: center; }
.home .contact-home h2 { margin: 0 0 3rem; font-size: clamp(2rem, 3.2vw, 2.6rem); }
.home .contact-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.home .contact-col {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.home .contact-col h3 {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lagon-2);
  margin: 0 0 0.8rem;
}
.home .contact-col p { margin: 0; line-height: 1.7; }
.home .contact-col a { color: inherit; text-decoration: none; }
.home .contact-col a:hover { color: var(--lagon); }
.home .contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--menthe);
}
.home .contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 3.5rem 0 1.5rem; }
.site-footer .footer-brandline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: start;
}
.footer-logo img { height: 72px; }
.footer-meta p { font-size: 0.92rem; color: #4d625e; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--lagon); text-decoration: underline; }
.site-footer .footer-nav { width: auto; margin: 0; }
.site-footer .footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.35rem 2.5rem;
  justify-content: end;
}
.site-footer .footer-nav .menu-item-has-children,
.site-footer .footer-nav .sub-menu { display: contents; }
.site-footer .footer-nav a { font-size: 0.92rem; padding: 0.15rem 0; }
.site-footer .copy { margin-top: 2.5rem; padding-top: 1.2rem; font-size: 0.82rem; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --gutter: 1.25rem; }
  .header-inner { width: calc(100% - 2 * var(--gutter)); min-height: 68px; }
  .brand img { height: 46px; }
  .search-toggle { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
  .site-header.is-open .primary-nav ul { padding: 0.5rem 0 1.4rem; }
  .home .hero { min-height: 78svh; }
  .home .hero .place { font-size: 0.8rem; letter-spacing: 0.2em; }
  .home .welcome { grid-template-columns: 1fr; background: var(--ivoire); }
  .home .welcome-copy { padding: 3.5rem var(--gutter) 2.5rem; }
  .home .welcome-photo { background: var(--menthe); padding: 3rem var(--gutter); }
  .home .portrait-oval { width: min(260px, 75%); }
  .home .villas-home { padding: 4rem var(--gutter); }
  .home .villas-home h2 { margin-bottom: 2.5rem; }
  .home .villas-home .cards { grid-template-columns: 1fr; gap: 3.5rem; }
  .home .villas-home .card img.portrait-round { width: 200px; height: 200px; }
  .home .histoire { grid-template-columns: 1fr; min-height: 0; }
  .home .histoire-title { min-height: 200px; }
  .home .histoire-copy { padding: 3rem var(--gutter); }
  .home .contact-home { padding: 4rem var(--gutter); }
  .home .contact-home h2 { margin-bottom: 2rem; }
  .home .contact-cols { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .home .contact-map iframe { height: 280px; }
  .site-footer .footer-brandline { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer .footer-nav ul { justify-content: start; grid-template-columns: repeat(2, auto); gap: 0.4rem 2.5rem; }
}
.site-footer .footer-nav ul { grid-template-rows: repeat(4, auto); grid-auto-flow: column; }

/* Carte pleine largeur collée au footer + histoire 50/50 */
.home .contact-home { padding: 6rem 0 0; }
.home .contact-inner { padding: 0 var(--gutter); box-sizing: content-box; }
.home .contact-cols { margin-bottom: 4rem; }
.home .contact-map { border-radius: 0; box-shadow: none; width: 100%; }
.home .contact-map iframe { height: 460px; }
.home .contact-home + * , .home .site-footer { border-top: 0; }
.home .histoire { grid-template-columns: 1fr 1fr; }
.home .histoire-copy { padding: 5rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 5rem 4.5rem; }
@media (max-width: 860px) {
  .home .contact-home { padding: 4rem 0 0; }
  .home .contact-cols { margin-bottom: 2.5rem; }
  .home .contact-map iframe { height: 320px; }
  .home .histoire { grid-template-columns: 1fr; }
  .home .histoire-copy { padding: 3rem var(--gutter); }
}

/* ---------- Nos villas : split 50/50 plein écran, sliders + overlay ---------- */
.home .villas-home { padding: 5.5rem 0 0; background: var(--menthe); }
.home .villas-home h2 { margin: 0 0 3rem; }
.villa-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.villa-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 820px);
  color: #fff;
  isolation: isolate;
  text-align: left;
}
.villa-slides, .villa-slide, .villa-overlay { position: absolute; inset: 0; }
.villa-slide {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 6s ease;
}
.villa-slide.is-active { opacity: 1; transform: scale(1); }
.villa-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(14,41,37,0) 35%, rgba(14,41,37,.35) 62%, rgba(14,41,37,.82) 100%);
  pointer-events: none;
}
.villa-panel + .villa-panel { border-left: 1px solid rgba(255,255,255,.35); }
.villa-content {
  position: absolute; z-index: 2;
  left: clamp(1.5rem, 4vw, 4rem); right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.home .villa-content .kicker {
  margin: 0 0 .5rem; color: rgba(255,255,255,.85);
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
}
.home .villa-content h3 {
  color: #fff; margin: 0 0 .4rem;
  font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: .02em;
}
.villa-price { margin: 0 0 1.6rem; font-size: 1.02rem; color: rgba(255,255,255,.9); }
.btn-glass {
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  color: #fff !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-glass:hover { background: #fff !important; color: var(--encre) !important; }
.villa-nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; opacity: 0; transition: opacity .25s, background .2s;
}
.villa-prev { left: 1.2rem; } .villa-next { right: 1.2rem; }
.villa-panel:hover .villa-nav, .villa-nav:focus-visible { opacity: 1; }
.villa-nav:hover { background: rgba(255,255,255,.3); }
.villa-dots {
  position: absolute; z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: flex; gap: .45rem;
}
.villa-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 99px;
  border: 0; background: rgba(255,255,255,.5); cursor: pointer;
  transition: width .3s, background .3s;
}
.villa-dots button[aria-selected="true"] { width: 24px; background: #fff; }
@media (hover: none) { .villa-nav { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .villa-slide { transition: opacity .3s; transform: none !important; } }
@media (max-width: 860px) {
  .home .villas-home { padding: 4rem 0 0; }
  .home .villas-home h2 { margin-bottom: 2rem; }
  .villa-split { grid-template-columns: 1fr; }
  .villa-panel { min-height: 460px; }
  .villa-panel + .villa-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .villa-nav { width: 40px; height: 40px; top: 40%; }
  .villa-dots { left: 1.5rem; right: auto; bottom: auto; top: 1.4rem; }
}

/* ---------- Bienvenue : pleine hauteur d'écran ---------- */
@media (min-width: 861px) {
  .home .welcome { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); align-items: stretch; }
  .home .welcome-copy, .home .welcome-photo { padding-top: 4rem; padding-bottom: 4rem; }
  .home .portrait-oval { width: min(400px, 80%, 52svh); }
}
.home .contact-inner { box-sizing: border-box; width: min(calc(960px + 2 * var(--gutter)), 100%); }
.home .villas-home { padding: 0; }

/* ---------- Bienvenue : grande photo arrondie ---------- */
.home .welcome-photo {
  display: block;
  position: relative;
  padding: clamp(2.5rem, 5vw, 5rem);
}
.home .welcome-photo .portrait-oval {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
  border-radius: 28px !important;
  box-shadow: 0 30px 60px -30px rgba(14, 41, 37, 0.45);
}
@media (max-width: 860px) {
  .home .welcome-photo { padding: 2rem var(--gutter) 2.5rem; }
  .home .welcome-photo .portrait-oval { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px !important; }
}

/* Barre admin WP : l'en-tête sticky se cale dessous */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Bienvenue : photo en fond plein écran + dégradé blanc → transparent ---------- */
.home .welcome {
  position: relative;
  isolation: isolate;
  background: var(--ivoire);
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.home .welcome-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 0;
  background: none;
}
.home .welcome-photo .portrait-oval {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 70% center;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
}
.home .welcome-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,254,252,1) 0%,
    rgba(255,254,252,.97) 30%,
    rgba(255,254,252,.82) 42%,
    rgba(255,254,252,.35) 58%,
    rgba(255,254,252,0) 72%);
}
.home .welcome-copy { position: relative; z-index: 1; background: transparent; }
@media (max-width: 860px) {
  .home .welcome {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: calc(100svh - 68px);
  }
  .home .welcome-photo { padding: 0; }
  .home .welcome-photo .portrait-oval { aspect-ratio: auto; height: 100%; border-radius: 0 !important; object-position: 60% bottom; }
  .home .welcome-photo::after {
    background: linear-gradient(180deg,
      rgba(255,254,252,1) 0%,
      rgba(255,254,252,.96) 45%,
      rgba(255,254,252,.6) 60%,
      rgba(255,254,252,0) 78%);
  }
  .home .welcome-copy { padding: 3rem var(--gutter) 2rem; }
}
@media (min-width: 861px) {
  .home .welcome-photo::after {
    background: linear-gradient(90deg,
      rgba(255,254,252,1) 0%, rgba(255,254,252,1) 36%,
      rgba(255,254,252,.85) 46%, rgba(255,254,252,.4) 60%, rgba(255,254,252,0) 74%);
  }
}

/* ---------- Nos villas : version boxed, deux cartes séparées ---------- */
.home .villas-home { padding: clamp(4rem, 7vw, 6.5rem) var(--gutter); background: var(--menthe); }
.home .villa-split {
  width: min(var(--container), 100%);
  margin: 0 auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.home .villa-panel {
  min-height: clamp(480px, 68vh, 640px);
  border-radius: 24px;
  box-shadow: 0 30px 60px -34px rgba(14, 41, 37, 0.5);
}
.home .villa-panel + .villa-panel { border: 0; }
.home .villa-content { left: 2.5rem; right: 2.5rem; bottom: 2.5rem; }
.home .villa-dots { right: 2.5rem; bottom: 2.9rem; }
@media (max-width: 860px) {
  .home .villas-home { padding: 3rem var(--gutter); }
  .home .villa-split { gap: 1.5rem; }
  .home .villa-panel { min-height: 440px; border-radius: 20px; }
  .home .villa-content { left: 1.5rem; right: 1.5rem; bottom: 1.8rem; }
  .home .villa-dots { left: 1.5rem; right: auto; top: 1.4rem; bottom: auto; }
}

/* =====================================================================
   Pied de page v2 (toutes les pages)
   ===================================================================== */
.site-footer.ft { background: #fffefc; padding: 3.5rem 0 1.6rem; border-top: 1px solid #e4f1ed; color: #3d5558; }
.ft-inner { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.home .ft-inner { width: calc(100% - 2 * clamp(1.25rem, 4.5vw, 4rem)); }
.ft-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(29,58,64,.14);
}
.ft-logo img { height: 56px; width: auto; }
.ft-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem 1.8rem; list-style: none; margin: 0; padding: 0;
}
.ft-nav .menu-item-has-children, .ft-nav .sub-menu { display: contents; }
.ft-nav a { color: #1d3a40; text-decoration: none; font-size: .92rem; }
.ft-nav a:hover { color: var(--lagon); }
.ft-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.25rem; border-radius: 999px;
  background: #2f5a61; color: #fff !important; text-decoration: none;
  font-size: .86rem; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.ft-cta:hover { background: #1d3a40; }
.ft-info { text-align: center; margin: 1.6rem 0 0; font-size: .86rem; color: #71878a; }
.ft-info p { margin: 0 0 .3rem; }
.ft-info a { color: inherit; }
.ft-bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1.6rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(29,58,64,.14);
  font-size: .82rem; color: #1d3a40;
}
@media (max-width: 860px) {
  .ft-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.4rem; }
  .ft-nav ul { gap: .5rem 1.3rem; }
  .ft-bottom { flex-direction: column; align-items: center; }
}
.ft-nav ul { align-items: center; }
.ft-nav a { display: inline-block; line-height: 1.5; padding: .15rem 0; }

/* ---------- Bandeau choix de version (présentation client) ---------- */
.ib-switch {
  --sw-h: 52px;
  position: relative;
  z-index: 60;
  height: var(--sw-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  background: #1d3a40;
  color: rgba(255,255,255,.75);
  font-family: var(--corps);
  font-size: .85rem;
}
.ib-switch-seg {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}
.ib-switch-seg a {
  padding: .4rem 1rem;
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.ib-switch-seg a strong { font-weight: 600; }
.ib-switch-seg a:hover { background: rgba(255,255,255,.14); color: #fff; }
.ib-switch-seg a.is-on { background: #fff; color: #1d3a40; }
body.home.ib-switch-on:not(.ib-hp2) { padding-top: 0; }
body.home.ib-switch-on:not(.ib-hp2) .ib-switch { margin-bottom: 20px; }
@media (max-width: 640px) {
  .ib-switch { --sw-h: 48px; font-size: .8rem; }
  .ib-switch-label, .ib-switch-seg a span { display: none; }
  .ib-switch-seg a { padding: .4rem .9rem; }
}

/* ---------- Bouton « Réserver » de l'en-tête ---------- */
.header-inner { grid-template-columns: auto 1fr auto auto; }
.header-cta {
  justify-self: end;
  display: inline-flex; align-items: center;
  padding: .6rem 1.25rem; border-radius: 999px;
  background: #2a7c6f; color: #fff !important; text-decoration: none;
  font-family: var(--corps); font-size: .9rem; font-weight: 600;
  transition: background .2s;
}
.header-cta:hover { background: #1c534a; }
.home:not(.ib-hp2) .header-cta { background: #fff; color: #1d3a40 !important; }
.home:not(.ib-hp2) .header-cta:hover { background: #eef3f3; }
@media (max-width: 860px) {
  .header-cta { order: 2; margin-left: auto; padding: .5rem 1rem; font-size: .85rem; }
  .search-toggle { order: 3; margin-left: 0 !important; }
  .nav-toggle { order: 4 !important; }
}

/* HP2 : boutons de réservation */
.hero-btns, .villa-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-btns { justify-content: center; }
.btn.btn-book, .hero .btn.btn-book { background: #fff; border-color: #fff; color: #1c534a; font-weight: 700; }
.btn.btn-book:hover, .hero .btn.btn-book:hover { background: #dbf0ec; border-color: #dbf0ec; color: #1c534a; }

/* =====================================================================
   Bandeau Avis Google (accueils + fiches villa)
   ===================================================================== */
.gr-band { background: #fff; border-top: 1px solid #e4efec; border-bottom: 1px solid #e4efec; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.gr-wrap { width: min(1200px, calc(100% - 2.5rem)); margin: 0 auto; }
.gr-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; margin-bottom: 2rem; }
.gr-google { font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.gr-google b { font-weight: 700; }
.gr-score-line { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.gr-score-line strong { font-size: 1.5rem; color: #1c2b28; }
.gr-score-line span { color: #6b7d79; font-size: .9rem; }
.gr-stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.gr-kicker { margin: 0 0 .3rem; font-family: var(--display); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: #2a7c6f; text-align: center; }
.gr-title h2 { margin: 0; text-align: center; font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #1c534a; letter-spacing: .01em; }
.gr-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.gr-btn { display: inline-flex; align-items: center; padding: .7rem 1.2rem; border-radius: 999px; background: #2a7c6f; color: #fff !important; text-decoration: none; font-weight: 600; font-size: .88rem; border: 1px solid #2a7c6f; }
.gr-btn:hover { background: #1c534a; border-color: #1c534a; }
.gr-btn-line { background: transparent; color: #1c534a !important; border-color: #b9d6cf; }
.gr-btn-line:hover { background: #eef8f5; color: #1c534a !important; }
.gr-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
.gr-card { scroll-snap-align: start; background: #f7fbfa; border: 1px solid #e4efec; border-radius: 16px; padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .7rem; align-content: start; }
.gr-card header { display: flex; align-items: center; gap: .7rem; }
.gr-card header img, .gr-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.gr-avatar { display: grid; place-items: center; background: #2a7c6f; color: #fff; font-weight: 700; }
.gr-card strong { display: block; font-size: .95rem; color: #1c2b28; }
.gr-card strong a { color: inherit; text-decoration: none; }
.gr-card header span { font-size: .8rem; color: #6b7d79; }
.gr-card p { margin: 0; font-size: .93rem; line-height: 1.65; color: #3a4d4a; }
.gr-note { margin: 1rem 0 0; font-size: .78rem; color: #8a9a97; text-align: right; }
.gr-empty { text-align: center; max-width: 640px; margin: 0 auto; padding: 1.6rem 1.4rem; border-radius: 16px; background: #f7fbfa; border: 1px dashed #cfe2dd; }
.gr-quote { display: block; font-family: Georgia, serif; font-size: 3.2rem; line-height: .6; color: #a4dcd2; margin-top: .6rem; }
.gr-empty p { margin: .4rem 0 0; color: #3a4d4a; }
.gr-admin { font-size: .82rem; color: #8a5a00 !important; background: #fff6e0; border-radius: 10px; padding: .6rem .8rem; margin-top: 1rem !important; }
@media (max-width: 860px) {
  .gr-head { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1rem; }
  .gr-actions { justify-content: center; }
  .gr-track { grid-auto-columns: 85%; }
}

/* ---------- Accueil : sigle rond Iguana Bay au diamètre du site Wix (~112 px) ---------- */
.home .brand { position: relative; z-index: 45; align-self: start; height: 80px; display: flex; align-items: flex-start; padding-top: 8px; }
.home .brand img {
  height: 112px; width: 112px; object-fit: contain;
  background: #fff; border-radius: 50%; padding: 5px;
  box-shadow: 0 10px 28px -10px rgba(14, 41, 37, .45);
  transition: height .25s, width .25s;
}
@media (max-width: 860px) {
  .home .brand { height: 68px; padding-top: 6px; }
  .home .brand img { height: 76px; width: 76px; padding: 3px; }
}
@media (max-width: 860px) {
  .home .brand, .home .brand img { flex: none; }
  .home .site-header.is-open .primary-nav, .home .site-header.is-search .search-form { order: 10; flex-basis: 100%; }
}

/* Pied de page : bouton de connexion */
.ft-login { display: inline-flex; align-items: center; gap: .35rem; margin-left: .4rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(29,58,64,.25); color: #1d3a40 !important; text-decoration: none; font-weight: 600; font-size: .8rem; }
.ft-login:hover { background: #1d3a40; color: #fff !important; }
.ib-app-connexion + * { margin-top: 0; }
body.ib-inner .ib-app { background: #eef3f3; }

/* Sélecteur de langue (moteur GTranslate caché, menu maison) */
.ib-lang { position: relative; flex: none; }
.ib-lang-btn { display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .7rem; border: 1px solid rgba(29,43,42,.14); border-radius: 999px; background: #fff; color: #1d2b2a; font: 600 .8rem/1 inherit; letter-spacing: .04em; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ib-lang-btn:hover, .ib-lang-btn[aria-expanded="true"] { border-color: #2f8f7a; box-shadow: 0 0 0 3px rgba(47,143,122,.12); }
.ib-lang-chev { transition: transform .2s; }
.ib-lang-btn[aria-expanded="true"] .ib-lang-chev { transform: rotate(180deg); }
.ib-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1000; min-width: 180px; margin: 0; padding: .4rem; list-style: none; background: #fff; border: 1px solid #e1ebe8; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(29,43,42,.35); }
.ib-lang-menu[hidden] { display: none; }
.ib-lang-menu button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .75rem; border-radius: 10px; font-size: .92rem; color: #1d2b2a; cursor: pointer; }
.ib-lang-menu button:hover, .ib-lang-menu button:focus-visible { background: #eef6f3; }
.ib-lang-menu button.is-on { background: #e3f1ec; font-weight: 600; }
.ib-lang-menu em { font-style: normal; font-size: .72rem; letter-spacing: .08em; color: #6b7c79; }
.ib-lang-engine { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Google Translate : pas de bandeau ni d'infobulles */
body { top: 0 !important; }
.skiptranslate iframe, #goog-gt-tt, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }
@media (max-width: 780px) {
  .ib-lang-btn { height: 34px; padding: 0 .5rem; gap: .25rem; font-size: .72rem; }
  .ib-lang-chev { display: none; }
}
.header-inner { grid-template-columns: auto 1fr auto auto auto; }
.ib-lang { align-self: center; }
@media (max-width: 860px) {
  .ib-lang { order: 2; margin-left: auto; }
  .header-cta, .home .header-cta { order: 2; margin-left: .3rem !important; }
}
@media (min-width: 861px) and (max-width: 1240px) {
  .header-inner { gap: 1rem !important; }
  .primary-nav ul { gap: 0 1.1rem !important; }
  .primary-nav a { white-space: nowrap; font-size: .9rem; }
  .ib-lang-cur, .ib-lang-chev { display: none; }
  .ib-lang-btn { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 520px) {
  .ib-lang-cur, .ib-lang-chev { display: none; }
  .ib-lang-btn { width: 34px; padding: 0; justify-content: center; }
  .ib-lang-menu { right: auto; left: 50%; transform: translateX(-50%); }
  .header-cta, .home .header-cta { padding: .5rem .8rem !important; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; }
  .site-header.is-open .header-inner, .site-header.is-search .header-inner { flex-wrap: wrap; }
  .search-toggle, .nav-toggle { flex: none; }
}
@media (max-width: 860px) {
  .brand { flex: none; }
  .ib-lang-menu { left: 0 !important; right: auto !important; transform: none !important; }
}
@media (max-width: 520px) {
  .header-inner { column-gap: .3rem !important; }
  .search-toggle { width: 36px; height: 36px; margin-left: 0 !important; }
  .nav-toggle { margin-left: 0 !important; }
}
.ft-legal { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; justify-content: center; font-size: .82rem; }
.ft-legal a { color: inherit; opacity: .8; text-decoration: none; }
.ft-legal a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 860px) { .ft-bottom { flex-wrap: wrap; justify-content: center; gap: .8rem; } .ft-legal { order: 3; width: 100%; } }
/* Bannière cookies : typo du site */
.cmplz-cookiebanner, .cmplz-cookiebanner .cmplz-btn, .cmplz-cookiebanner .cmplz-title, #cmplz-manage-consent .cmplz-manage-consent { font-family: inherit !important; }
.cmplz-cookiebanner .cmplz-btn { font-weight: 600 !important; }
.ft-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
