/* GWS – Pages SEO en HTML (gabarit page-gws-seo.php) — v2 (08/09/2026)
   Charte COBA : bleu pétrole #0f2934 / #1a3e4c, doré #c9a581, titres Italiana, texte Jost. */

.gws-seo {
  --gws-dark: #0f2934;
  --gws-dark-2: #1a3e4c;
  --gws-gold: #c9a581;
  --gws-gold-2: #e2c9a6;
  --gws-cream: #f7f2ec;
  --gws-text: #22313a;
  --gws-muted: #6b7880;
  --gws-max: 1140px;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  color: var(--gws-text);
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
}
.gws-seo *, .gws-seo *::before, .gws-seo *::after { box-sizing: border-box; }
.gws-seo h1, .gws-seo h2, .gws-seo h3 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: inherit;
  letter-spacing: .015em;
}
.gws-seo h2 { font-size: clamp(32px, 4vw, 50px); }
.gws-seo h3 { font-size: 26px; }
.gws-seo p { margin: 0 0 1.15em; }
.gws-seo strong { font-weight: 500; }
.gws-seo a { color: var(--gws-gold); text-decoration: none; transition: color .2s; }
.gws-seo a:hover { color: var(--gws-gold-2); }
.gws-seo img { display: block; max-width: 100%; height: auto; }

/* Surtitre doré au-dessus des H2 */
.gws-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  color: var(--gws-gold); margin: 0 0 14px;
}
.gws-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gws-gold); flex: none; }
.gws-eyebrow--center { justify-content: center; }
.gws-eyebrow--center::after { content: ""; width: 34px; height: 1px; background: var(--gws-gold); flex: none; }

/* ---- Hero ---- */
.gws-hero {
  position: relative;
  min-height: 84vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background-color: var(--gws-dark);
  background-size: cover; background-position: center 40%;
  padding: 170px 24px 110px;
  isolation: isolate;
}
.gws-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(15,41,52,.15) 0%, rgba(15,41,52,.6) 80%),
    linear-gradient(180deg, rgba(15,41,52,.6) 0%, rgba(15,41,52,.25) 45%, rgba(15,41,52,.9) 100%);
}
.gws-hero__inner { max-width: 900px; margin: 0 auto; animation: gwsFadeUp .9s ease-out both; }
@keyframes gwsFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.gws-hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
  color: var(--gws-gold); margin: 0 0 22px;
}
.gws-hero__kicker::before, .gws-hero__kicker::after { content: ""; width: 40px; height: 1px; background: var(--gws-gold); }
.gws-hero h1 {
  font-size: clamp(30px, 4.2vw, 54px);
  max-width: 900px; margin-left: auto; margin-right: auto;
  color: #fff; margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.gws-seo .gws-hero__sub {
  font-size: 19.5px; font-weight: 300; color: rgba(255,255,255,.9);
  max-width: 680px; margin: 0 auto 34px;
}
.gws-seo .gws-hero__kicker { margin-left: auto; margin-right: auto; }
.gws-seo .gws-hero__cta { margin-left: auto; margin-right: auto; }
.gws-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0; }
.gws-hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.gws-hero__scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--gws-gold), transparent); }

/* ---- Boutons ---- */
.gws-btn {
  display: inline-block; padding: 15px 32px;
  font-family: "Jost", sans-serif; font-weight: 500;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gws-gold); border-radius: 2px;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
  text-decoration: none !important;
}
.gws-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.gws-btn--gold { background: var(--gws-gold); color: var(--gws-dark) !important; }
.gws-btn--gold:hover { background: var(--gws-gold-2); }
.gws-btn--ghost { background: rgba(255,255,255,.06); color: #fff !important; border-color: rgba(255,255,255,.65); backdrop-filter: blur(4px); }
.gws-btn--ghost:hover { background: rgba(255,255,255,.16); }
.gws-btn--outline { background: transparent; color: var(--gws-dark) !important; border-color: var(--gws-dark); }
.gws-btn--outline:hover { background: var(--gws-dark); color: #fff !important; }
.gws-btn--lg { padding: 19px 46px; font-size: 13.5px; }

/* ---- Carte "en bref", flottante sur le bas du hero ---- */
.gws-facts { position: relative; z-index: 2; padding: 0 24px; margin-top: -64px; }
.gws-facts ul {
  list-style: none; margin: 0 auto; padding: 36px 40px;
  max-width: var(--gws-max);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 40px;
  background: #fff; border-top: 3px solid var(--gws-gold); border-radius: 4px;
  box-shadow: 0 24px 60px rgba(15,41,52,.18);
}
.gws-facts li { margin: 0; padding: 0 0 0 18px; border-left: 1px solid #ece4d9; }
.gws-facts span {
  display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  color: var(--gws-gold); margin-bottom: 5px;
}
.gws-facts strong { font-weight: 400; color: var(--gws-dark); font-size: 16.5px; line-height: 1.45; display: block; }
.gws-facts a { color: var(--gws-dark); border-bottom: 1px solid var(--gws-gold); }

/* ---- Sections ---- */
.gws-section { padding: 100px 24px; }
.gws-seo .gws-section > * { max-width: var(--gws-max); margin-left: auto; margin-right: auto; }
.gws-seo .gws-section > .gws-eyebrow--center { justify-content: center; }
.gws-section--dark {
  background: linear-gradient(160deg, var(--gws-dark) 0%, var(--gws-dark-2) 100%);
  color: #fff; position: relative;
}
.gws-section--dark h2, .gws-section--dark h3 { color: #fff; }
.gws-section--dark p { color: rgba(255,255,255,.84); }
.gws-section--cream { background: var(--gws-cream); }
.gws-section__head { text-align: center; max-width: 760px; margin-bottom: 52px; }
.gws-section__head p { font-size: 18.5px; }
.gws-section__foot { text-align: center; margin: 52px auto 0; }

/* Texte + image côte à côte, image avec cadre doré décalé */
.gws-split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center;
  max-width: var(--gws-max); margin: 0 auto;
}
.gws-split--reverse .gws-split__text { order: 2; }
.gws-split--reverse .gws-split__media { order: 1; }
.gws-split__text h2 { margin-bottom: 24px; }
.gws-split__text p { font-size: 17.5px; }
.gws-seo figure { display: block; width: 100%; max-width: 100%; float: none; }
.gws-split__media { margin: 0; position: relative; padding: 0 16px 16px 0; width: 100%; }
.gws-split--reverse .gws-split__media { padding: 0 0 16px 16px; }
.gws-split__media::before {
  content: ""; position: absolute; inset: 16px 0 0 16px;
  border: 1px solid var(--gws-gold); border-radius: 4px; pointer-events: none;
}
.gws-split--reverse .gws-split__media::before { inset: 16px 16px 0 0; }
.gws-split__media img {
  width: 100%; min-height: 200px; border-radius: 4px; position: relative;
  box-shadow: 0 22px 50px rgba(15,41,52,.22);
  aspect-ratio: 3 / 2; object-fit: cover;
}
.gws-split__media figcaption {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gws-muted); margin-top: 16px; padding-left: 16px;
}
.gws-split--reverse .gws-split__media figcaption { padding-left: 0; }

/* Cartes */
.gws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gws-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,165,129,.28); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.gws-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,.28); border-color: var(--gws-gold); }
.gws-card > a, .gws-card > img { display: block; overflow: hidden; }
.gws-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.gws-card:hover img { transform: scale(1.05); }
.gws-card h3 { margin: 24px 24px 10px; position: relative; padding-bottom: 12px; }
.gws-card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 1px; background: var(--gws-gold); }
.gws-card p { margin: 0 24px 24px; font-size: 15.5px; flex: 1; }
.gws-card__more {
  display: inline-block; margin: 0 24px 24px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.gws-cards--posts .gws-card { background: #fff; border-color: #ece4d9; }
.gws-cards--posts .gws-card:hover { box-shadow: 0 22px 44px rgba(15,41,52,.14); }
.gws-cards--posts .gws-card h3 { font-size: 23px; }
.gws-cards--posts .gws-card h3 a { color: var(--gws-dark); }
.gws-cards--posts .gws-card p { color: var(--gws-text); }

/* Galerie de plats */
.gws-gallery { padding: 0 24px 100px; }
.gws-gallery__grid {
  max-width: var(--gws-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px;
}
.gws-gallery__grid figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.gws-gallery__grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gws-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gws-gallery__grid figure:hover img { transform: scale(1.06); }
.gws-gallery__grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(15,41,52,.85));
}

/* Accès : texte + carte Google */
.gws-access__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  max-width: var(--gws-max); margin: 0 auto;
}
.gws-access__text p { font-size: 17.5px; }
.gws-hours { width: 100%; margin: 26px 0 30px; border-collapse: collapse; }
.gws-hours caption {
  font-family: "Italiana", serif; font-size: 24px; color: var(--gws-gold); padding-bottom: 12px; caption-side: top; text-align: left;
}
.gws-hours th, .gws-hours td { padding: 12px 6px; border-bottom: 1px solid rgba(201,165,129,.3); text-align: left; color: #fff; font-size: 16px; }
.gws-hours th { font-weight: 400; }
.gws-hours td { text-align: right; color: rgba(255,255,255,.85); font-weight: 300; }
.gws-access__links { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.gws-map { margin: 0; position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 22px 50px rgba(0,0,0,.35); border: 1px solid rgba(201,165,129,.4); }
.gws-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: saturate(.85); }

/* FAQ */
.gws-faq-section h2 { text-align: center; margin-bottom: 40px; max-width: 860px; }
.gws-faq { max-width: 860px; background: #fff; border: 1px solid #ece4d9; border-radius: 4px; margin: 0 auto 12px; transition: border-color .2s, box-shadow .2s; }
.gws-faq:hover, .gws-faq[open] { border-color: var(--gws-gold); box-shadow: 0 10px 30px rgba(15,41,52,.08); }
.gws-faq summary {
  cursor: pointer; list-style: none; padding: 20px 58px 20px 26px; position: relative;
  font-family: "Italiana", serif; font-size: 22px; color: var(--gws-dark); line-height: 1.3;
}
.gws-faq summary::-webkit-details-marker { display: none; }
.gws-faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 1px solid var(--gws-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Jost", sans-serif; font-size: 20px; color: var(--gws-gold); line-height: 1; transition: transform .3s;
}
.gws-faq[open] summary::after { content: "–"; }
.gws-faq > div { padding: 0 26px 22px; font-size: 16.5px; }
.gws-faq > div p:last-child { margin-bottom: 0; }

/* Blocs centrés : forcer le centrage même avec max-width réduite */
.gws-seo .gws-section__head, .gws-seo .gws-section__head > *,
.gws-seo .gws-final > *, .gws-seo .gws-faq-section > h2, .gws-seo .gws-faq-section > .gws-eyebrow,
.gws-seo .gws-journal > h2, .gws-seo .gws-access__text { margin-left: auto; margin-right: auto; }
.gws-seo .gws-final, .gws-seo .gws-faq-section > h2, .gws-seo .gws-section__head, .gws-seo .gws-journal > h2 { text-align: center; }

/* Journal */
.gws-journal h2 { text-align: center; margin-bottom: 44px; }

/* Appel final sur photo */
.gws-final {
  text-align: center; color: #fff; position: relative; isolation: isolate;
  background-color: var(--gws-dark); background-size: cover; background-position: center;
  padding: 130px 24px;
}
.gws-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,41,52,.78); }
.gws-final h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); }
.gws-final p { color: rgba(255,255,255,.86); max-width: 640px; font-size: 18px; }

/* ---- Neutralise les habillages du thème sur ces pages ---- */
.gws-seo-page #gws-seo-main { width: 100%; }
.gws-seo-page .page_content_wrapper { display: none; } /* sidebar mobile vide du thème */

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .gws-gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 960px) {
  .gws-split { grid-template-columns: 1fr; gap: 40px; }
  .gws-split--reverse .gws-split__text { order: 1; }
  .gws-split--reverse .gws-split__media { order: 2; }
  .gws-cards { grid-template-columns: 1fr 1fr; }
  .gws-facts ul { grid-template-columns: 1fr 1fr; padding: 30px; }
  .gws-access__grid { grid-template-columns: 1fr; gap: 36px; }
  .gws-map iframe { height: 340px; }
}
@media (max-width: 640px) {
  .gws-seo { font-size: 16px; }
  .gws-section { padding: 64px 20px; }
  .gws-hero { min-height: 92vh; padding: 130px 20px 90px; background-position: center; }
  .gws-hero__sub { font-size: 17px; }
  .gws-hero__kicker::before, .gws-hero__kicker::after { width: 22px; }
  .gws-facts { margin-top: -40px; padding: 0 16px; }
  .gws-facts ul { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .gws-facts li { padding-left: 14px; }
  .gws-cards { grid-template-columns: 1fr; }
  .gws-gallery { padding-bottom: 64px; }
  .gws-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gws-gallery__grid figcaption { display: none; }
  .gws-btn { padding: 13px 22px; }
  .gws-hours th, .gws-hours td { display: block; text-align: left; padding: 6px 0; }
  .gws-hours th { border-bottom: 0; padding-top: 12px; }
  .gws-final { padding: 90px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gws-hero__inner { animation: none; }
  .gws-card, .gws-card img, .gws-gallery__grid img, .gws-btn { transition: none; }
}

/* Index des zones (page restaurant-autour-de-marseille) */
.gws-zones-section .gws-zones__group { max-width: var(--gws-max); margin: 0 auto 36px; }
.gws-zones-section h3 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gws-gold); }
.gws-zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 32px; }
.gws-zones li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #ece4d9; font-size: 16px; }
.gws-zones li a { color: var(--gws-dark); }
.gws-zones li span { color: var(--gws-muted); font-size: 13.5px; white-space: nowrap; }
@media (max-width: 960px) { .gws-zones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gws-zones { grid-template-columns: 1fr; } }
