/**
 * Syro Garden Landing — CSS modulaire (perf + conversion)
 * Palette : Ardèche / nature / premium (crème, vert profond, or discret)
 */

.syro-garden-landing .site-content,
.syro-garden-landing #content,
.syro-garden-landing .ast-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.sgl {
  --sgl-bg: #f3eee6;
  --sgl-cream: #faf7f2;
  --sgl-ink: #1c2420;
  --sgl-muted: #5c675f;
  --sgl-green: #1f4d3a;
  --sgl-green-2: #2d6a4f;
  --sgl-gold: #b08d57;
  --sgl-line: #e2d9cc;
  --sgl-white: #fffcf7;
  --sgl-radius: 14px;
  --sgl-max: 1080px;
  --sgl-font: "Poppins", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --sgl-display: "Lora", "Fraunces", Georgia, "Times New Roman", serif;
  background: var(--sgl-bg);
  color: var(--sgl-ink);
  font-family: var(--sgl-font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

.sgl *,
.sgl *::before,
.sgl *::after {
  box-sizing: border-box;
}

.sgl-wrap {
  width: min(100% - 32px, var(--sgl-max));
  margin-inline: auto;
}

.sgl-breadcrumb {
  width: min(100% - 32px, var(--sgl-max));
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--sgl-muted);
}

.sgl-breadcrumb ol {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgl-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.sgl-breadcrumb a {
  color: var(--sgl-green);
  text-decoration: none;
}

/* —— Hero full-bleed —— */
.sgl-hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
  color: var(--sgl-cream);
  isolation: isolate;
}

.sgl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 28, 22, 0.35) 0%, rgba(12, 28, 22, 0.82) 70%, rgba(12, 28, 22, 0.92) 100%),
    radial-gradient(1200px 600px at 70% 20%, rgba(176, 141, 87, 0.18), transparent 55%),
    linear-gradient(135deg, #0f2a20 0%, #1f4d3a 45%, #163528 100%);
}

.sgl-hero__inner {
  width: min(100% - 32px, var(--sgl-max));
  margin-inline: auto;
  max-width: 640px;
}

.sgl-brand {
  font-family: var(--sgl-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--sgl-cream);
  line-height: 1.05;
}

.sgl-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(176, 141, 87, 0.55);
  color: #e8d5b0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.sgl-h1 {
  font-family: var(--sgl-display);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
  max-width: 18ch;
}

.sgl-lead {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: rgba(250, 247, 242, 0.92);
}

.sgl-text {
  margin: 0 0 22px;
  color: var(--sgl-muted);
}

.sgl-hero .sgl-text {
  color: rgba(250, 247, 242, 0.78);
}

.sgl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.sgl-cta-row--center {
  justify-content: center;
}

.sgl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.sgl-btn:hover {
  transform: translateY(-1px);
}

.sgl-btn--primary {
  background: var(--sgl-gold);
  color: #1a1510;
}

.sgl-btn--primary:hover {
  background: #c9a46a;
  color: #1a1510;
}

.sgl-btn--ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.35);
}

.sgl-section .sgl-btn--ghost {
  color: var(--sgl-green);
  border-color: var(--sgl-green);
}

.sgl-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.85);
}

.sgl-trust li {
  position: relative;
  padding-left: 18px;
}

.sgl-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sgl-gold);
}

/* —— Sections —— */
.sgl-section {
  padding: 64px 0;
}

.sgl-section--alt {
  background: var(--sgl-cream);
}

.sgl-section--final {
  background: var(--sgl-green);
  color: var(--sgl-cream);
}

.sgl-section--final .sgl-text,
.sgl-section--final .sgl-legal-foot,
.sgl-section--final .sgl-legal-foot a {
  color: rgba(250, 247, 242, 0.85);
}

.sgl-h2 {
  font-family: var(--sgl-display);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 650;
  line-height: 1.2;
  margin: 0 0 28px;
  color: var(--sgl-ink);
  max-width: 22ch;
}

.sgl-section--final .sgl-h2,
.sgl-section--partner .sgl-h2 {
  color: inherit;
}

.sgl-section--partner.is-active {
  background: #1a3328;
  color: var(--sgl-cream);
}

.sgl-h3 {
  font-family: var(--sgl-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--sgl-green);
}

.sgl-cards {
  display: grid;
  gap: 16px;
}

.sgl-cards--4 {
  grid-template-columns: 1fr;
}

.sgl-card {
  background: var(--sgl-white);
  border: 1px solid var(--sgl-line);
  border-radius: var(--sgl-radius);
  padding: 22px 20px;
}

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

.sgl-timeline {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: none;
}

.sgl-timeline li {
  background: var(--sgl-white);
  border-left: 3px solid var(--sgl-gold);
  border-radius: 0 var(--sgl-radius) var(--sgl-radius) 0;
  padding: 18px 18px 18px 20px;
}

.sgl-section--alt .sgl-timeline li {
  background: #fff;
}

.sgl-step {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sgl-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.sgl-timeline strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.sgl-timeline p {
  margin: 0;
  color: var(--sgl-muted);
}

.sgl-vars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
}

.sgl-vars > div {
  background: rgba(31, 77, 58, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.sgl-vars dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sgl-muted);
  margin: 0 0 4px;
}

.sgl-vars dd {
  margin: 0;
  font-weight: 700;
  color: var(--sgl-green);
  font-size: 0.95rem;
}

.sgl-note {
  font-size: 0.88rem;
  color: var(--sgl-muted);
  margin: 0 0 18px;
}

.sgl-partner-card {
  max-width: 520px;
  padding: 24px;
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: var(--sgl-radius);
  background: rgba(0, 0, 0, 0.18);
}

.sgl-partner-name {
  font-family: var(--sgl-display);
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.sgl-partner-code {
  margin: 12px 0 18px;
}

.sgl-grid-8 {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sgl-grid-8 li {
  background: var(--sgl-white);
  border: 1px solid var(--sgl-line);
  border-radius: 10px;
  padding: 14px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  color: var(--sgl-green);
}

/* Produits */
.sgl-products {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sgl-product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--sgl-white);
  border: 1px solid var(--sgl-line);
  border-radius: var(--sgl-radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.sgl-product-link:hover {
  border-color: var(--sgl-green);
}

.sgl-product-media {
  display: block;
  aspect-ratio: 1;
  background: #efe8dc;
  overflow: hidden;
}

.sgl-product-media img,
.sgl-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sgl-product-name,
.sgl-product-price,
.sgl-product-rating,
.sgl-product-cta {
  padding: 0 12px;
}

.sgl-product-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sgl-ink);
}

.sgl-product-price {
  color: var(--sgl-green);
  font-weight: 700;
  margin-top: 4px;
}

.sgl-product-rating {
  font-size: 0.8rem;
  color: var(--sgl-muted);
  margin-top: 4px;
}

.sgl-product-cta {
  margin: 10px 12px 14px;
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sgl-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Place */
.sgl-place {
  display: grid;
  gap: 28px;
}

.sgl-place__visual {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.sgl-place__map {
  grid-column: 1 / -1;
  border: 1px dashed var(--sgl-line);
  border-radius: var(--sgl-radius);
  padding: 20px;
  background: var(--sgl-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  color: var(--sgl-green);
}

.sgl-place__photo {
  min-height: 140px;
  border-radius: var(--sgl-radius);
  background-size: cover;
  background-position: center;
}

.sgl-place__photo--landscape {
  background-image:
    linear-gradient(180deg, rgba(31, 77, 58, 0.15), rgba(31, 77, 58, 0.45)),
    radial-gradient(circle at 30% 40%, #8fbc8f 0%, #2d6a4f 45%, #1c3d30 100%);
}

.sgl-place__photo--team {
  background-image:
    linear-gradient(180deg, rgba(28, 36, 32, 0.1), rgba(28, 36, 32, 0.35)),
    linear-gradient(135deg, #d4c4a8, #a89878 50%, #6b7c6e);
}

/* Reviews */
.sgl-reviews {
  display: grid;
  gap: 24px;
}

.sgl-reviews__rating {
  font-family: var(--sgl-display);
  font-size: 2.5rem;
  margin: 0 0 6px;
  color: var(--sgl-green);
}

.sgl-reviews a {
  color: var(--sgl-green);
  font-weight: 700;
}

.sgl-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sgl-review-list li {
  background: var(--sgl-white);
  border: 1px solid var(--sgl-line);
  border-radius: var(--sgl-radius);
  padding: 14px 16px;
}

.sgl-review-list blockquote {
  margin: 6px 0;
  font-size: 0.95rem;
}

.sgl-review-list cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--sgl-muted);
}

.sgl-stars {
  color: var(--sgl-gold);
  letter-spacing: 1px;
}

/* FAQ */
.sgl-faq__item {
  border-bottom: 1px solid var(--sgl-line);
  padding: 12px 0;
}

.sgl-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--sgl-ink);
  list-style: none;
}

.sgl-faq__item summary::-webkit-details-marker {
  display: none;
}

.sgl-faq__item p {
  margin: 10px 0 4px;
  color: var(--sgl-muted);
}

.sgl-final {
  text-align: center;
}

.sgl-final .sgl-h2 {
  max-width: none;
  margin-inline: auto;
}

.sgl-legal-foot {
  margin-top: 28px;
  font-size: 0.82rem;
}

/* Reveal */
[data-sgl-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-sgl-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-sgl-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sgl-btn:hover {
    transform: none;
  }
}

/* —— Breakpoints —— */
@media (min-width: 640px) {
  .sgl-trust {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
  }
  .sgl-cards--4 {
    grid-template-columns: 1fr 1fr;
  }
  .sgl-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
  .sgl-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .sgl-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .sgl-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .sgl-vars {
    grid-template-columns: repeat(4, 1fr);
  }
  .sgl-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sgl-place {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .sgl-reviews {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .sgl-hero {
    align-items: center;
    padding-top: 96px;
  }
}
