/*
Theme Name: Christelle Raffray
Version: 1.0.2
Description: Présentation du site de Christelle, accueil modifiable dans Pages.
Text Domain: christelle-raffray
*/
:root {
  --paper: #fbfaf6;
  --paper-strong: #f3ede3;
  --white: #ffffff;
  --sage: #a9bca3;
  --sage-dark: #6f8368;
  --brown: #4f463d;
  --muted: #6f665e;
  --line: #ded6c8;
  --shadow: rgba(79, 70, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  background: var(--paper);
  color: var(--brown);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--sage-dark);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--paper-strong);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 246, 0.9), rgba(251, 250, 246, 0.54), rgba(251, 250, 246, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 600px;
  color: var(--brown);
  font-size: 22px;
  line-height: 1.45;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--sage);
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--brown);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 116px;
  padding: 28px clamp(18px, 4vw, 46px);
  background: var(--white);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band span {
  margin-top: 6px;
  color: var(--muted);
}

.photo-strip {
  width: min(1120px, calc(100vw - 36px));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 16px;
}

.photo-strip figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px var(--shadow);
}

.photo-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--paper-strong);
}

.photo-strip figure:nth-child(4) img {
  object-fit: contain;
  padding: 16px;
}

.photo-strip figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.soft-panel,
article,
.quote,
address,
.price-row > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px var(--shadow);
}

.soft-panel {
  padding: 30px;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 7px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

article {
  min-height: 190px;
  padding: 24px;
}

article p,
.price-row p {
  margin-bottom: 0;
}

.image-frame {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.image-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 6px;
}

.steps {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.prices {
  width: 100%;
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  background: var(--paper-strong);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.price-row > div {
  padding: 24px;
}

.quote {
  padding: 28px;
}

.quote img {
  width: min(100%, 360px);
  margin-bottom: 24px;
  border-radius: 6px;
}

blockquote {
  margin: 0;
  color: var(--brown);
  font-size: 24px;
  line-height: 1.4;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

address {
  display: grid;
  gap: 8px;
  padding: 30px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--brown);
  font-size: 22px;
}

address a {
  color: var(--sage-dark);
  font-weight: 700;
  text-decoration: none;
}

footer {
  padding: 30px 18px 44px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer img {
  width: min(520px, 82vw);
  margin: 0 auto 18px;
}

footer p {
  margin-bottom: 4px;
  font-size: 15px;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .intro-band,
  .photo-strip,
  .split,
  .reverse,
  .grid,
  .price-row,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: calc(100vw - 32px);
    margin: 0 auto;
  }

  .lead {
    font-size: 19px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }
}

body.admin-bar .site-header{top:32px} .wp-block-freeform{width:100%} img{max-width:100%} .screen-reader-text{position:absolute;left:-9999px}

/* Preserve natural proportions of the card and leaf frieze. */
.quote img { width:100%; max-width:360px; height:auto !important; object-fit:contain; margin-left:auto; margin-right:auto; }
footer img { width:min(520px,82vw); height:auto !important; object-fit:contain; }
