/* =============================================================================
   SECTIONS — une sous-partie par bloc de la page d'accueil
   1. Hero · 2. Vision · 3. Services · 4. Projets
   5. ADN · 6. Méthode · 7. Chiffres & témoignage · 8. Appel à l'action
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(28px, 4vw, 52px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}

.hero__title {
  margin-top: 1.1rem;
  font-weight: 800;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--bordeaux);
}

.hero__title em {
  display: inline-block;
  font-weight: 700;
}

/* Mot manuscrit mis en avant dans les titres */
.accent-word {
  font-size: 1.05em;
  color: var(--bordeaux);
}

.hero__text {
  max-width: 40ch;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* Collage photo : une arche pleine hauteur à gauche, deux vues empilées à droite.
   Les dégradés servent de fond pendant le chargement des images. */
.collage {
  position: relative;
  min-height: clamp(380px, 44vw, 540px);
}

.collage__arch {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 200px 200px 14px 14px;
  background: linear-gradient(160deg, #cdbfa0 0%, #b9a986 42%, #8f9d8f 43%, #6f8388 100%);
  box-shadow: 0 24px 50px -30px rgba(62, 44, 35, 0.55);
}

.collage__portrait {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 57%;
  border-radius: 12px;
  background: linear-gradient(160deg, #d8c6ac, #b98d6e 70%, #7c3b32);
  box-shadow: 0 24px 50px -30px rgba(62, 44, 35, 0.55);
}

.collage__table {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 38%;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7d9bf, #cbb489);
  box-shadow: 0 24px 50px -30px rgba(62, 44, 35, 0.55);
}

/* Pastille posée sur la couture entre les deux colonnes */
.collage__badge {
  position: absolute;
  top: 44%;
  left: 41%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(86px, 10vw, 118px);
  aspect-ratio: 1;
  font-weight: 700;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-align: center;
  color: var(--bordeaux);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
}

/* Manuscrit posé sur la photo : crème et ombré pour rester lisible */
.collage__script {
  position: absolute;
  bottom: 6%;
  left: 5%;
  z-index: 3;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(40, 25, 18, 0.65);
  transform: rotate(-6deg);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-block: 0.5rem;
  text-align: right;
}

.hero__aside .sparkle {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--gold);
}

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

  .hero__aside {
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 0.5rem;
    text-align: left;
  }
}

/* -----------------------------------------------------------------------------
   2. Vision
   -------------------------------------------------------------------------- */
.vision {
  background: var(--cream-soft);
  border-block: 1px solid var(--line);
}

.vision__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  min-height: clamp(240px, 26vw, 300px);
}

.vision__photo {
  align-self: stretch;
  min-height: 260px;
  border-radius: 0 10px 10px 0;
}

.vision__photo-label {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 14px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.vision__main {
  padding-block: clamp(28px, 4vw, 48px);
}

.vision__title {
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  color: var(--bordeaux);
}

.vision__title em {
  font-weight: 600;
}

.vision__text {
  align-self: center;
  max-width: 40ch;
  font-size: 0.95rem;
}

.vision__aside {
  align-self: center;
}

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

  .vision__photo {
    min-height: 180px;
  }

  .vision__aside {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   3. Services
   -------------------------------------------------------------------------- */
.services {
  padding-block: clamp(56px, 8vw, 104px);
}

.services__grid {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: clamp(28px, 5vw, 64px);
}

.services__title {
  margin: 0.7rem 0 1rem;
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.02;
  color: var(--bordeaux);
}

.services__intro {
  max-width: 30ch;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2.2rem;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service__icon {
  width: 30px;
  height: 30px;
  color: var(--ink);
}

.service__number {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}

.service h3 {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--bordeaux);
}

.service p {
  max-width: 26ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

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

  .services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* -----------------------------------------------------------------------------
   4. Projets
   -------------------------------------------------------------------------- */
.projects {
  padding-bottom: clamp(56px, 8vw, 100px);
}

.projects__grid {
  display: grid;
  grid-template-columns: 0.9fr 2fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.projects__title {
  margin: 0.7rem 0 1.2rem;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.04;
  color: var(--bordeaux);
}

.projects__intro {
  max-width: 34ch;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.projects__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.project figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
}

.project .media {
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.project:hover .media {
  transform: scale(1.03);
}

.project__title {
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bordeaux);
}

.project__tags {
  margin-top: 0.2rem;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.projects__aside {
  align-self: center;
}

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

  .projects__aside {
    display: none;
  }
}

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

/* -----------------------------------------------------------------------------
   5. ADN — bandeau bordeaux
   -------------------------------------------------------------------------- */
.dna {
  padding-block: clamp(44px, 6vw, 72px);
  color: var(--cream);
  background: var(--bordeaux);
}

.dna__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.dna__header {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.dna__label {
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.dna__rule {
  width: 1px;
  height: 64px;
  background: var(--line-light);
}

.dna__title {
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  color: var(--cream);
}

.dna__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.dna__icon {
  height: 26px;
  margin-bottom: 0.7rem;
  color: var(--gold);
}

.dna__item h3 {
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
}

.dna__item p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(244, 236, 222, 0.78);
}

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

  .dna__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .dna__label {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   6. Méthode
   -------------------------------------------------------------------------- */
.method {
  padding-block: clamp(56px, 8vw, 96px);
}

.method__grid {
  display: grid;
  grid-template-columns: 0.9fr 2.4fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.method__title {
  margin-top: 0.7rem;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: var(--bordeaux);
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.step {
  border-top: 1.5px solid var(--line);
}

.step__number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-dark);
}

/* Filet horizontal qui prolonge le numéro */
.step__number::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.step h3 {
  margin: 0.6rem 0 0.4rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bordeaux);
}

.step p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.method__aside {
  position: relative;
  align-self: center;
  text-align: center;
}

.method__note {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: var(--bordeaux);
  transform: rotate(-5deg);
}

.method__olive {
  width: 60px;
  margin: 0.6rem auto 0;
  color: var(--gold);
}

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

  .method__aside {
    text-align: left;
  }
}

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

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

/* -----------------------------------------------------------------------------
   7. Chiffres & témoignage
   -------------------------------------------------------------------------- */
.figures {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.figures__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.figures__eyebrow {
  margin-bottom: 1.4rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.4rem 1.8rem;
  align-content: center;
}

.stat__value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--bordeaux);
}

.stat__label {
  max-width: 14ch;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.testimonial {
  position: relative;
  padding-left: clamp(24px, 4vw, 44px);
  border-left: 1px solid var(--line);
}

.testimonial__label {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.testimonial q {
  font-family: var(--font-title);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  color: var(--bordeaux);
  quotes: "\201C" "\201D";
}

.testimonial__author {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.testimonial__author b {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--ink);
}

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial {
    padding-top: 1.6rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* -----------------------------------------------------------------------------
   8. Appel à l'action
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--bordeaux);
}

/* Photo de fond fondue dans le bordeaux, pour la matière */
.cta__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}

/* Rayures diagonales évoquant l'ombre d'un palmier */
.cta__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(0, 0, 0, 0.5) 22px 26px);
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: auto 1.6fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}

.cta__eyebrow,
.cta__note {
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.cta__eyebrow {
  max-width: 14ch;
  line-height: 1.8;
}

.cta__note {
  line-height: 1.9;
  text-align: right;
}

.cta__main {
  text-align: center;
}

.cta__title {
  margin-bottom: 1.4rem;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--cream);
}

.cta__text {
  max-width: 46ch;
  margin: -0.6rem auto 1.6rem;
  font-size: 0.92rem;
  color: rgba(244, 236, 222, 0.82);
}

.cta__title em {
  font-weight: 700;
}

.cta__title .accent-word {
  color: var(--gold);
}

@media (max-width: 860px) {
  .cta__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta__eyebrow,
  .cta__note {
    max-width: none;
    text-align: center;
  }
}
