/* ==========================================================================
   Conception Crublé — Design system
   ========================================================================== */

@font-face {
  font-family: "Zapfino";
  src: url("../assets/fonts/Zapfino.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --color-dark: #2b2a26;
  --color-cream: #f4f5ef;
  --color-white: #ffffff;
  --color-green: #7e963a;
  --color-green-dark: #63752d;
  --color-sage: #b6c08b;
  --color-border: #e3e4dc;

  /* Type */
  --font-brand: "Zapfino", cursive;
  --font-heading: "Manrope", sans-serif;
  --font-body: "Montserrat", sans-serif;

  /* Layout */
  --page-width: 1500px;
  --gutter: 40px;
  --radius-pill: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-dark);
  font-weight: 400;
}

section {
  padding: 90px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-green-dark);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn-light:hover {
  background: var(--color-cream);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-green);
  font-weight: 600;
  font-size: 14px;
}
.link-arrow .link-text {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 0.25s ease;
  padding-bottom: 2px;
}
.link-arrow:hover .link-text,
a:hover .link-arrow .link-text {
  background-size: 100% 1px;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}
.link-arrow:hover::after,
a:hover .link-arrow::after {
  transform: translateX(4px);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  transition: top 0.35s ease, width 0.35s ease, max-width 0.35s ease,
    border-radius 0.35s ease, background-color 0.35s ease,
    box-shadow 0.35s ease, border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  top: 16px;
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 999px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(43, 42, 38, 0.12);
}
@media (max-width: 900px) {
  .site-header.is-scrolled {
    top: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-color: var(--color-border);
    background: var(--color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-logo img {
  height: 72px;
  width: auto;
}

@media (max-width: 768px) {
  .site-logo img {
    height: 48px;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: var(--color-cream);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-dark);
  transition: width 0.2s ease;
}
.nav-toggle span:nth-child(2) {
  width: 14px;
  align-self: flex-end;
  margin-right: 11px;
}
.nav-toggle:hover span:nth-child(2) {
  width: 20px;
  margin-right: 0;
}

/* ---- Desktop split nav (Elementor switches to hamburger under ~1300px) ---- */
.desktop-nav {
  display: none;
}

@media (min-width: 1300px) {
  .nav-toggle {
    display: none;
  }
  .site-header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
  }
  .desktop-nav a:not(.btn):hover {
    color: var(--color-green);
  }
  .desktop-nav.nav-left {
    justify-content: flex-start;
  }
  .desktop-nav.nav-right {
    justify-content: flex-end;
  }
  .site-logo {
    justify-self: center;
  }
}

.site-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 15, 0.5);
  z-index: 149;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 85vw);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 20px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 150;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.site-nav-logo img {
  height: 56px;
}

.site-nav-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.site-nav-links a {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
  padding: 8px 0;
}

.site-nav-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 24px;
}

.site-nav-cta {
  align-self: flex-start;
}

.site-nav-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 40px;
}

.site-nav-socials a {
  color: var(--color-dark);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 20, 15, 0.35) 0%, rgba(20, 20, 15, 0.55) 100%);
}

.hero-left::before {
  background: linear-gradient(90deg, rgba(15, 15, 10, 0.65) 0%, rgba(15, 15, 10, 0.4) 45%, rgba(15, 15, 10, 0.05) 75%),
    linear-gradient(180deg, rgba(20, 20, 15, 0.25) 0%, rgba(20, 20, 15, 0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(46px, 7.5vw, 76px);
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 18px;
}

.hero-title .highlight {
  color: var(--color-sage);
}

.hero-text {
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero.hero-compact {
  min-height: 504px;
}

.hero-left .hero-content {
  margin: 0;
  text-align: left;
}
.hero-left .hero-text {
  margin: 0 0 32px;
}
.hero-left .hero-actions {
  justify-content: flex-start;
}

/* ---- Section header ---- */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.section-head p {
  margin-top: 16px;
  color: #55544d;
}
.section-head.wide {
  max-width: 900px;
}
.scroll-reveal-text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.3;
}
.scroll-reveal-text .word {
  color: var(--color-dark);
  opacity: 0.25;
}
.scroll-reveal-text .word.is-revealed {
  opacity: 1;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---- Services (full-image cards) ---- */
.services-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.services-stack > * {
  min-width: 0;
}

.service-card-cta {
  border-radius: 10px;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  aspect-ratio: 16 / 9;
}
.service-card-cta h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.3;
}

.service-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

@media (min-width: 1000px) {
  .services-stack {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .service-card,
  .service-card-cta {
    aspect-ratio: auto;
    height: 100%;
    min-height: 500px;
  }
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.service-card-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  background: var(--color-white);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card-content h3 {
  font-size: 22px;
}

.service-card-content p {
  color: #55544d;
  font-size: 16px;
}

@media (max-width: 600px) {
  .service-card {
    aspect-ratio: 4 / 5;
  }
  .service-card-content {
    padding: 20px 22px;
  }
}

/* ---- Banner (CTA strip) ---- */
.banner {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}
.banner h2 {
  margin-bottom: 24px;
}

.banner-photo {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
  color: var(--color-white);
}
.banner-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 20, 15, 0.4);
}
.banner-photo .container {
  position: relative;
  z-index: 2;
}
.banner-photo h2 {
  margin-bottom: 24px;
}

/* ---- Story / two-column ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}
.split .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.split h2 {
  margin-bottom: 20px;
}
.split p {
  color: #55544d;
  margin-bottom: 16px;
}

.split-images {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.split-images img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}
.split-images img:first-child {
  aspect-ratio: 295 / 300;
}
.split-images img:last-child {
  aspect-ratio: 295 / 457;
}
.split-images.single img:first-child {
  aspect-ratio: 4 / 3;
  object-position: center 25%;
}

@media (max-width: 700px) {
  .split-images {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- History (centered text + 3-image row, center emphasized) ---- */
.history-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.history-images img {
  object-fit: cover;
  border-radius: 8px;
  flex: 1 1 0;
}
.history-images .side {
  height: 340px;
}
.history-images .center {
  height: 460px;
  flex: 1.3 1 0;
}

@media (max-width: 900px) {
  .history-images .side {
    height: 220px;
  }
  .history-images .center {
    height: 320px;
  }
}

@media (max-width: 700px) {
  .history-images {
    flex-direction: column;
  }
  .history-images img {
    width: 100%;
  }
  .history-images .side,
  .history-images .center {
    height: 280px;
  }
  .history-images .center {
    order: -1;
  }
}

/* ---- Feature list (4 cols) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.feature-item p {
  font-size: 16px;
  color: #55544d;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Pill list (prestations) ---- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.pill-list li {
  padding: 14px 26px;
  background: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

/* ---- Carousel shell (arrows + progress bar, shared) ---- */
.carousel {
  position: relative;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover {
  background: var(--color-dark);
  color: var(--color-white);
}
.carousel-arrow.prev {
  left: -22px;
}
.carousel-arrow.next {
  right: -22px;
}
.carousel-arrow[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.carousel-progress {
  height: 3px;
  background: var(--color-border);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.carousel-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.15s ease, width 0.15s ease;
}

@media (max-width: 700px) {
  .carousel-arrow {
    display: none;
  }
}

/* ---- Prestations carousel (image + caption) ---- */
.presta-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 60px), transparent 100%);
}
.presta-track::-webkit-scrollbar {
  display: none;
}
.presta-item {
  flex: 0 0 20%;
  min-width: 220px;
  scroll-snap-align: start;
}
.presta-item img {
  width: 100%;
  aspect-ratio: 279 / 400;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.presta-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

/* ---- Feature row: photo + icon cards ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr repeat(4, 1.15fr);
  gap: 20px;
}
.feature-row-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}
.feature-row-card {
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
}
.feature-row-card .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row-card .icon img {
  width: 100%;
  height: 100%;
}
.feature-row-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.feature-row-card p {
  font-size: 16px;
  color: #55544d;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row-photo {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}
@media (max-width: 560px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

/* ---- FAQ split (intro left, accordion right) ---- */
.faq-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq-split-intro h2 {
  margin-bottom: 14px;
}
.faq-split-intro p {
  color: #55544d;
  margin-bottom: 24px;
}
.faq-split .faq-list {
  max-width: none;
}

@media (max-width: 900px) {
  .faq-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Banner photo (inset/boxed variant) ---- */
.banner-photo-inset {
  margin: 0 var(--gutter);
  border-radius: 10px;
}

/* ---- 3-card row (2 text cards + 1 photo CTA) ---- */
.card-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.text-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px;
}
.text-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}
.text-card p {
  font-size: 16px;
  color: #55544d;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .card-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ---- Steps zigzag (alternating image/text) ---- */
.steps-zigzag {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.step-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}
.step-row.reverse {
  grid-template-columns: 1fr 2fr;
}
.step-row.reverse .step-row-img {
  order: 2;
}
.step-row-img {
  width: 100%;
  aspect-ratio: 2.9 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.step-row .step-num {
  margin-bottom: 8px;
}
.step-row h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.step-row p {
  color: #55544d;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .step-row,
  .step-row.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-row.reverse .step-row-img {
    order: 0;
  }
}

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 16px;
}
.step h3 {
  margin-bottom: 12px;
  font-size: 18px;
}
.step p {
  font-size: 16px;
  color: #55544d;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 382 / 500;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%);
  transition: background 0.3s ease;
}
.team-card:hover::before {
  background: rgba(20, 20, 15, 0.5);
}
.team-card h3 {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 4px;
}
.team-card .role {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--color-sage);
  font-weight: 600;
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- FAQ accordion ---- */
.faq-category-title {
  font-weight: 400;
  font-size: 42px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.faq-box {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-cream);
  border-radius: 10px;
  padding: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-dark);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--color-dark);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-question .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 800px;
}
.faq-answer p {
  padding: 0 0 22px;
  color: #55544d;
  font-size: 16px;
}
.faq-answer ul {
  margin: -8px 0 22px;
  padding-left: 20px;
  list-style: disc;
  color: #55544d;
}
.faq-answer li {
  margin-bottom: 6px;
}

/* ---- Instagram ---- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insta-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insta-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}
.insta-item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-dark);
}

@media (max-width: 600px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Reviews ---- */
.reviews-head {
  text-align: center;
  margin-bottom: 40px;
}
.reviews-head .stars-row {
  color: #f0a93a;
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 6px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -4px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.review-card .review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.review-card .author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}
.review-card .date {
  font-size: 12px;
  color: #8a8a80;
  white-space: nowrap;
}
.review-card .stars {
  color: #f0a93a;
  margin-bottom: 14px;
  font-size: 21px;
  letter-spacing: 3px;
}
.review-card p {
  font-size: 16px;
  color: #444338;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card p.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.review-more {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-green-dark);
  text-decoration: underline;
  cursor: pointer;
}

.reviews-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #55544d;
}

@media (max-width: 600px) {
  .review-card {
    flex-basis: 82vw;
  }
}
.review-card .link-arrow {
  margin-top: 12px;
}
.reviews-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .reviews-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---- Project detail page (À propos du projet, transformation, galleries) ---- */
.project-info-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 24px;
  text-align: center;
}
.project-stat h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.project-stat .value {
  font-size: 24px;
  font-weight: 600;
}
.project-transform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-transform-grid figure {
  margin: 0;
}
.project-transform-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.project-transform-grid figcaption {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .project-transform-grid {
    grid-template-columns: 1fr;
  }
}
.conception-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.conception-track::-webkit-scrollbar {
  display: none;
}
.conception-gallery-item {
  flex: 0 0 380px;
  scroll-snap-align: start;
}
.conception-gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}
.cuisine-zoom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cuisine-zoom-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .cuisine-zoom-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Blog cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover img {
  transform: scale(1.04);
}
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}
.blog-card-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--color-white);
}
.blog-card time {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}
.blog-card h3 {
  font-size: 17px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 70px 0 30px;
  border-top: 1px solid var(--color-border);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  flex: 0 0 auto;
}
.footer-brand img {
  height: 132px;
  margin-bottom: 20px;
  display: block;
}
.footer-col {
  flex: 0 0 auto;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-dark);
  white-space: nowrap;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  font-size: 15px;
  color: var(--color-dark);
}
.footer-col a:hover {
  color: var(--color-green);
}
.footer-social-col {
  flex: 0 0 auto;
  text-align: center;
}
.footer-socials-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  white-space: nowrap;
}
.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, 50px);
  gap: 16px 18px;
  justify-content: center;
}
.footer-socials a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.footer-socials a:hover {
  background: var(--color-green);
}
.footer-bottom-bar {
  background: var(--color-dark);
  padding: 18px 0;
  margin-top: 40px;
}
.footer-bottom {
  font-size: 13px;
  color: #b8b8b0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-credit {
  color: #b8b8b0;
  text-decoration: underline;
}
.footer-credit:hover {
  color: var(--color-white);
}

@media (max-width: 900px) {
  .footer-top {
    justify-content: flex-start;
  }
  .footer-brand {
    flex-basis: 100%;
  }
}
@media (max-width: 560px) {
  .footer-top {
    flex-direction: column;
  }
}

/* ---- Page hero (interior pages) ---- */
.page-head {
  padding: 60px 0 20px;
  text-align: center;
}
.page-head .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.page-head h1 {
  font-size: clamp(28px, 5vw, 42px);
}

/* ---- Article body ---- */
.container.article-body {
  max-width: 760px;
}
.article-body h2 {
  font-size: 42px;
  font-weight: 600;
  margin: 50px 0 20px;
}
.article-body h3 {
  font-size: 19px;
  margin: 32px 0 12px;
}
.article-body p {
  color: #2f2f2f;
  font-size: 16px;
  margin-bottom: 16px;
}
.article-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
  color: #2f2f2f;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body strong {
  color: var(--color-dark);
}

/* ---- Article layout (2-col: content + sticky sidebar) ---- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px 0;
}
.article-main {
  min-width: 0;
}
.article-hero {
  position: relative;
  min-height: 400px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.15) 100%);
}
.article-hero > * {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}
.article-breadcrumb {
  font-size: 14px;
  margin-bottom: 30px;
}
.article-breadcrumb a {
  color: var(--color-white);
}
.article-breadcrumb .sep {
  margin: 0 6px;
}
.article-hero h1 {
  font-size: 42px;
  font-weight: 600;
  max-width: 780px;
  margin-bottom: 30px;
}
.article-date {
  font-size: 20px;
  font-weight: 400;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.article-toc {
  background: var(--color-cream);
  border-radius: 10px;
  padding: 24px;
}
.article-toc h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-border);
}
.toc-list li {
  margin: 0;
}
.toc-list a {
  display: block;
  padding: 9px 0 9px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #55544d;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.toc-list a:hover {
  color: var(--color-dark);
}
.toc-list a.is-active {
  color: var(--color-green);
  border-left-color: var(--color-green);
  font-weight: 600;
}
.article-cta-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
}
.article-cta-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.article-cta-card img {
  width: 100%;
  aspect-ratio: 700/401;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  display: block;
}
.article-cta-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---- Article CTA banner (photo, no button) ---- */
.article-banner-cta {
  position: relative;
  min-height: 400px;
  margin-top: 40px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
}
.article-banner-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.35;
}
.article-banner-cta h2 {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  font-size: 42px;
  font-weight: 600;
  max-width: 700px;
}

/* ---- Related posts (Blog) carousel ---- */
.related-posts-section .section-head {
  margin-bottom: 32px;
}
.related-posts-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.related-posts-track::-webkit-scrollbar {
  display: none;
}
.related-posts-track.inspire-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: visible;
}
.inspire-grid .related-post-card {
  flex: none;
}
.related-post-card {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  height: 400px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
}
.related-post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
}
.related-post-card time,
.related-post-card h3 {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}
.related-post-card time {
  font-size: 18px;
}
.related-post-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .related-post-card {
    flex-basis: 80%;
  }
  .related-posts-track.inspire-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .related-posts-track.inspire-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }
  .article-main {
    padding: 0 20px;
  }
  .article-sidebar {
    display: none;
  }
}

/* ---- Idea hub hero (photo + floating badge) ---- */
.idea-hero {
  position: relative;
  min-height: 460px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px;
  overflow: hidden;
}
.idea-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%);
}
.idea-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: var(--color-white);
}
.idea-hero-content .eyebrow {
  display: block;
  font-size: 30px;
  color: var(--color-white);
  margin-bottom: 4px;
}
.idea-hero-content h1 {
  font-size: 45px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}
.idea-hero-content p {
  color: var(--color-white);
  opacity: 0.92;
  margin-bottom: 24px;
}
.idea-hero-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--color-white);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.idea-hero-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}
.idea-hero-badge-item img {
  width: 32px;
  height: 32px;
}
@media (max-width: 800px) {
  .idea-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
}

/* ---- Idea layout: filter sidebar + grid ---- */
.idea-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.idea-sidebar {
  position: sticky;
  top: 110px;
  background: var(--color-cream);
  border-radius: 10px;
  padding: 24px;
}
.idea-sidebar h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.idea-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.idea-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.idea-filter-btn:hover {
  background: rgba(43, 42, 38, 0.06);
}
.idea-filter-btn.is-active {
  background: var(--color-dark);
  color: var(--color-white);
}
.idea-filter-btn .count {
  font-size: 12px;
  opacity: 0.6;
}
.idea-card.is-hidden {
  display: none;
}
.idea-empty-state {
  color: #8a8a80;
  padding: 40px 0;
  display: none;
}
.idea-empty-state.is-visible {
  display: block;
}

/* ---- Idea card (photo + tag + title + excerpt) ---- */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.idea-grid.idea-grid-related {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.idea-card {
  display: block;
}
.idea-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
}
.idea-card-media img {
  width: 100%;
  aspect-ratio: 1/1.01;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.idea-card:hover .idea-card-media img {
  transform: scale(1.06);
}
.idea-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.idea-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.idea-card p {
  font-size: 14px;
  color: #55544d;
}

/* ---- Idea pagination ---- */
.idea-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.idea-page-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.idea-page-btn:hover:not(:disabled) {
  background: var(--color-dark);
  color: var(--color-white);
}
.idea-page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.idea-page-numbers {
  display: flex;
  gap: 4px;
}
.idea-page-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--color-dark);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.idea-page-num:hover:not(.is-active) {
  background: var(--color-border);
}
.idea-page-num.is-active {
  background: var(--color-dark);
  color: var(--color-white);
}

@media (max-width: 900px) {
  .idea-layout {
    grid-template-columns: 1fr;
  }
  .idea-sidebar {
    position: static;
  }
  .idea-filter-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .idea-filter-btn {
    width: auto;
    border-radius: 999px;
    border: 1px solid var(--color-border);
  }
  .idea-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
  .idea-grid.idea-grid-related {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
  .idea-card-media {
    margin-bottom: 10px;
  }
}

/* ---- Idea fiche: photo + Détails du projet ---- */
.idea-details-row {
  display: flex;
  gap: 45px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 50px auto;
}
.idea-details-row > img {
  flex: 1 1 0;
  max-width: 560px;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.idea-details-box {
  flex: 1 1 320px;
  max-width: 320px;
  align-self: stretch;
  background: var(--color-cream);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.idea-details-box h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}
.idea-spec-list {
  margin: 12px 0 0;
}
.idea-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.idea-spec:last-child {
  border-bottom: none;
}
.idea-spec-label {
  font-size: 14px;
  color: #8a8a80;
  flex-shrink: 0;
}
.idea-spec-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
}
.idea-details-box .btn {
  margin-top: 24px;
  align-self: flex-start;
}
@media (max-width: 800px) {
  .idea-details-row {
    flex-direction: column;
  }
  .idea-details-row > img {
    max-width: 100%;
  }
}

/* ---- Idea sub-category teaser (Jardin / Piscine / Terrasse) ---- */
.idea-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.idea-teaser-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.idea-teaser-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
.idea-teaser-card p {
  font-size: 15px;
  color: #55544d;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .idea-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Featured project card ---- */
.project-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  padding: 20px;
  color: var(--color-white);
}
.project-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}
.project-feature:hover img {
  transform: scale(1.03);
}
.project-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
}
.project-feature-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-block;
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  padding: 0 20px;
  line-height: 34px;
  border-radius: var(--radius-pill);
}
.project-feature-content {
  position: relative;
  z-index: 1;
}
.project-feature-content h3 {
  font-size: 24px;
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 12px;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

/* ---- Featured project half-width row ---- */
.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---- Realisations carousel (image + title + excerpt) ---- */
.realisation-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 60px), transparent 100%);
}
.realisation-track::-webkit-scrollbar {
  display: none;
}
.realisation-card {
  flex: 0 0 32%;
  min-width: 300px;
  scroll-snap-align: start;
  display: block;
}
.realisation-card img {
  width: 100%;
  aspect-ratio: 493 / 300;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}
.realisation-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.realisation-card p {
  font-size: 16px;
  color: var(--color-dark);
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 710 / 816;
  object-fit: cover;
  border-radius: 10px;
}

.contact-form-head {
  text-align: center;
  margin-bottom: 40px;
}

.form-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.form-field label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: #f5f5f5;
  color: var(--color-dark);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  width: 100%;
  justify-content: center;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 51px;
  height: 51px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-info-item p {
  font-size: 16px;
  color: #55544d;
  margin-bottom: 4px;
}

.contact-info-item a {
  color: var(--color-dark);
  font-weight: 600;
}

.contact-info-band {
  background: var(--color-cream);
  padding: 60px 0;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Project wizard (commencer mon projet) ---- */
.wizard {
  max-width: 640px;
  margin: 0 auto;
}
.wizard-progress {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.wizard-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--color-green);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.wizard-steps-label {
  font-size: 13px;
  color: #8a8a80;
  margin-bottom: 32px;
}
.wizard-step {
  display: none;
}
.wizard-step.is-active {
  display: block;
  animation: wizardFadeIn 0.35s ease;
}
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-step h2 {
  font-size: 26px;
  margin-bottom: 24px;
}
.wizard-hint {
  font-size: 14px;
  color: #8a8a80;
  margin-top: -16px;
  margin-bottom: 24px;
}
.wizard-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.wizard-options.wizard-options-list {
  grid-template-columns: 1fr;
}
.wizard-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wizard-options-list .wizard-option {
  justify-content: flex-start;
  padding: 16px 20px;
  text-align: left;
}
.wizard-option:hover {
  border-color: var(--color-dark);
}
.wizard-option.is-selected {
  border-color: var(--color-dark);
  background: var(--color-cream);
}
.wizard-step > .form-field,
.wizard-step .form-row {
  margin-bottom: 18px;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}
.wizard-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.wizard-success.is-visible {
  display: block;
}
.wizard-success h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.wizard-success p {
  color: #55544d;
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error-msg {
  display: none;
  color: #b3261e;
  margin-top: 16px;
}
.form-error-msg.is-visible {
  display: block;
}
@media (max-width: 600px) {
  .wizard-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 26px;
  z-index: 200;
}
.cookie-banner p {
  font-size: 13px;
  color: #55544d;
  margin-bottom: 16px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  padding: 11px 20px;
  font-size: 13px;
}
.cookie-banner.is-hidden {
  display: none;
}

/* ---- WordPress content areas (page.php, single-realisation.php, single-idee_amenagement.php) ---- */
.page-content,
.project-content {
  padding: 60px 0;
}
.page-content h2,
.project-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  margin: 40px 0 16px;
}
.page-content h3,
.project-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 12px;
}
.page-content p,
.project-content p {
  margin-bottom: 16px;
  color: #444338;
  line-height: 1.7;
}
.page-content ul,
.page-content ol,
.project-content ul,
.project-content ol {
  margin: 0 0 16px 20px;
  color: #444338;
  line-height: 1.7;
}
.page-content img,
.project-content img,
.page-content figure,
.project-content figure {
  border-radius: 10px;
  margin: 24px 0;
}
.page-content .wp-block-columns,
.project-content .wp-block-columns {
  gap: 24px;
}
