/* =========================================================
   Saprina Exantus – Pédicure Podologue à Artigues-près-Bordeaux
   Thème : Anton (titres) / Open Sans (texte) / DM Sans (H5)
   Dimensions relevées sur la maquette Duda (écran 1536 px, contenu 1200 px)
   ========================================================= */

:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #ff5a00;
  --orange-link: #e8590c;
  --orange-light: #f29b70;
  --tan: #c9ab86;
  --green: #7aa114;
  --green-dark: #688b0f;
  --cream: #f8f5ee;
  --card-grey: #ebe9e3;
  --text: #1a1a1a;
  --text-light: #555555;
  --border: #e6e3dc;
  --container: 1200px;
  --font-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;
  --font-alt: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after { 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(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { display: block; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .5em;
  color: var(--black);
}
h1 { font-size: 60px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-family: var(--font-alt); font-size: 15px; font-weight: 500; margin: 0 0 .5em; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.justify { text-align: justify; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .25s ease;
}
.btn:hover,
.btn:focus-visible { background: var(--orange); }

.link-secondary,
.link-more {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-secondary:hover,
.link-more:hover { color: var(--green); }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--green);
  color: #1d2600;
  font-size: 13px;
  text-align: center;
  height: 26px;
  line-height: 26px;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  height: 93px;
  display: flex;
  align-items: center;
  position: relative;
}
.main-nav { margin-left: 120px; }
.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a,
.main-nav button.submenu-toggle {
  color: var(--orange-link);
  font-family: var(--font-body);
  font-size: 19.5px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
}
.main-nav a:hover { color: var(--green); }

.has-submenu { position: relative; }
.has-submenu > .submenu-row { display: flex; align-items: center; gap: 6px; }
.submenu-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.submenu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.submenu a { display: block; padding: 8px 20px; font-size: 15px; }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-submenu:hover .submenu-toggle svg { transform: rotate(180deg); }

.header-cta {
  margin-left: auto;
  width: 199px;
  height: 50px;
  padding: 0 10px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--orange-link);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--border); }
.footer-main {
  display: grid;
  grid-template-columns: 1fr 590px;
  column-gap: 27px;
  padding-top: 72px;
  padding-bottom: 60px;
}
.footer-contact { padding-top: 14px; }
.footer-contact p { margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.footer-contact strong { font-weight: 700; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--orange); }
.footer-contact .address { color: var(--text-light); font-weight: 300; }
.footer-name { font-family: var(--font-title); font-size: 24px !important; margin-top: 22px !important; }
.footer-cta .btn { width: 100%; height: 58px; font-size: 15px; }
.footer-cta .footer-tagline { font-family: var(--font-title); font-size: 18px; margin: 14px 0 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 8px 0 50px;
  font-size: 13px;
}

/* =========================================================
   ACCUEIL
   ========================================================= */
.home-hero { padding: 97px 0 77px; text-align: center; }
.home-hero h1 { font-size: 60px; line-height: 1.35; margin: 0; }
.home-hero-image {
  height: 436px;
  background: url("../img/hero-podologue-artigues.jpg") center 50% / cover no-repeat;
}

/* Spécialités */
.specialties { padding: 125px 0 150px; }
.specialties-title { text-align: center; margin-bottom: 45px; }
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 105px;
  max-width: 1140px;
  margin: 0 auto;
}
.specialty-item .icon { width: 52px; height: 52px; color: var(--green); margin-bottom: 15px; }
.specialty-item h3 { font-size: 24px; margin-bottom: 36px; }

/* À propos */
.about { background: var(--cream); overflow: hidden; }
.about-inner {
  display: grid;
  grid-template-columns: 698px 1fr 443px;
  max-width: 1340px;
  min-height: 653px;
  margin: 0 auto;
}
.about-text { grid-column: 1; padding: 125px 0 80px; }
.about-text h2 { font-size: 47px; margin-bottom: 22px; }
.about-text p { font-size: 15px; line-height: 1.63; color: var(--text-light); text-align: justify; margin: 0; }
.about-text .link-more { display: block; width: max-content; margin: 44px auto 0; }
.about-image { grid-column: 3; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* Vidéo */
.video-section { padding: 98px 0 90px; }
.video-section h2 { font-size: 60px; margin-bottom: 18px; }
.video-section .lead { font-size: 13px; color: var(--text-light); margin-bottom: 26px; }
.video-wrap {
  position: relative;
  width: 785px;
  max-width: 100%;
  height: 365px;
  margin: 0 auto;
  background: #111;
  overflow: hidden;
}
.video-wrap iframe,
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; cursor: pointer; background: #000; padding: 0; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .92; }
.video-facade .yt-title {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 12px 16px;
  color: #fff; font-size: 14px; text-align: left;
  background: linear-gradient(rgba(0,0,0,.65), transparent);
  display: flex; align-items: center; gap: 10px;
}
.video-facade .yt-title .yt-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #6a4a9c; flex: 0 0 34px;
  display: grid; place-items: center; font-weight: 700;
}
.video-facade .yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.video-facade .yt-watch {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(0,0,0,.8); color: #fff; font-size: 13px;
  padding: 7px 12px; border-radius: 3px;
}

/* Avis */
.reviews { background: var(--cream); padding: 67px 0 70px; }
.reviews-inner { max-width: 1536px; margin: 0 auto; padding: 0 35px; }
.reviews .overline { font-size: 15px; letter-spacing: .22em; color: var(--text-light); margin-bottom: 10px; }
.reviews h2 { font-size: 40px; margin-bottom: 72px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 33px 31px; text-align: left; }
.review-card {
  margin: 0;
  background: #ece9e3;
  min-height: 330px;
  padding: 48px 33px 48px;
  border-radius: 22px;
}
.review-card .stars { display: flex; gap: 6px; margin-bottom: 42px; }
.review-card .stars svg { width: 19px; height: 19px; fill: var(--green); }
.review-card blockquote { margin: 0 0 44px; font-size: 16.2px; line-height: 22px; font-weight: 300; color: #333; }
.review-card blockquote p { margin: 0; }
.review-card figcaption { margin: 0; }
.review-card cite { font-size: 16.2px; font-style: normal; font-weight: 300; color: #333; }

/* Articles récents */
.recent-posts { border-top: 1px solid var(--border); padding: 80px 0 130px; }
.recent-posts h2 { font-size: 40px; margin-bottom: 40px; }
.posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { display: block; height: 185px; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 26px 13px 6px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 22px; line-height: 1.42; margin-bottom: 14px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card p {
  font-size: 15px;
  line-height: 1.42;
  color: var(--text);
  max-height: calc(4 * 1.42em);
  overflow: hidden;
  margin-bottom: 18px;
}
.post-card .read-more { margin-top: auto; color: var(--orange-light); font-size: 16px; font-weight: 300; text-decoration: none; }
.post-card .read-more:hover { color: var(--orange); }
.recent-posts .more { text-align: center; margin-top: 45px; }
.recent-posts .more .btn { width: 245px; height: 52px; }

/* Bandeau prise de rendez-vous */
.rdv-band { background: var(--cream); min-height: 350px; display: flex; align-items: center; }
.rdv-band-inner {
  width: 100%;
  max-width: 1174px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 807px 276px;
  align-items: center;
}
.rdv-band h2 { font-size: 36px; margin-bottom: 14px; }
.rdv-band p { font-size: 16px; line-height: 1.5; color: var(--text-light); margin: 0; }
.rdv-band .btn { width: 276px; height: 52px; }

/* La podologie s'adresse à tous */
.for-all { padding: 112px 0 140px; }
.for-all-inner {
  max-width: 1432px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 803px 443px;
  column-gap: 133px;
  align-items: center;
}
.for-all h2 { font-size: 22px; line-height: 1.45; margin-bottom: 12px; }
.for-all p,
.for-all li { font-size: 14px; line-height: 1.5; color: var(--text); }
.for-all p { margin-bottom: 10px; }
.for-all ul { list-style: none; padding: 0; margin: 0; }
.for-all .btn { margin-top: 40px; width: 255px; }
.for-all img { width: 443px; height: 628px; object-fit: cover; object-position: 34% center; border-radius: 14px; }

/* =========================================================
   PAGES INTERNES
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: #000;
  background-size: cover;
  background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.page-hero .container { position: relative; z-index: 1; padding-top: 50px; padding-bottom: 44px; }
.page-hero h1 { color: var(--white); font-size: 55px; line-height: 1.05; margin-bottom: 24px; }
.page-hero p { max-width: 540px; font-size: 18px; font-weight: 300; line-height: 1.39; margin: 0; }
.page-hero--text16 p { font-size: 16px; line-height: 1.36; }
.page-hero--center { min-height: 236px; text-align: center; }
.page-hero--center h1 { font-size: 60px; margin: 0; }
.page-hero--center .container { display: flex; justify-content: center; }
.page-hero--plain::before { background: transparent; }

/* Section 1 : photo à gauche, texte à droite */
.service-intro { padding: 80px 0; }
.service-intro .container {
  display: grid;
  grid-template-columns: 500px 480px;
  column-gap: 200px;
  align-items: center;
}
.service-intro .media img {
  width: 500px;
  max-width: 100%;
  height: var(--h, 800px);
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
.service-intro h2,
.service-detail h2 { font-size: 30px; line-height: 1.43; margin-bottom: 14px; }

.rich-text { font-size: 16px; line-height: 1.35; font-weight: 300; color: var(--text); }
.rich-text strong { color: var(--black); font-weight: 700; }
.rich-text ul { padding-left: 22px; margin: 0 0 .5em; }
.rich-text li { margin-bottom: 0; }
.rich-text h3 { font-size: 20px; margin: 22px 0 6px; }
.rich-text p { margin-bottom: .55em; }
.rich-text.justify p,
.rich-text.justify li { text-align: justify; }
.service-intro .btn,
.service-detail .btn { margin-top: 28px; width: 221px; height: 58px; font-size: 18px; }

/* Section 2 : fond crème, texte à gauche, photo collée au bord droit */
.service-detail { background: var(--cream); overflow: hidden; }
.detail-grid {
  display: grid;
  grid-template-columns: 480px 1fr 500px;
  padding-left: max(24px, calc(50% - 600px));
}
.service-detail .content { grid-column: 1; padding: 80px 0 80px; }
.service-detail .media {
  grid-column: 3;
  align-self: start;
  margin-top: var(--top, 0px);
  padding-bottom: 80px;
}
.service-detail .media img { width: 100%; height: var(--h, 600px); object-fit: cover; }
.service-detail--text .detail-grid { grid-template-columns: 760px; }

/* Section 3 : questions */
.questions { padding: 60px 0 58px; }
.questions .container {
  display: grid;
  grid-template-columns: 1fr 600px;
  align-items: center;
}
.questions .text { padding-left: 15px; }
.questions h2 { font-size: 40px; margin-bottom: 20px; }
.questions p { font-size: 15.5px; color: var(--text-light); margin-bottom: 44px; }
.questions .actions { display: flex; align-items: center; gap: 128px; }
.questions .btn { width: 221px; height: 58px; font-size: 15px; }
.questions .link-secondary { font-size: 15px; }
.questions .media img { width: 600px; height: 520px; object-fit: cover; border-radius: 16px; }

/* Carte rendez-vous sur image */
.rdv-card-section { padding: 66px 0 72px; }
.rdv-card-section--tight { padding-top: 15px; }
.rdv-card-bg {
  position: relative;
  min-height: 505px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
}
.rdv-card { background: var(--white); width: 557px; max-width: 100%; padding: 54px 40px 50px; text-align: center; }
.rdv-card h2 { font-size: 40px; margin-bottom: 24px; }
.rdv-card p { font-size: 15px; line-height: 32px; color: var(--text-light); margin-bottom: 26px; }
.rdv-card .btn { width: 254px; height: 56px; font-size: 15px; }
.rdv-card--large p { font-size: 18px; line-height: 36px; }

/* ---------- Qui je suis ---------- */
.about-hero { overflow: hidden; }
.about-hero-inner { display: grid; grid-template-columns: 1fr 642px; min-height: 845px; }
.about-hero-text { align-self: start; padding: 104px 98px 60px max(24px, calc(50vw - 668px)); }
.about-hero-text h1 { font-size: 24px; margin-bottom: 24px; }
.about-hero-text p { font-size: 17.5px; line-height: 1.31; text-align: justify; margin: 0; color: var(--black); }
.about-hero-text .link-secondary { display: inline-block; margin-top: 64px; font-size: 18px; }
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section.approach { padding: 121px 0 0; }
.approach .container { max-width: 848px; }
.approach h2 { font-size: 40px; margin-bottom: 10px; }
.approach ul { font-size: 16px; color: var(--text-light); line-height: 32px; padding-left: 16px; margin: 0; }
.approach p { font-size: 16px; color: var(--text-light); line-height: 32px; margin: 0; }
.approach strong { color: var(--black); }

.section.pro-dev { padding: 125px 0 190px; }
.pro-dev h2 { font-size: 40px; text-align: center; margin-bottom: 72px; }
.pro-dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 27px;
  max-width: 1117px;
  margin: 0 auto;
  text-align: center;
}
.pro-dev-grid h3 { font-size: 18px; margin-bottom: 26px; }
.pro-dev-grid p { font-size: 18px; line-height: 36px; color: var(--text-light); margin: 0; }
.pro-dev-grid .small p { font-size: 16px; line-height: 32px; }

.section.approaches { padding: 80px 0 95px; }
.approaches h2 { font-size: 40px; text-align: center; margin-bottom: 66px; }
.approaches-grid {
  display: grid;
  grid-template-columns: 448px 448px;
  column-gap: 130px;
  row-gap: 70px;
  max-width: 1122px;
  margin: 0 auto;
}
.approach-item .num {
  width: 70px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
}
.approach-item .num svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--green); }
.approach-item .num span { position: relative; }
.approach-item h3 { font-size: 18px; margin-bottom: 18px; }
.approach-item p { font-size: 18px; line-height: 36px; color: var(--text-light); margin: 0; }

/* ---------- Spécialités ---------- */
.specialities-intro { padding: 107px 0 116px; }
.specialities-intro p { max-width: 740px; margin: 0 auto; font-size: 16.5px; line-height: 31px; color: var(--text-light); text-align: center; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 481px; }
.spec-row > * { min-width: 0; }
.spec-text {
  background: var(--cream);
  padding: 70px 107px 60px 69px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spec-text .icon { width: 63px; height: 63px; color: var(--black); margin-bottom: 18px; }
.spec-text h3 { font-size: 20px; margin-bottom: 10px; }
.spec-text p { font-size: 17.8px; line-height: 35px; color: var(--text-light); text-align: justify; margin-bottom: 18px; }
.spec-text .link-more { align-self: flex-start; font-size: 15px; }
.spec-media { position: relative; }
.spec-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog ---------- */
.blog-head { padding: 92px 0 62px; text-align: center; }
.blog-head h1 { margin-bottom: 46px; }
.blog-search { position: relative; width: 359px; max-width: 100%; margin: 0 auto; }
.blog-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 30px;
  padding: 0 50px 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
}
.blog-search input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.blog-search svg { position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; }
.blog-list { padding-bottom: 72px; }
.blog-list .posts-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.blog-list .post-card .thumb { height: 190px; }
.blog-list .post-card .body { padding: 19px 15px 10px; }
.blog-list .post-card h3 { font-size: 22px; line-height: 1.45; margin-bottom: 18px; }
.blog-list .post-card p { font-size: 15px; line-height: 1.42; max-height: calc(4 * 1.42em); }
.blog-empty { text-align: center; color: var(--text-light); display: none; }

/* ---------- Contact ---------- */
.contact-layout { position: relative; }
.contact-top { background: var(--cream); }
.contact-top-text { padding: 120px 0 113px; }
.contact-top-text .inner { max-width: 587px; }
.contact-top h1 { font-size: 48px; line-height: 1.5; margin-bottom: 28px; }
.contact-top-text p { font-weight: 700; font-size: 16px; line-height: 1.375; margin: 0; }
.contact-top-image { height: 432px; background: url("../img/contact-podologue-artigues.jpg") center bottom / cover no-repeat; }
.contact-form-card {
  position: absolute;
  top: 102px;
  right: max(24px, calc(50% - 600px));
  width: 608px;
  max-width: calc(100% - 48px);
  background: var(--white);
  padding: 73px 45px 65px;
  z-index: 2;
}
.contact-form-card h2 { font-size: 40px; text-align: center; margin-bottom: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 31px; }
.form-field { margin-bottom: 21px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 15px; font-weight: 300; line-height: 26px; margin: 0; }
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  height: 31px;
  border: 0;
  border-bottom: 1px solid var(--green);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 2px 0;
  border-radius: 0;
}
.form-field textarea { height: 36px; min-height: 36px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-bottom: 2px solid var(--orange); }
.contact-form-card .btn { width: 202px; height: 51px; padding: 0; margin-top: 25px; font-size: 15px; }
.form-status { margin-top: 16px; font-size: 14px; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #c62828; }
.hp-field { position: absolute; left: -9999px; }

.cabinet { padding: 102px 0; }
.cabinet .container { display: grid; grid-template-columns: 1fr 710px; column-gap: 37px; align-items: start; }
.cabinet h2 { font-size: 40px; margin-bottom: 30px; }
.cabinet p { font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.cabinet p:first-of-type { margin-bottom: 22px; }
.cabinet p a { text-decoration: underline; text-underline-offset: 3px; }
.cabinet p a:hover { color: var(--orange); }
.map-wrap { height: 354px; background: #eee; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95) brightness(1.05); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateX(-60px); transition: opacity .9s ease, transform .9s ease; }
.reveal--right { transform: translateX(60px); }
.reveal--up { transform: translateY(40px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1260px) {
  .main-nav { margin-left: 0; }
  .main-nav > ul { gap: 22px; }
  .main-nav a, .main-nav button.submenu-toggle { font-size: 15px; }
  .about-inner { grid-template-columns: 1fr 50px 40%; padding-left: 24px; }
  .for-all-inner { grid-template-columns: 1fr 40%; column-gap: 50px; padding: 0 24px; }
  .for-all img { width: 100%; height: auto; aspect-ratio: 443 / 628; }
  .rdv-band-inner { grid-template-columns: 1fr auto; padding: 0 24px; }
  .service-intro .container { grid-template-columns: 1fr 1fr; column-gap: 60px; }
  .detail-grid { grid-template-columns: 1fr 50px 40%; padding-left: 24px; }
  .service-detail--text .detail-grid { grid-template-columns: 1fr; padding-right: 24px; }
  .questions .container { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .questions .media img { width: 100%; height: auto; aspect-ratio: 600 / 520; }
  .questions .actions { gap: 60px; }
  .approaches-grid { grid-template-columns: 1fr 1fr; column-gap: 60px; padding: 0 24px; }
  .contact-top-text .inner { max-width: calc(100% - 620px); }
  .cabinet .container { grid-template-columns: 1fr 1.4fr; }
}

@media (max-width: 1100px) {
  .header-cta { width: auto; font-size: 14px; padding: 0 16px; }
  .main-nav > ul { gap: 16px; }
  .main-nav a, .main-nav button.submenu-toggle { font-size: 14px; }
}

@media (max-width: 1024px) {
  h1, .home-hero h1, .page-hero h1, .contact-top h1 { font-size: 46px; }
  h2, .video-section h2 { font-size: 34px; }
  .header-inner { height: 76px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 300px; max-width: 85vw;
    margin: 0;
    background: var(--white);
    box-shadow: 0 0 40px rgba(0,0,0,.2);
    transform: translateX(-105%);
    transition: transform .3s ease;
    padding: 90px 30px 30px;
    overflow-y: auto;
    z-index: 200;
  }
  .nav-open .main-nav { transform: none; }
  .nav-open .nav-toggle { position: fixed; left: 20px; top: 38px; z-index: 210; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .main-nav a, .main-nav button.submenu-toggle { font-size: 16px; }
  .has-submenu { width: 100%; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 0 14px; min-width: 0; }
  .has-submenu.is-open .submenu { display: block; }
  .submenu a { padding: 6px 0; }
  .header-cta { height: 42px; font-size: 13px; }

  .about-inner, .for-all-inner, .rdv-band-inner, .service-intro .container, .detail-grid,
  .questions .container, .cabinet .container, .about-hero-inner { grid-template-columns: 1fr; }
  .about-inner { padding: 0; }
  .about-text { padding: 70px 24px 50px; }
  .about-image, .service-detail .media, .service-detail .content { grid-column: 1; }
  .about-image img { aspect-ratio: 4 / 5; height: auto; }
  .rdv-band { padding: 60px 0; }
  .rdv-band .btn { margin-top: 24px; }
  .for-all img { max-width: 460px; }
  .for-all-inner > div:last-child { margin-top: 40px; }
  .service-intro .container { row-gap: 40px; }
  .service-intro .media img, .service-detail .media img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .detail-grid { padding: 0 24px; }
  .service-detail .content { padding: 70px 0 30px; }
  .service-detail .media { margin-top: 0; padding-bottom: 70px; }
  .questions .container { row-gap: 40px; }
  .about-hero-text { padding: 60px 24px; }
  .about-hero-inner { min-height: 0; }
  .about-hero-image img { aspect-ratio: 4 / 5; height: auto; }
  .pro-dev-grid, .specialties-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .spec-text { padding: 50px 40px; }
  .reviews-inner { padding: 0 24px; }
  .contact-top-text .inner { max-width: none; }
  .contact-form-card { position: relative; top: auto; right: auto; width: auto; max-width: none; margin: -120px 24px 0; padding: 50px 30px; }
  .contact-form-card h2 { margin-bottom: 50px; }
  .contact-top-text { padding: 80px 0 60px; }
  .video-wrap { height: auto; aspect-ratio: 785 / 365; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  h1, .home-hero h1, .page-hero h1, .contact-top h1 { font-size: 38px; }
  h2, .video-section h2, .questions h2, .rdv-card h2, .approach h2, .pro-dev h2, .approaches h2, .cabinet h2, .contact-form-card h2 { font-size: 30px; }
  .topbar { font-size: 11px; }
  .header-cta { display: none; }
  .home-hero { padding: 60px 0 50px; }
  .home-hero-image { height: 260px; }
  .specialties { padding: 80px 0; }
  .specialties-grid, .pro-dev-grid, .approaches-grid, .reviews-grid,
  .posts-grid, .blog-list .posts-grid--3, .footer-main, .form-grid { grid-template-columns: 1fr; }
  .specialties-grid { text-align: center; row-gap: 60px; }
  .specialty-item .icon { margin: 0 auto 15px; }
  .specialty-item h3 { margin-bottom: 14px; }
  .video-section { padding: 70px 0 80px; }
  .review-card { min-height: 0; padding: 36px 28px; }
  .spec-row { grid-template-columns: 1fr; min-height: 0 !important; }
  .spec-row .spec-media { order: -1; }
  .spec-media img { aspect-ratio: 4 / 3; }
  .spec-text { padding: 40px 24px; }
  .rdv-card { padding: 36px 22px; }
  .rdv-card-bg { min-height: 0; }
  .questions .actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-hero { min-height: 240px; }
  .contact-form-card { margin: -80px 16px 0; padding: 40px 22px; }
  .contact-top-image { height: 260px; }
  .footer-main { padding-top: 50px; row-gap: 30px; }
  .section.approach, .section.pro-dev, .section.approaches { padding: 70px 0; }
  .for-all { padding: 70px 0; }
  .recent-posts { padding: 60px 0 80px; }
}

/* ===== PAGES AJOUTÉES : POURQUOI CONSULTER + ARTICLES ===== */

/* ---------- Pourquoi consulter ---------- */
.page-hero--tall { min-height: 370px; }
.page-hero .hero-text { max-width: 540px; font-size: 16px; font-weight: 300; line-height: 1.35; }
.page-hero .hero-text p { max-width: none; margin: 0; font-size: inherit; line-height: inherit; }
.page-hero .hero-text ul { margin: 0; padding-left: 22px; }
.page-hero .hero-text strong { font-weight: 700; }

.motifs { padding: 92px 0 47px; }
.motifs h2 { font-size: 60px; text-align: center; margin-bottom: 50px; }
.motifs-layout { position: relative; max-width: 1330px; height: 720px; margin: 0 auto; }
.motifs-photo { position: absolute; left: 8px; top: 0; width: 481px; height: 720px; object-fit: cover; z-index: 1; }
.motifs-panel { position: absolute; left: 300px; top: 37px; bottom: 0; width: 488px; background: #eef1f5; }
.motifs-cards { position: absolute; left: 688px; top: 59px; width: 641px; z-index: 2; display: flex; flex-direction: column; gap: 15px; }
.motif-card { background: var(--white); border-radius: 6px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); padding: 16px 20px 18px; }
.motif-card h3 { font-size: 24px; margin-bottom: 8px; }
.motif-card .rich-text { line-height: 1.5; }
.motif-card .rich-text p { margin-bottom: 0; }
.motif-card .rich-text .spaced { margin-top: 20px; }

.faq { padding: 0 0 37px; }
.faq-head { text-align: center; margin-bottom: 0; }
.faq-item:first-child summary { padding-top: 19px; }
.faq-head h2 { font-size: 40px; margin-bottom: 4px; }
.faq-head p { font-size: 15.5px; color: var(--text-light); margin: 0; }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 27px 60px 17px 15px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  margin-top: 4px;
  background: #333;
  transition: transform .2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--orange); }
.faq-answer { padding: 18px 15px 22px; }
.faq-answer p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 300; color: #333; }

/* ---------- Articles de blog ---------- */
.article-hero { height: 255px; background-size: cover; background-position: center; }
.article-head {
  position: relative;
  width: 800px;
  max-width: calc(100% - 48px);
  margin: -61px auto 0;
  padding: 36px 40px 0;
  background: var(--white);
  text-align: center;
}
.article-head h1 { font-size: 60px; line-height: 1.48; margin: 0 0 10px; }
.article-meta { font-size: 16px; color: var(--text-light); margin: 0; }
.article-body { max-width: 1148px; margin: 0 auto; padding: 100px 24px 0; }
.article-body h2 { font-size: 40px; line-height: 1.5; margin: 4px 0 0; }
.article-body h3 { font-size: 24px; line-height: 1.4; margin: 2px 0 0; }
.article-body p,
.article-body li { font-size: 16px; line-height: 1.34; font-weight: 300; color: var(--text); margin: 0; }
.article-body strong { font-weight: 700; color: var(--black); }
.article-body ul { margin: 0; padding-left: 22px; }
.post-nav { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1148px; margin: 0 auto; padding: 60px 24px 0; }
.post-nav a { font-size: 16px; font-weight: 300; color: #9a9a9a; text-decoration: underline; text-underline-offset: 2px; }
.post-nav a:hover { color: var(--orange); }
.post-nav .older { margin-top: 12px; }
.post-nav .newer { margin-left: auto; }
.share { display: flex; justify-content: center; gap: 14px; padding-top: 170px; }
.share a { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.share a:hover { transform: scale(1.1); }
.share svg { width: 24px; height: 24px; }
.related { max-width: 1148px; margin: 0 auto; padding: 56px 24px 62px; }
.related .posts-grid { grid-template-columns: repeat(3, 1fr); gap: 19px; }
.related .post-card .thumb { height: 190px; }
.related .post-card .body { padding: 18px 15px 0; }
.related .post-card h3 { font-size: 18px; line-height: 1.45; margin-bottom: 16px; }
.related .post-card p { font-size: 15px; line-height: 1.38; font-weight: 300; color: #9a9a9a; max-height: calc(3 * 1.38em); margin: 0; }

@media (max-width: 1360px) {
  .motifs-layout { max-width: none; margin: 0 24px; }
  .motifs-cards { left: auto; right: 0; width: calc(100% - 520px); }
  .motifs-panel { left: 260px; width: auto; right: 30%; }
}

@media (max-width: 1024px) {
  .motifs h2 { font-size: 40px; }
  .motifs-layout { height: auto; margin: 0 24px; }
  .motifs-photo, .motifs-cards { position: static; }
  .motifs-photo { width: 100%; max-width: 481px; height: auto; aspect-ratio: 481 / 720; margin: 0 auto; }
  .motifs-panel { display: none; }
  .motifs-cards { width: auto; margin-top: 30px; }
  .article-head h1 { font-size: 44px; }
  .article-body h2 { font-size: 32px; }
  .article-body { padding-top: 60px; }
  .share { padding-top: 90px; }
  .related .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .page-hero--tall { min-height: 0; }
  .motifs h2 { font-size: 30px; }
  .faq-item summary { font-size: 18px; }
  .article-hero { height: 180px; }
  .article-head { padding: 26px 18px 0; }
  .article-head h1 { font-size: 32px; }
  .article-body h2 { font-size: 26px; }
  .article-body h3 { font-size: 20px; }
  .post-nav { flex-direction: column; gap: 10px; }
  .post-nav .newer { margin-left: 0; }
  .related .posts-grid { grid-template-columns: 1fr; }
}
