/* =========================================================
   Joanie Lavoie photo — feuille de style
   Pour changer une couleur partout sur le site, modifiez-la
   seulement ici, dans :root.
   ========================================================= */
:root {
  --lin: #F4EFE8;        /* fond principal */
  --lin-fonce: #EAE3D8;  /* encadrés */
  --avoine: #DCD3C6;     /* fond des images en attente */
  --sapin: #2E3A33;      /* texte et boutons */
  --sauge: #56634F;      /* accent */
  --sauge-pale: #E3E7DE; /* sections vertes pâles */
  --texte-doux: #3F4A43;
  --trait: #C9BFB0;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --largeur: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--lin); color: var(--sapin);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sapin); }
a:hover { color: var(--sauge); }
:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 30px; line-height: 1.1; }
em { font-style: italic; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 112px; padding-bottom: 112px; }
.surtitre { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sauge); margin-bottom: 14px; }
.doux { color: var(--texte-doux); }
.petit { font-size: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid var(--sapin); background: var(--sapin); color: var(--lin);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--sauge); border-color: var(--sauge); color: var(--lin); }
.btn-contour { background: transparent; color: var(--sapin); font-weight: 500; }
.btn-contour:hover { background: var(--sapin); color: var(--lin); }
.btn-clair { background: var(--lin); color: var(--sapin); border-color: var(--lin); }
.btn-clair:hover { background: #fff; color: var(--sapin); border-color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Images ---------- */
.photo { background: var(--avoine); border-radius: 2px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- En-tête ---------- */
.entete { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.logo { text-decoration: none; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--sapin); }
.logo em { color: var(--sauge); }
.menu { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.menu a { text-decoration: none; }
.menu a[aria-current="page"] { font-weight: 600; }
.menu .btn { min-height: 44px; padding: 10px 22px; }
.menu-bouton { display: none; }

@media (max-width: 860px) {
  .menu-bouton {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    font: inherit; font-size: 15px; background: none; border: 1px solid var(--sapin); border-radius: 999px; color: var(--sapin); cursor: pointer;
  }
  .menu {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    background: var(--lin); border: 1px solid var(--trait); border-radius: 6px;
  }
  .menu.ouvert { display: flex; }
  .menu a { padding: 12px 8px; }
  .menu .btn { margin-top: 8px; }
}

/* ---------- Héro ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 96px; }
.hero-texte { flex: 1 1 440px; min-width: 0; }
.hero-texte .intro { margin-top: 28px; max-width: 520px; font-size: 19px; }
.hero-texte .boutons { margin-top: 36px; }
.hero-texte .note { margin-top: 22px; font-size: 14px; color: var(--sauge); }
.hero-photos { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-photos .grande { grid-row: span 2; height: 520px; }
.hero-photos .petite { height: 253px; }
@media (max-width: 600px) {
  .hero-photos .grande { height: 380px; }
  .hero-photos .petite { height: 183px; }
}

/* ---------- Bande ---------- */
.bande { border-top: 1px solid #D6CDBF; border-bottom: 1px solid #D6CDBF; }
.bande .conteneur { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 48px; justify-content: space-between; font-size: 14px; color: var(--texte-doux); }

/* ---------- Titres de section ---------- */
.tete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.tete-section h2 { max-width: 660px; }
.tete-section p { max-width: 380px; }

/* ---------- Chapitres ---------- */
.grille-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.chapitre { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.chapitre .photo { height: 360px; }
.chapitre .photo img { transition: transform .6s ease; }
.chapitre:hover .photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .chapitre:hover .photo img { transform: none; } }
.chapitre span { font-size: 15px; color: var(--texte-doux); }

/* ---------- Portfolio ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filtre { font: inherit; font-size: 14px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #B9AF9F; background: transparent; color: var(--sapin); cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--sapin); border-color: var(--sapin); color: var(--lin); }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.galerie .photo { height: 400px; }
.galerie .photo[hidden] { display: none; }

/* ---------- L'expérience ---------- */
.sombre { background: var(--sapin); color: var(--lin); }
.sombre .surtitre { color: #C9D2C2; }
.sombre .doux, .sombre p { color: #DCE2D7; }
.experience { display: flex; flex-wrap: wrap; gap: 64px; }
.experience-intro { flex: 1 1 360px; min-width: 0; }
.experience-intro p { margin-top: 24px; }
.etapes { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; }
.etapes h3 { font-size: 26px; margin-bottom: 8px; color: var(--lin); }
.etapes h3::before { content: counter(etape) ". "; color: #C9D2C2; }
.etapes p { font-size: 15px; }

/* ---------- Encadré offre ---------- */
.encadre { background: var(--lin-fonce); border-radius: 4px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.encadre-texte { flex: 1 1 420px; min-width: 0; }
.encadre-texte > p { margin-top: 20px; }
.liste { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.encadre .photo { flex: 1 1 340px; min-width: 0; height: 460px; }
.encadre .boutons { margin-top: 32px; align-items: center; }

/* ---------- À propos ---------- */
.apropos { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.apropos .photo { flex: 1 1 320px; height: 480px; min-width: 0; }
.apropos-texte { flex: 1.3 1 420px; min-width: 0; }
.apropos-texte p { margin-top: 18px; max-width: 560px; }

/* ---------- Témoignages ---------- */
.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.temoignages figure { margin: 0; border-top: 1px solid #B9AF9F; padding-top: 24px; }
.temoignages blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.temoignages figcaption { margin-top: 16px; font-size: 14px; color: var(--texte-doux); }

/* ---------- Guide gratuit / formulaires ---------- */
.vert { background: var(--sauge-pale); }
.guide { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.guide .photo { flex: 0 1 260px; height: 320px; }
.guide-texte { flex: 1 1 420px; min-width: 0; }
.guide-texte > p { margin-top: 16px; }
.formulaire-ligne { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 24px; }
.champ { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; }
.champ label { font-size: 14px; }
.champ input, .champ select, .champ textarea {
  font: inherit; padding: 13px 16px; border: 1px solid #8C9686; border-radius: 4px;
  background: #FBF8F3; color: var(--sapin); min-height: 48px; width: 100%;
}
.formulaire-ligne .champ input { border-radius: 999px; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--texte-doux); margin-top: 14px; }
.consentement input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.cache { position: absolute; left: -9999px; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.insta .photo { aspect-ratio: 1 / 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid #B9AF9F; padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid #B9AF9F; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--texte-doux); }

/* ---------- Appel final ---------- */
.appel { text-align: center; max-width: 820px; }
.appel h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.appel p { margin: 24px auto 0; max-width: 520px; }
.appel .btn { margin-top: 36px; }

/* ---------- Pied de page ---------- */
.pied { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--texte-doux); }
.pied .logo { font-size: 24px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Page tarifs ---------- */
.intro-page { text-align: center; max-width: 860px; padding-top: 64px; padding-bottom: 72px; }
.intro-page p:last-child { margin: 24px auto 0; max-width: 600px; }
.forfaits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.forfait { border: 1px solid var(--trait); border-radius: 4px; padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; }
.forfait.vedette { border: 2px solid var(--sapin); background: var(--lin-fonce); }
.pastille { align-self: flex-start; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: var(--sapin); color: var(--lin); padding: 6px 12px; border-radius: 999px; }
.forfait h2 { font-size: 38px; }
.prix { font-size: 15px; }
.prix strong { font-size: 34px; font-weight: 600; }
.forfait ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid #D6CDBF; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.forfait .btn { margin-top: auto; }
.mention { margin-top: 28px; text-align: center; font-size: 14px; color: var(--texte-doux); }

.types { display: flex; flex-direction: column; gap: 72px; }
.type { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; scroll-margin-top: 24px; }
.type:nth-child(even) { flex-direction: row-reverse; }
.type .photo { flex: 1 1 360px; height: 380px; min-width: 0; }
.type-texte { flex: 1 1 420px; min-width: 0; }
.type-texte h2 { font-size: 44px; margin-bottom: 12px; }

.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.mini { background: var(--lin); padding: 28px; border-radius: 4px; }
.mini h3 { font-size: 26px; }
.mini p { margin-top: 6px; font-size: 14px; color: var(--texte-doux); }

.contact { max-width: 760px; }
.contact form { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.deux-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* ---------- Pages texte (confidentialité, merci) ---------- */
.texte-long { max-width: 760px; padding-top: 64px; padding-bottom: 112px; }
.texte-long h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 32px; }
.texte-long h2 { font-size: 30px; margin: 40px 0 12px; }
.texte-long p, .texte-long li { color: var(--texte-doux); }
.texte-long p + p { margin-top: 12px; }
