/*
Theme Name: LGAM Conseil
Theme URI: https://www.lgamconseil.fr
Author: Thomas Bellanger
Description: Thème sur-mesure pour LGAM Conseil — cabinet de gestion de patrimoine et de courtage en prêt immobilier à Angers. Élégant, rapide, sans page builder. Bleu marine, or & crème.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lgam-conseil
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Couleurs de marque — « Élégance naturelle » */
  --navy:        #153a5b;
  --navy-deep:   #0f2a44;
  --navy-soft:   #24547e;
  --sage:        #a6b7a4;
  --sage-soft:   #c6d1c4;
  --sage-deep:   #7c8f78;
  --gold:        #b99a5e;
  --gold-soft:   #d3ba8c;
  --gold-deep:   #977c46;

  /* Neutres chauds */
  --cream:       #ede7dd;
  --paper:       #f7f6f3;
  --white:       #ffffff;
  --ink:         #2b3230;
  --muted:       #6b7069;
  --line:        rgba(21, 58, 91, .14);
  --line-soft:   rgba(21, 58, 91, .07);

  /* Typo */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:    "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rythme */
  --wrap:      1200px;
  --wrap-text: 760px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --section:   clamp(4rem, 9vw, 8rem);
  --radius:    4px;
  --radius-lg: 10px;
  --shadow:    0 18px 50px -24px rgba(15, 42, 68, .35);
  --shadow-sm: 0 8px 24px -16px rgba(15, 42, 68, .4);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Reset léger
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

/* ==========================================================================
   3. Typographie
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--navy); }
blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: .2rem 0 .2rem 1.6rem;
  margin: 2rem 0;
}

/* Élément « eyebrow » : petit label doré espacé, signature de la marque */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--light { color: var(--gold-deep); }
.eyebrow--light::before { background: var(--gold); }

.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: var(--wrap-text); }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 1rem; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Ornement : petite branche végétale (signature « naturelle ») */
.rule-gold {
  width: 116px; height: 26px; border: 0; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='26' viewBox='0 0 110 26'%3E%3Cpath d='M6 13H104' stroke='%23977c46' stroke-width='1.2' stroke-linecap='round'/%3E%3Cg fill='%23b99a5e'%3E%3Cellipse cx='30' cy='8' rx='7.5' ry='3.2' transform='rotate(-24 30 8)'/%3E%3Cellipse cx='30' cy='18' rx='7.5' ry='3.2' transform='rotate(24 30 18)'/%3E%3Cellipse cx='52' cy='7' rx='7.5' ry='3.2' transform='rotate(-24 52 7)'/%3E%3Cellipse cx='52' cy='19' rx='7.5' ry='3.2' transform='rotate(24 52 19)'/%3E%3Cellipse cx='74' cy='8' rx='7.5' ry='3.2' transform='rotate(-24 74 8)'/%3E%3Cellipse cx='74' cy='18' rx='7.5' ry='3.2' transform='rotate(24 74 18)'/%3E%3Cellipse cx='100' cy='13' rx='6.5' ry='2.8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left center; background-size: contain;
  margin: 1.5rem 0;
}
.section-head--center .rule-gold { background-position: center; margin-inline: auto; }

/* ==========================================================================
   5. Boutons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: rgba(21,58,91,.04); }
.btn-ghost--light { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost--light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   6. En-tête / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(15,42,68,.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 84px;
}

/* Wordmark texte (net à toute taille, sur fond clair) */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--navy);
}
.brand-sub {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: .35rem;
  padding-left: .12em;
}
.brand img { max-height: 56px; width: auto; }
.brand-logo { height: clamp(40px, 4.4vw, 52px); width: auto; display: block; }
.brand:hover { opacity: .85; transition: opacity .2s var(--ease); }

/* Conteneur nav + CTA : alignés en ligne sur desktop */
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }

/* Navigation */
.main-nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.7rem); }
.main-nav a {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: .4rem;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { width: 100%; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.header-cta .btn { padding: .78rem 1.25rem; font-size: .74rem; letter-spacing: .12em; }

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter) 2.5rem;
    display: none;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .main-nav a { display: block; padding: 1rem 0; font-size: .95rem; }
  .main-nav a::after { display: none; }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; gap: 1rem; }
  .header-cta .btn { justify-content: center; padding: 1rem; }
}

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(82vh, 700px);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  color: var(--white);
  isolation: isolate;
  background: var(--navy-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; object-fit: cover; object-position: 78% center; width: 100%; height: 100%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(15,42,68,.96) 0%, rgba(15,42,68,.9) 34%, rgba(15,42,68,.62) 62%, rgba(15,42,68,.38) 100%),
    linear-gradient(0deg, rgba(15,42,68,.55) 0%, rgba(15,42,68,.05) 45%);
}
.hero__inner { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 1.6rem; }
.hero .lead { color: rgba(255,255,255,.86); margin-bottom: 2.4rem; max-width: 560px; }
.hero .btn-row { margin-top: .5rem; }

/* Bandeau de réassurance sous le hero */
.trust-bar { background: var(--navy-deep); color: rgba(255,255,255,.9); }
.trust-bar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.trust-bar li {
  background: var(--navy-deep);
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
}
.trust-bar svg { width: 26px; height: 26px; color: var(--gold-soft); flex-shrink: 0; }
@media (max-width: 780px) { .trust-bar ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust-bar ul { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. Cartes & contenus
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.4rem; text-wrap: balance; margin-bottom: .85rem; }
.card p { color: var(--muted); font-size: 1rem; }

/* Icône ronde */
.icon-badge {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(185,154,94,.18);
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.icon-badge svg { width: 26px; height: 26px; }

/* Listes à coches dorées */
.checklist { display: grid; gap: .8rem; margin: 1.4rem 0; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--navy .checklist li { color: rgba(255,255,255,.9); }

/* ==========================================================================
   9. Domaines d'expertise (accueil)
   ========================================================================== */
.expertise-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expertise-card:hover::before { transform: scaleY(1); }
.expertise-card h3 { font-size: 1.4rem; text-wrap: balance; min-height: 2.3em; margin-bottom: 1.05rem; }
.expertise-card .more {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .5rem;
}
.expertise-card .more svg { width: 15px; transition: transform .25s var(--ease); }
.expertise-card:hover .more svg { transform: translateX(4px); }

/* ==========================================================================
   10. Sections services (page détaillée)
   ========================================================================== */
.service-block { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-soft); }
.service-block:last-child { border-bottom: 0; }
.service-block__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__aside .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: rgba(185,154,94,.4);
  line-height: 1;
}
.service-block h3 { margin: .4rem 0 .3rem; }
.service-block .subtitle { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--gold-deep); margin-bottom: 1.2rem; }
.service-block .closing { font-style: italic; color: var(--navy); margin-top: 1.2rem; }
@media (max-width: 820px) {
  .service-block__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
}

/* ==========================================================================
   11. Approche / étapes (Écouter · Conseiller · Accompagner)
   ========================================================================== */
.steps { counter-reset: step; }
.step .step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   12. Bande CTA
   ========================================================================== */
.cta-band { position: relative; text-align: center; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 95%);
}
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 1.2rem auto 2.2rem; }
.cta-band .eyebrow, .cta-band .eyebrow--light { color: #fff; }
.cta-band .eyebrow::before, .cta-band .eyebrow--light::before { background: rgba(255,255,255,.85); }
/* Sur la bande or : bouton secondaire en contour blanc */
.cta-band .is-style-lgam-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .is-style-lgam-light .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }

/* ==========================================================================
   13. Page « Qui suis-je »
   ========================================================================== */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.founder__photo::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius-lg);
}
.founder__name { font-family: var(--font-display); font-size: 2rem; color: var(--navy); }
.founder__role { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-top: .2rem; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder__photo::after { inset: 12px -12px -12px 12px; } }

/* ==========================================================================
   14. Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.3rem; }
.field label { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185,154,94,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-hp { position: absolute; left: -9999px; opacity: 0; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-top: .3rem; }
.checkbox-group label {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: none; letter-spacing: normal; font-weight: 400;
  color: var(--ink); cursor: pointer; font-size: .95rem;
}
.checkbox-group input { width: auto; accent-color: var(--gold-deep); }

.form-notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.6rem; font-size: .95rem; }
.form-notice--ok  { background: rgba(46,125,90,.1); border: 1px solid rgba(46,125,90,.35); color: #245c44; }
.form-notice--err { background: rgba(178,58,58,.08); border: 1px solid rgba(178,58,58,.3); color: #8f2f2f; }

.contact-aside { background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); }
.contact-aside h3 { color: var(--white); margin-bottom: 1.6rem; }
.contact-aside .info { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-aside .info:last-child { border-bottom: 0; }
.contact-aside .info svg { width: 22px; height: 22px; color: var(--gold-soft); flex-shrink: 0; margin-top: .2rem; }
.contact-aside .info a { color: rgba(255,255,255,.9); }
.contact-aside .info a:hover { color: var(--gold-soft); }
.contact-aside .info span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .2rem; }

/* ==========================================================================
   15. Blog
   ========================================================================== */
.page-hero { background: var(--cream); color: var(--ink); text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--muted); max-width: 620px; margin: 1.2rem auto 0; }
.breadcrumb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--gold-deep); }

.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.6rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .8rem; }
.post-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--navy); }
.post-card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.2rem; }
.post-card .more { margin-top: auto; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }

.prose { max-width: var(--wrap-text); margin-inline: auto; }
.prose h2 { margin: 2.2rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 .8rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.3rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose ol { list-style: decimal; padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius-lg); margin: 2rem 0; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.pagination .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--navy); }

/* ==========================================================================
   16. Pied de page
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-brand img { max-width: 140px; margin-bottom: 1.4rem; border-radius: var(--radius); }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: var(--white); font-family: var(--font-sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col .info-line { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-col .info-line svg { width: 17px; height: 17px; color: var(--gold-soft); flex-shrink: 0; margin-top: .25rem; }

.legal-strip { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.8rem; font-size: .78rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ==========================================================================
   17. Divers & animations
   ========================================================================== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .8rem 1.2rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.aligncenter { margin-inline: auto; }

/* ==========================================================================
   18. Contenu Gutenberg (blocs éditables en back-office)
   ========================================================================== */

/* Zone de contenu : les blocs de 1er niveau gèrent leur largeur.
   Filet de sécurité pour un bloc « nu » ajouté par le client. */
.entry-content > :where(:not(.alignfull):not(.alignwide):not(.wp-block-group)) {
  max-width: var(--wrap-text);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.entry-content > * { margin-block: 0; }

/* Sections = groupes pleine largeur. Réutilise .section / --cream / --navy / .cta-band.
   La largeur max et les gouttières sont gérées par le conteneur interne .wrap. */

/* Rythme vertical générique (façon blockGap) dans le contenu éditable */
.entry-content :where(.wp-block-group, .wp-block-column) > * { margin-block: 0; }
.entry-content :where(.wp-block-group, .wp-block-column) > * + * { margin-block-start: 1.2rem; }
.entry-content .wrap { width: 100%; }
.entry-content .wrap > * + * { margin-block-start: 1.5rem; }
.entry-content .wrap > .wp-block-columns { margin-block-start: clamp(2.2rem, 5vw, 3.6rem); }
.entry-content .section-head--center { margin-bottom: 0; }

/* --- Hero (groupe pleine largeur).
   Fond par défaut sur l'élément → remplaçable par le champ « Image d'arrière-plan » du bloc. --- */
.lgam-hero {
  position: relative;
  color: var(--ink);
  isolation: isolate;
  background-color: var(--cream);
  background-image: url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding-block: clamp(4.5rem, 10vw, 7rem);
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  min-height: min(78vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.lgam-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(247,246,243,.97) 0%, rgba(247,246,243,.92) 32%, rgba(247,246,243,.62) 60%, rgba(247,246,243,.18) 100%),
    linear-gradient(0deg, rgba(247,246,243,.55) 0%, rgba(247,246,243,0) 42%);
}
.lgam-hero > * { max-width: 620px; margin-block: 0; position: relative; }
.lgam-hero > * + * { margin-block-start: 1.5rem; }
.lgam-hero h1 { color: var(--navy); }
.lgam-hero .lead { color: var(--muted); }
.lgam-hero .wp-block-buttons { margin-block-start: 2.2rem; }

/* --- Bandeau de réassurance en blocs --- */
.trust-strip.section { padding-block: 0; background: var(--gold); color: #fff; }
.trust-strip .wp-block-columns {
  max-width: var(--wrap); margin-inline: auto; gap: 1px; background: rgba(255,255,255,.22);
}
.trust-strip .wp-block-column {
  background: var(--gold);
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  display: flex; align-items: center; gap: 1rem;
  font-size: .95rem; font-weight: 500; color: #fff; margin: 0;
}
.trust-strip .wp-block-column > * { margin-block: 0; }
.trust-strip .wp-block-column p { margin: 0; }
.trust-strip .icon-badge { width: 30px; height: 30px; background: none; margin: 0; flex-shrink: 0; color: #fff; }
.trust-strip .icon-badge svg { width: 28px; height: 28px; }

/* --- Cartes en blocs (groupes .card dans des colonnes) --- */
.wp-block-columns.lgam-cards { gap: clamp(1.3rem, 2.4vw, 2rem); align-items: stretch; }
.wp-block-columns.lgam-cards .wp-block-column { display: flex; }
.wp-block-group.card { display: flex; flex-direction: column; width: 100%; }
.wp-block-group.card > * { margin-block: 0; }
.wp-block-group.card > * + * { margin-block-start: .85rem; }
.wp-block-group.card .icon-badge { margin-bottom: .5rem; }
.wp-block-group.card h3 { font-size: 1.4rem; text-wrap: balance; }
.wp-block-group.card p { color: var(--muted); font-size: 1rem; }
.wp-block-group.card .wp-block-buttons,
.wp-block-group.card .more { margin-block-start: auto; padding-top: 1.2rem; }
.wp-block-group.card .more { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.wp-block-group.card .more a { color: inherit; text-decoration: none; }
.wp-block-group.card .more a:hover { color: var(--navy); }

/* --- Sections colonnes image + texte (fondateur, services) --- */
.lgam-media .wp-block-image { margin: 0; }
.lgam-media .wp-block-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.lgam-media.wp-block-columns { align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }

/* Blocs services (2 colonnes alternées) */
.lgam-service .wp-block-column > * { margin-block: 0; }
.lgam-service .wp-block-column > * + * { margin-block-start: .9rem; }
.lgam-service .icon-badge { margin-bottom: .3rem; }
.lgam-service .wp-block-list { margin-block-start: 1.1rem; }
.entry-content .subtitle { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--gold-deep); margin-block-start: .2rem; }
.entry-content .closing { font-style: italic; color: var(--navy); margin-block-start: 1.1rem; }

/* --- Boutons Gutenberg (base + variantes) --- */
.wp-block-button__link { transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: .5rem; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background-color: var(--navy-deep); color: #fff; }
/* « Contour clair » repensé pour fonds clairs : contour marine */
.is-style-lgam-light .wp-block-button__link { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.is-style-lgam-light .wp-block-button__link:hover { border-color: var(--navy-deep); background: rgba(21,58,91,.06); color: var(--navy); transform: translateY(-2px); }
.is-style-lgam-navy .wp-block-button__link { background: var(--navy); color: #fff; }
.is-style-lgam-navy .wp-block-button__link:hover { background: var(--navy-deep); color: #fff; }
.is-style-lgam-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.is-style-lgam-outline .wp-block-button__link:hover { background: rgba(21,58,91,.05); border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

/* Boutons centrés dans les sections à contenu centré (bande CTA, intro…) */
.section-head--center .wp-block-buttons { justify-content: center; }

/* --- Prose (pages de texte en blocs) --- */
.entry-content .prose-block h2 { margin-block: 2rem 0; }
.entry-content .wp-block-list { padding-left: 1.3rem; }
.entry-content .wp-block-separator.is-gold {
  border: 0; height: 2px; width: 56px; background: var(--gold); margin: 1.6rem 0; opacity: 1; color: var(--gold);
}
.section-head--center .wp-block-separator.is-gold,
.has-text-align-center + .wp-block-separator.is-gold { margin-inline: auto; }

@media (max-width: 781px) {
  .wp-block-columns.lgam-cards { gap: 1.2rem; }
}
