/* ============================================================
   annonces-reunion.com — Theme « Lagon » (refonte 2026-05-07)
   Mobile-first 320px+ — palette tropicale Réunion, distinct de :
     • gtout         (kraft beige + sceau rouge — bulletin-board)
     • reunion-annonces (orange volcanique + DM Sans — coquines)
   Palette « Lagon & Canne à sucre » :
     --lagon       #0099bd  (eau de Saint-Gilles, Saint-Leu)
     --lagon-deep  #006b8a  (passe coralienne)
     --canne       #6fb432  (champ de canne, fougères endémiques)
     --canne-deep  #4a7d20
     --corail      #ff6f5e  (flamboyant en fleur, coral réservé)
     --sable       #fff7ec  (sable de l'Hermitage, fond papier)
     --coco        #2a1a0e  (texte, brun coco)
     --coco-soft   #5c4733  (texte secondaire)
   Identité : coins arrondis, ombres douces, motif vague SVG
   sur les CTA et le logo, ZÉRO box-shadow ASCII (pas de cliché kraft).
   Fonts : Quicksand (titres rondes tropicales) + Inter (lecture).
   Conserve les class-names gt-* utilisés par le markup partagé.
   ============================================================ */
:root {
  --lagon: #0099bd;
  --lagon-deep: #006b8a;
  --lagon-pale: #d6f0f7;
  --canne: #6fb432;
  --canne-deep: #4a7d20;
  --corail: #ff6f5e;
  --corail-deep: #d54a3b;
  --sable: #fff7ec;
  --sable-warm: #f6ead4;
  --coco: #2a1a0e;
  --coco-soft: #5c4733;
  --rad: 12px;
  --rad-sm: 8px;
  --rad-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(20,40,60,.06), 0 4px 14px rgba(20,40,60,.08);
  --shadow-card: 0 2px 6px rgba(20,40,60,.06), 0 8px 22px rgba(20,40,60,.10);
  --shadow-cta:  0 6px 18px rgba(0,153,189,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--coco);
  background: var(--sable);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* room for mobile bottom bar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--coco);
  margin: 0 0 .55em 0;
  line-height: 1.2;
}
h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); word-break: break-word; }
h2 { font-size: clamp(1.2rem, 3.5vw, 1.55rem); }
h3 { font-size: 1.1rem; }

a { color: var(--lagon-deep); text-decoration: none; }
a:hover { color: var(--corail); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout container ---------- */
.gt-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 14px; }
@media (min-width: 768px) { .gt-shell { padding: 0 22px; } }

/* ---------- Header ---------- */
.gt-header {
  background: linear-gradient(180deg, var(--sable) 0%, var(--sable-warm) 100%);
  border-bottom: 1px solid rgba(0,107,138,.12);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(20,40,60,.04);
}
.gt-header-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .gt-header-inner { padding: 14px 22px; gap: 16px; flex-wrap: nowrap; } }

.gt-logo {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700; font-size: 1.4rem;
  color: var(--coco); text-decoration: none; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  padding: 4px 0;
  position: relative;
}
@media (min-width: 768px) { .gt-logo { font-size: 1.6rem; } }
.gt-logo:hover { text-decoration: none; color: var(--lagon-deep); }
.gt-logo::before {
  content: ''; width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22V11' stroke='%234a7d20' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 11C8 8 5 9 4 6c2-1 5 0 8 5z' fill='%236fb432'/%3E%3Cpath d='M12 11c-3-4-2-7-6-8 0 3 1 6 6 8z' fill='%236fb432'/%3E%3Cpath d='M12 11c4-3 7-2 8-5-2-1-5 0-8 5z' fill='%236fb432'/%3E%3Cpath d='M12 11c3-4 2-7 6-8 0 3-1 6-6 8z' fill='%236fb432'/%3E%3Ccircle cx='12' cy='10' r='1.4' fill='%23ff6f5e'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  flex: 0 0 22px;
}
.gt-logo .gt-logo-i { color: var(--corail); margin: 0 1px; }
.gt-logo .gt-logo-tld { color: var(--lagon); font-weight: 600; font-size: .95em; }

/* Vague décorative sous le logo (visible dès tablette) */
.gt-logo::after {
  content: ''; position: absolute; left: 28px; right: 0; bottom: -2px;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 Q4 0 8 2 T16 2 T24 2 T32 2' stroke='%230099bd' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 32px 4px;
  opacity: .55;
}

.gt-search {
  flex: 1 1 100%;
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid rgba(0,107,138,.18);
  border-radius: var(--rad-pill);
  padding: 2px 4px 2px 14px;
  box-shadow: var(--shadow-soft);
  order: 3; /* search en dessous sur mobile */
}
@media (min-width: 768px) { .gt-search { flex: 1 1 auto; order: 0; } }
.gt-search input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 9px 4px; font: inherit; color: var(--coco);
  outline: none;
}
.gt-search input::placeholder { color: rgba(92,71,51,.55); }
.gt-search button {
  border: 0; background: var(--lagon); color: #fff;
  padding: 8px 18px; font: inherit; font-weight: 600;
  border-radius: var(--rad-pill);
  cursor: pointer;
  transition: background .15s ease;
}
.gt-search button:hover { background: var(--lagon-deep); }

.gt-nav-desktop { display: none; }
@media (min-width: 992px) {
  .gt-nav-desktop { display: flex; gap: 18px; align-items: center; }
  .gt-nav-desktop a {
    color: var(--coco); font-family: 'Quicksand', sans-serif;
    font-weight: 600; font-size: .95rem;
    padding: 6px 4px;
  }
  .gt-nav-desktop a:hover { color: var(--lagon-deep); text-decoration: none; }
  .gt-nav-cta {
    background: var(--corail); color: #fff !important;
    padding: 9px 20px;
    border-radius: var(--rad-pill);
    box-shadow: var(--shadow-cta);
    font-size: .9rem !important;
  }
  .gt-nav-cta:hover {
    background: var(--corail-deep);
    transform: translateY(-1px);
  }
}

/* ---------- Main layout ---------- */
.gt-main {
  display: block;
  padding: 14px 0;
}
@media (min-width: 992px) {
  .gt-main { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 24px 0; }
}

.gt-sidebar { display: none; }
@media (min-width: 992px) {
  .gt-sidebar {
    display: block;
    align-self: start;
    position: sticky; top: 88px;
  }
  .gt-sidebar h3 {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
    font-weight: 700; color: var(--lagon-deep);
    border-bottom: 1px solid rgba(0,107,138,.15);
    padding-bottom: 8px; margin-bottom: 8px;
  }
  .gt-sidebar ul { list-style: none; padding: 0; margin: 0; }
  .gt-sidebar li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 8px; color: var(--coco);
    border-radius: var(--rad-sm);
    font-size: .95rem;
    transition: background .12s ease, color .12s ease;
  }
  .gt-sidebar li a:hover { background: var(--lagon-pale); color: var(--lagon-deep); text-decoration: none; }
  .gt-sidebar .gt-sidebar-icon {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--canne); color: #fff;
    border-radius: 50%;
    font-weight: 700; font-size: .7rem;
    letter-spacing: .03em;
    flex: 0 0 28px;
  }
}

/* ---------- Hero ---------- */
.gt-hero {
  background: linear-gradient(135deg, var(--lagon) 0%, #00b8d9 100%);
  color: #fff;
  border-radius: var(--rad);
  padding: 26px 20px;
  margin: 8px 0 22px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.gt-hero::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q150 0 300 12 T600 12 T900 12 T1200 12 V30 H0 Z' fill='%23fff7ec'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}
.gt-hero::after {
  content: '🌴'; position: absolute;
  top: 14px; right: 18px;
  font-size: 2.2rem;
  opacity: .8;
  transform: rotate(8deg);
  pointer-events: none;
}
.gt-hero h1 {
  color: #fff;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  margin: 0 0 .35em 0;
  word-break: break-word;
  hyphens: auto;
  text-shadow: 0 1px 2px rgba(0,40,60,.18);
}
.gt-hero p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(.95rem, 2.5vw, 1.05rem);
  max-width: 640px;
}
.gt-hero p em { font-style: normal; font-weight: 600; color: #fff; background: rgba(255,255,255,.18); padding: 1px 8px; border-radius: var(--rad-pill); }

/* ---------- Cat grid (home) ---------- */
.gt-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px 0;
}
@media (min-width: 480px) { .gt-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 768px) { .gt-cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .gt-cat-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.gt-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  padding: 16px 10px;
  color: var(--coco); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.gt-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--lagon);
  color: var(--coco); text-decoration: none;
}
.gt-cat-card .gt-cat-emoji {
  font-size: .82rem; line-height: 1;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--lagon-pale) 0%, #e7f7e2 100%);
  color: var(--lagon-deep); border-radius: 50%;
  font-weight: 700; letter-spacing: .04em;
  flex: 0 0 44px;
}
.gt-cat-card .gt-cat-label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600; font-size: .92rem;
  line-height: 1.25;
}

/* ---------- Listing ---------- */
.gt-listing {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 0;
}
@media (min-width: 600px) {
  .gt-listing { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
}

.gt-card {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  display: block;
  color: var(--coco); text-decoration: none;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--lagon);
  color: var(--coco); text-decoration: none;
}
.gt-card-inner {
  display: flex; align-items: stretch;
  min-height: 110px;
}
.gt-card-text {
  flex: 1; min-width: 0;
  padding: 12px 12px 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.gt-card-photo {
  flex: 0 0 110px; width: 110px;
  background: var(--lagon-pale) center/cover no-repeat;
  position: relative;
}
@media (min-width: 480px) { .gt-card-photo { flex-basis: 130px; width: 130px; } }
.gt-card-noimg::after {
  content: 'Sans photo'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--lagon-deep);
  opacity: .55; text-align: center;
}
.gt-card-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600; font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  color: var(--coco);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gt-card-meta {
  font-size: .78rem;
  color: var(--coco-soft);
  margin: 0;
}
.gt-card-price {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; color: var(--canne-deep);
  font-size: 1.05rem;
}

/* sceau catégorie : pastille douce dans le coin supérieur droit (sur la photo) */
.gt-card-seal {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.96);
  color: var(--lagon-deep);
  display: inline-flex; align-items: center;
  font-family: 'Quicksand', sans-serif;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--rad-pill);
  box-shadow: 0 2px 6px rgba(0,40,60,.12);
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(0,107,138,.18);
}

/* ---------- Breadcrumb ---------- */
.gt-breadcrumb {
  font-size: .8rem;
  color: var(--coco-soft);
  margin: 0 0 14px 0;
  padding: 8px 0;
  word-break: break-word;
}
.gt-breadcrumb a { color: var(--lagon-deep); }
.gt-breadcrumb a:hover { color: var(--corail); }
.gt-breadcrumb .gt-bc-sep { margin: 0 6px; opacity: .45; }
.gt-breadcrumb .gt-bc-current { color: var(--coco); font-weight: 600; }

/* ---------- Pagination ---------- */
.gt-pagination {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 24px 0 8px 0;
  align-items: center;
}
.gt-pagination a, .gt-pagination span {
  background: #fff;
  border: 1px solid rgba(0,107,138,.15);
  padding: 8px 14px;
  color: var(--coco);
  font-size: .9rem;
  border-radius: var(--rad-sm);
  text-decoration: none;
  transition: all .12s ease;
}
.gt-pagination a:hover { background: var(--lagon-pale); border-color: var(--lagon); color: var(--lagon-deep); text-decoration: none; }
.gt-pagination .active { background: var(--lagon); color: #fff; border-color: var(--lagon); }

/* ---------- Detail page ---------- */
.gt-detail {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 992px) {
  .gt-detail { grid-template-columns: 1.3fr 1fr; gap: 28px; }
}

.gt-detail-photo {
  width: 100%; max-height: 520px; object-fit: contain;
  background: var(--lagon-pale);
  border-radius: var(--rad);
  box-shadow: var(--shadow-card);
}

.gt-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 12px;
}
.gt-gallery a { display: block; }
.gt-gallery img {
  width: 100%; height: 72px; object-fit: cover;
  background: var(--lagon-pale);
  border-radius: var(--rad-sm);
  box-shadow: var(--shadow-soft);
}

.gt-detail-title { margin-bottom: .3em; color: var(--coco); }
.gt-detail-meta {
  font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: 10px;
  color: var(--coco-soft);
  margin: 0 0 14px 0;
}
.gt-detail-meta span { display: inline-flex; align-items: center; gap: 4px; }
.gt-detail-pro {
  display: inline-block;
  background: var(--canne); color: #fff;
  padding: 2px 10px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  border-radius: var(--rad-pill);
}

.gt-detail-price {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--canne-deep);
  background: linear-gradient(180deg, transparent 60%, rgba(111,180,50,.16) 60%);
  display: inline-block;
  padding: 4px 8px; margin: 8px 0 18px 0;
  border-radius: 4px;
}

.gt-specs {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.gt-specs dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.gt-specs dt {
  font-size: .74rem; text-transform: uppercase;
  color: var(--coco-soft); align-self: center;
  letter-spacing: .04em;
  font-weight: 600;
}
.gt-specs dd { margin: 0; font-weight: 600; color: var(--coco); }

.gt-detail-desc {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  padding: 18px;
  margin-bottom: 16px;
  white-space: pre-line;
  word-wrap: break-word;
  box-shadow: var(--shadow-soft);
}

.gt-tags { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gt-tag {
  background: var(--lagon-pale);
  color: var(--lagon-deep);
  padding: 4px 11px;
  font-size: .8rem;
  border-radius: var(--rad-pill);
  font-weight: 500;
}

/* CTAs */
.gt-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--corail);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: .95rem;
  border-radius: var(--rad-pill);
  box-shadow: 0 6px 18px rgba(255,111,94,.32);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  margin: 0 8px 8px 0;
}
.gt-cta:hover {
  background: var(--corail-deep); color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255,111,94,.4);
}
.gt-cta-secondary { background: var(--lagon); color: #fff; box-shadow: var(--shadow-cta); }
.gt-cta-secondary:hover { background: var(--lagon-deep); box-shadow: 0 8px 22px rgba(0,153,189,.4); }
.gt-cta-gold { background: var(--canne); color: #fff; box-shadow: 0 6px 18px rgba(111,180,50,.32); }
.gt-cta-gold:hover { background: var(--canne-deep); }

.gt-phone-reveal { display: inline-block; margin: 4px 0; }
.gt-phone-reveal summary { list-style: none; cursor: pointer; }
.gt-phone-reveal summary::-webkit-details-marker { display: none; }

/* GOLDS sidebar */
.gt-similar { margin-top: 28px; }
.gt-similar h3 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--lagon-deep);
  border-bottom: 1px solid rgba(0,107,138,.15); padding-bottom: 6px;
  margin-bottom: 10px;
}
.gt-similar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gt-similar-grid .gt-card-photo { flex-basis: 80px; width: 80px; }
.gt-similar-grid .gt-card-inner { min-height: 80px; }
.gt-similar-grid .gt-card-title { font-size: .85rem; }

/* ---------- iframe wrappers ---------- */
.gt-iframe-card {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  padding: 0;
  margin: 0 0 20px 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gt-iframe-card iframe {
  display: block; border: 0; width: 100%;
  background: transparent;
}

/* ---------- Alerts / empty / error ---------- */
.gt-alert {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-left: 4px solid var(--corail);
  border-radius: var(--rad);
  padding: 22px 18px;
  margin: 16px 0;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.gt-alert h2, .gt-alert h1 { margin-top: 0; }

/* ---------- Mobile bottom bar ---------- */
.gt-bottombar {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 68px; z-index: 100;
  background: #fff;
  display: flex; align-items: stretch;
  justify-content: space-between;
  border-top: 1px solid rgba(0,107,138,.12);
  box-shadow: 0 -2px 16px rgba(20,40,60,.10);
}
@media (min-width: 992px) { .gt-bottombar { display: none; } body { padding-bottom: 0; } }

.gt-bottombar a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--coco-soft); text-decoration: none;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .03em;
  gap: 4px;
}
.gt-bottombar a:hover { color: var(--lagon-deep); text-decoration: none; }
.gt-bottombar .gt-bb-icon {
  font-size: .72rem; line-height: 1;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  background: var(--lagon-pale); color: var(--lagon-deep);
  padding: 6px 9px; border-radius: var(--rad-pill);
  letter-spacing: .04em;
}

.gt-bottombar-cta {
  flex: 0 0 auto;
  position: relative;
  align-self: center;
  margin-top: -22px;
  background: var(--corail); color: #fff !important;
  height: 56px; padding: 0 24px;
  border-radius: var(--rad-pill);
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-transform: none; letter-spacing: 0;
  display: inline-flex !important; flex-direction: row !important;
  align-items: center; gap: 6px;
  box-shadow: 0 6px 18px rgba(255,111,94,.4);
  transition: background .15s ease, transform .15s ease;
}
.gt-bottombar-cta:hover { background-color: var(--corail-deep); transform: translateY(-1px); }

/* ---------- Footer ---------- */
.gt-footer {
  margin-top: 36px;
  background: linear-gradient(180deg, var(--lagon-deep) 0%, #004f68 100%);
  color: rgba(255,255,255,.92);
  padding: 32px 0 92px 0; /* gap for bottom bar */
  font-size: .92rem;
  position: relative;
}
@media (min-width: 992px) { .gt-footer { padding: 36px 0 28px 0; } }
.gt-footer::before {
  content: ''; position: absolute;
  top: -1px; left: 0; right: 0; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q150 4 300 14 T600 14 T900 14 T1200 14 V0 H0 Z' fill='%23fff7ec'/%3E%3C/svg%3E");
  background-size: cover; background-repeat: no-repeat;
  pointer-events: none;
}
.gt-footer .gt-shell { position: relative; z-index: 1; }
.gt-footer-cols {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 768px) { .gt-footer-cols { grid-template-columns: repeat(3, 1fr); } }
.gt-footer h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: #fff; margin: 0 0 10px 0;
  font-weight: 700;
}
.gt-footer ul { list-style: none; padding: 0; margin: 0; }
.gt-footer li { margin: 5px 0; }
.gt-footer a { color: rgba(255,255,255,.85); transition: color .12s ease; }
.gt-footer a:hover { color: var(--corail); text-decoration: none; }
.gt-footer-bottom {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-align: center;
}

/* ---------- Modal ---------- */
.gt-modal {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(20,40,60,.55);
  padding: 14px; overflow-y: auto;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.gt-modal.open { display: block; }
.gt-modal-card {
  background: var(--sable);
  border-radius: var(--rad);
  max-width: 720px; margin: 5vh auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,40,60,.35);
  overflow: hidden;
}
.gt-modal-head {
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid rgba(0,107,138,.10);
  display: flex; align-items: center; justify-content: space-between;
}
.gt-modal-head h2 { margin: 0; font-size: 1.1rem; color: var(--coco); }
.gt-modal-close {
  background: transparent; border: 0; font-size: 1.6rem;
  cursor: pointer; color: var(--coco-soft); line-height: 1;
  padding: 0 6px;
}
.gt-modal-close:hover { color: var(--corail); }
.gt-modal-body { padding: 0; min-height: 200px; }

/* ---------- Theme prose (CGU) ---------- */
.theme-prose * { max-width: 100% !important; word-break: break-word; box-sizing: border-box; }
.theme-prose img, .theme-prose table { width: 100% !important; height: auto !important; }
.theme-prose a { color: var(--lagon-deep); text-decoration: underline; }
.theme-prose p { margin-bottom: 1em; line-height: 1.6; }
.theme-prose body { background: transparent !important; }
.theme-prose {
  background: #fff;
  border: 1px solid rgba(0,107,138,.10);
  border-radius: var(--rad);
  padding: 22px;
  margin: 12px 0 24px 0;
  box-shadow: var(--shadow-soft);
}

/* ---------- Utilities ---------- */
.gt-only-mobile { display: block; }
@media (min-width: 992px) { .gt-only-mobile { display: none; } }
.gt-only-desktop { display: none; }
@media (min-width: 992px) { .gt-only-desktop { display: block; } }

.gt-mt-2 { margin-top: 12px; }
.gt-mb-2 { margin-bottom: 12px; }
.gt-text-center { text-align: center; }
.gt-muted { color: var(--coco-soft); font-size: .9rem; }

/* Focus accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(0,153,189,.45);
  outline-offset: 2px;
  border-radius: 4px;
}
