/*
 Theme Name:   Hello Atelier Audrey
 Theme URI:    https://atelier-audrey.fr
 Description:  Child theme de Hello Elementor pour L'Atelier d'Audrey
 Author:       KOMKAB - Régis Kumar
 Author URI:   https://komkab.fr
 Template:     hello-elementor
 Version:      1.3.3
 Text Domain:  hello-atelier-audrey
*/

/* ============================================================
   DESIGN SYSTEM — L'Atelier d'Audrey
   Palette, typographie, variables globales
   ============================================================ */

:root {
  /* Palette principale */
  --rose:          #C9A090;
  --rose-soft:     #efe3dc;
  --rose-wash:     #f6ece7;
  --charbon:       #1A1A18;
  --charbon-soft:  #36332f;
  --terracotta:    #B56A4E;
  --terracotta-deep: #9a563c;
  --bg:            #FAFAF8;
  --line:          #d9d2cb;
  --muted:         #8a857e;

  /* Typographie */
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans:  'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --max:       1280px;
  --gutter:    clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
}

/* ============================================================
   RESET DE BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--charbon);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHIE — Primitives
   ============================================================ */

/* Surtitre de section (label fin + ligne terracotta) */
.aa-eyebrow,
.elementor-widget-text-editor .aa-eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--charbon);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.aa-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--terracotta);
  display: inline-block;
  flex-shrink: 0;
}

/* H1 — Titres héros (Cormorant Garamond, très grand) */
.elementor-widget-heading .elementor-heading-title.aa-h1,
h1.aa-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.aa-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose-soft);
}

/* H2 — Titres de section (Jost SemiBold) */
.elementor-widget-heading .elementor-heading-title.aa-h2,
h2.aa-h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.aa-h2 .aa-accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}

/* H2 équipe — Cormorant plus grand */
.aa-h2-serif {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
}
.aa-h2-serif em {
  font-style: italic;
  color: var(--terracotta);
}

/* H3 — Titres de cartes (Jost Regular 20px) */
.elementor-widget-heading .elementor-heading-title.aa-h3,
h3.aa-h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}

/* H3 dans les cartes besoin (Cormorant 30px) */
.aa-card-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

/* H3 dans les bénéfices (Cormorant 26px) */
.aa-benefit-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* Chapeau / lede */
.aa-lede {
  font-size: 17px;
  max-width: 56ch;
  color: var(--charbon-soft);
}

/* ============================================================
   BOUTONS
   ============================================================ */

/* Bouton Terracotta plein — CTA principal */
.aa-btn,
.elementor-button.aa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
  text-decoration: none;
}

.aa-btn--primary,
.elementor-button.aa-btn--primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.aa-btn--primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: #fff !important;
}

/* Bouton contour terracotta */
.aa-btn--ghost,
.elementor-button.aa-btn--ghost {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.aa-btn--ghost:hover {
  background: var(--terracotta);
  color: #fff !important;
}

/* Bouton charbon plein */
.aa-btn--charbon,
.elementor-button.aa-btn--charbon {
  background: var(--charbon);
  color: var(--bg);
  border-color: var(--charbon);
}
.aa-btn--charbon:hover {
  background: var(--charbon-soft);
  color: var(--bg) !important;
}

/* Bouton contour blanc (sur fond sombre) */
.aa-btn--ghost-white,
.elementor-button.aa-btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.aa-btn--ghost-white:hover {
  background: #fff;
  color: var(--terracotta);
  border-color: #fff;
}

/* Lien inline terracotta avec underline */
.aa-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease, gap 0.3s ease;
}
.aa-link:hover {
  gap: 14px;
  color: var(--terracotta-deep);
}

/* ============================================================
   LAYOUT — Conteneurs et sections
   ============================================================ */

.aa-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.aa-section {
  padding: var(--section-y) 0;
  position: relative;
}

/* Fonds de section */
.aa-bg-rose-wash { background: var(--rose-wash); }
.aa-bg-charbon   { background: var(--charbon); color: var(--bg); }
.aa-bg-default   { background: var(--bg); }

/* Séparateurs architecturaux */
.aa-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.aa-rule--dash { border-top-style: dashed; }

/* ============================================================
   DÉCORATION — Cercle SVG en filigrane
   ============================================================ */

.aa-circle-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.aa-circle-deco svg { width: 100%; height: auto; display: block; }

/* ============================================================
   HEADER — Navigation fixe
   ============================================================ */

.aa-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 250, 248, 0.94);
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
  transition: background 0.3s ease;
}

.aa-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

/* Logo dans le header */
.aa-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.aa-brand__mark {
  width: 44px; height: 44px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  background-color: var(--rose);
}
.aa-brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}
.aa-brand__name em {
  font-style: italic;
  font-weight: 400;
}

/* Navigation principale */
.aa-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.aa-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
  padding: 6px 0;
  color: var(--charbon);
  transition: color 0.3s ease;
}
.aa-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transition: right 0.35s ease;
}
.aa-nav a:hover { color: var(--terracotta); }
.aa-nav a:hover::after { right: 0; }

/* Numéro de téléphone dans header */
.aa-phone-mini {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--charbon-soft);
}

/* ============================================================
   HERO — Section pleine hauteur
   ============================================================ */

.aa-hero {
  min-height: 100vh;
  position: relative;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
}

/* Photo de fond hero */
.aa-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.aa-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,26,24,0.55) 0%, rgba(26,26,24,0.25) 45%, rgba(26,26,24,0) 70%),
    linear-gradient(180deg, rgba(26,26,24,0.35) 0%, rgba(26,26,24,0) 30%, rgba(26,26,24,0.55) 100%);
}
.aa-hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contenu texte hero */
.aa-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 80px var(--gutter) 40px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.aa-hero .aa-eyebrow { color: #fff; }
.aa-hero .aa-eyebrow::before { background: #fff; }
.aa-hero h1 { color: #fff; max-width: 14ch; margin-top: 32px; }

.aa-hero__sub {
  color: rgba(255,255,255,0.85);
  margin-top: 28px;
  font-size: 17px;
  max-width: 52ch;
  display: flex;
  align-items: center;
  gap: 14px;
}
.aa-hero__sub .aa-dot {
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  flex-shrink: 0;
}

.aa-hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Indicateur scroll vertical */
.aa-hero__scroll {
  position: absolute;
  bottom: 130px; right: var(--gutter);
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.aa-hero__scroll::after {
  content: "";
  width: 1px; height: 60px;
  background: linear-gradient(transparent, #fff);
  display: block; margin-top: 12px;
}

/* ============================================================
   HERO — Bande des 5 services (bas du hero)
   ============================================================ */

.aa-hero__strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.18);
  background: rgba(26,26,24,0.55);
  backdrop-filter: blur(10px);
}
.aa-hero__strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  color: #fff;
}
.aa-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.aa-strip-item__ico {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.aa-strip-item__ico svg {
  width: 100%; height: 100%;
  stroke: #fff;
  fill: none;
  stroke-width: 1.2;
}
.aa-strip-item__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

/* Services cliquables sous le hero */
.aa-hero-svc { transition: opacity 0.25s ease; }
.aa-hero-svc:hover { opacity: 0.65; }

/* ============================================================
   SECTION 2 — Besoins (3 cartes asymétriques)
   ============================================================ */

.aa-need-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 80px;
}

.aa-need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.aa-need-card {
  position: relative;
  padding: 36px 0 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: padding-top 0.4s ease;
}
.aa-need-card:nth-child(2) { margin-top: 80px; }
.aa-need-card:nth-child(3) { margin-top: 40px; }
.aa-need-card:hover { padding-top: 24px; }

.aa-need-card__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.aa-need-card__ico {
  width: 56px; height: 56px;
}
.aa-need-card__ico svg {
  width: 100%; height: 100%;
  stroke: var(--charbon);
  fill: none;
  stroke-width: 1;
}
.aa-need-card p {
  color: var(--charbon-soft);
  font-size: 15px;
  max-width: 28ch;
}

/* ============================================================
   SECTION 3 — Bénéfices (grille 2×2)
   ============================================================ */

.aa-benefits-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 90px;
}

.aa-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.aa-benefit {
  padding: 48px 40px 48px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.aa-benefit:nth-child(even) {
  padding-left: 60px;
  border-left: 1px solid var(--line);
  padding-right: 0;
}

.aa-benefit__ico {
  width: 48px; height: 48px;
}
.aa-benefit__ico svg {
  width: 100%; height: 100%;
  stroke: var(--charbon);
  fill: none;
  stroke-width: 1;
}

.aa-benefit__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.aa-benefit p {
  font-size: 15px;
  color: var(--charbon-soft);
  max-width: 36ch;
}

/* ============================================================
   SECTION 4 — Équipe
   ============================================================ */

.aa-team {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}

.aa-team__photo-wrap {
  aspect-ratio: 1021 / 2000;
  max-height: 720px;
  background: var(--rose-wash);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 30px 60px -20px rgba(40, 28, 22, 0.35),
    0 12px 24px -12px rgba(40, 28, 22, 0.2);
}
.aa-team__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.aa-team__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--charbon);
  line-height: 1.4;
  margin: 32px 0;
  padding-left: 22px;
  border-left: 1px solid var(--terracotta);
  max-width: 38ch;
}

.aa-team__sig {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0 32px;
}
.aa-team__sig__line { flex: 1; height: 1px; background: var(--line); }
.aa-team__sig__name {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--terracotta);
}

/* ============================================================
   SECTION 5 — Projets (bento grid)
   ============================================================ */

.aa-projects-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 56px;
  gap: 40px;
}

/* Filtres de catégories */
.aa-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.aa-filter-btn {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charbon-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--sans);
}
.aa-filter-btn.is-active,
.aa-filter-btn:hover {
  background: var(--charbon);
  color: #fff;
  border-color: var(--charbon);
}

/* Filtres du blog : pilules à la charte (réf. page Nos projets) */
.aa-blog-filters .aa-filter-btn {
  padding: 13px 28px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--charbon-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.aa-blog-filters .aa-filter-btn.is-active,
.aa-blog-filters .aa-filter-btn:hover {
  background: var(--charbon);
  color: #fff;
  border-color: var(--charbon);
}

/* Grille bento */
.aa-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.aa-proj {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--rose);
}
.aa-proj--a { grid-column: span 4; grid-row: span 2; }
.aa-proj--b { grid-column: span 2; grid-row: span 2; }
.aa-proj--c { grid-column: span 2; grid-row: span 2; }
.aa-proj--d { grid-column: span 2; grid-row: span 2; }
.aa-proj--e { grid-column: span 2; grid-row: span 2; }

.aa-proj__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.aa-proj:hover .aa-proj__bg { transform: scale(1.04); }

.aa-proj__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,24,0) 40%, rgba(26,26,24,0.85) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}
.aa-proj__overlay .aa-proj__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-soft);
}
.aa-proj__overlay h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-top: 8px;
  transform: translateY(10px);
  transition: transform 0.45s ease;
}
.aa-proj:hover .aa-proj__overlay { opacity: 1; }
.aa-proj:hover .aa-proj__overlay h3 { transform: translateY(0); }

.aa-proj__corner {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-size: 16px;
}
.aa-proj:hover .aa-proj__corner { opacity: 1; transform: scale(1); }

/* ============================================================
   SECTION 6 — Blog (liste horizontale)
   ============================================================ */

.aa-blog-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.aa-blog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.aa-blog-card {
  display: grid;
  grid-template-columns: 200px 100px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s ease, padding 0.3s ease;
}
.aa-blog-card:hover { padding: 28px 16px; background: var(--rose-wash); }

.aa-blog-card__img {
  width: 200px;
  aspect-ratio: 4 / 3;
  background: var(--rose);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.aa-blog-card__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.aa-blog-card__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.aa-blog-card__body h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.aa-blog-card:hover .aa-blog-card__body h3 { color: var(--terracotta); }
.aa-blog-card__body p {
  color: var(--charbon-soft);
  font-size: 14px;
  max-width: 60ch;
}

.aa-blog-card__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.aa-blog-card:hover .aa-blog-card__arrow {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
  transform: rotate(-45deg);
}

/* ============================================================
   SECTION 7 — Instagram (fond charbon)
   ============================================================ */

.aa-insta-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}

.aa-insta-handle {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--rose);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.aa-insta-handle svg { width: 18px; height: 18px; stroke: var(--rose); }

.aa-insta-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.aa-insta-tile {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.aa-insta-tile__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.aa-insta-tile:hover .aa-insta-tile__bg { transform: scale(1.08); }
.aa-insta-tile__overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,24,0);
  transition: background 0.3s ease;
  display: grid; place-items: center;
}
.aa-insta-tile__overlay svg {
  width: 24px; height: 24px;
  stroke: #fff; fill: none; stroke-width: 1.4;
  opacity: 0; transition: opacity 0.3s ease;
}
.aa-insta-tile:hover .aa-insta-tile__overlay { background: rgba(26,26,24,0.45); }
.aa-insta-tile:hover .aa-insta-tile__overlay svg { opacity: 1; }

/* ============================================================
   SECTION 8 — Zone d'intervention
   ============================================================ */

.aa-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.aa-cities {
  list-style: none;
  margin: 36px 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.aa-cities li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.aa-cities li .aa-km {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.aa-zone__map iframe {
  width: 100%;
  height: 460px;
  border: none;
  border-radius: 8px;
  filter: saturate(0.7) contrast(0.95);
  box-shadow:
    0 30px 60px -20px rgba(40, 28, 22, 0.35),
    0 12px 24px -12px rgba(40, 28, 22, 0.2);
}

/* ============================================================
   FOOTER — Fond charbon
   ============================================================ */

.aa-footer {
  background: var(--charbon);
  color: var(--bg);
  padding: 80px 0 32px;
}

.aa-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aa-footer__brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 8px;
}
.aa-footer__brand-name em { font-style: italic; font-weight: 400; }

.aa-footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--rose);
  margin-bottom: 16px;
}

.aa-footer h4,
.aa-footer__h {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

.aa-footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.aa-footer ul li {
  font-size: 14px;
  color: #c4beb5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aa-footer ul a {
  color: #c4beb5;
  transition: color 0.3s ease;
}
.aa-footer ul a:hover { color: var(--rose); }

.aa-socials {
  display: flex; gap: 14px;
}
.aa-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.aa-socials a:hover {
  border-color: var(--rose);
  background: rgba(201,160,144,0.12);
}
.aa-socials svg {
  width: 16px; height: 16px;
  stroke: #c4beb5; fill: none; stroke-width: 1.4;
}
.aa-socials a:hover svg { stroke: var(--rose); }

.aa-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.aa-footer__bottom a {
  color: var(--muted);
  transition: color 0.3s ease;
}
.aa-footer__bottom a:hover { color: var(--rose); }

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   ============================================================ */

@media (max-width: 768px) {
  .aa-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .aa-nav { display: none; }
  .aa-header__cta { display: none; }
  .aa-header .aa-burger { display: flex; }

  .aa-hero__strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .aa-need-head,
  .aa-benefits-head,
  .aa-projects-head,
  .aa-blog-head,
  .aa-insta-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aa-need-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .aa-need-card:nth-child(2),
  .aa-need-card:nth-child(3) { margin-top: 0; }

  .aa-benefits-grid {
    grid-template-columns: 1fr;
  }
  .aa-benefit:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .aa-team {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .aa-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .aa-proj--a { grid-column: span 2; grid-row: span 1; }
  .aa-proj--b,
  .aa-proj--c,
  .aa-proj--d,
  .aa-proj--e { grid-column: span 1; grid-row: span 1; }

  .aa-blog-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .aa-blog-card__img { width: 100%; aspect-ratio: 16/9; }
  .aa-blog-card__date { order: -1; }

  .aa-insta-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .aa-zone {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aa-zone__map iframe { height: 280px; }

  .aa-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .aa-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .aa-hero__strip-inner {
    grid-template-columns: 1fr;
  }
  .aa-footer__top {
    grid-template-columns: 1fr;
  }
  .aa-insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   HERO — Boutons Elementor natifs : animation flèche au survol
   ============================================================ */
.aa-btn-arrow .elementor-button-icon {
  transition: transform 0.35s ease;
}
.aa-btn-arrow .elementor-button:hover .elementor-button-icon {
  transform: translateX(4px);
}

/* Flèche texte dans les boutons HTML (.aa-arrow) */
.aa-btn .aa-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}
.aa-btn:hover .aa-arrow {
  transform: translateX(4px);
}

/* ============================================================
   HEADER — corrections (couleur marque + police menu)
   Contre les styles par défaut du kit Elementor sur les liens
   ============================================================ */
.aa-header .aa-brand__name,
.aa-header .aa-brand__name em {
  color: var(--charbon) !important;
  font-family: var(--serif) !important;
}
.aa-header .aa-nav a {
  font-family: var(--sans) !important;
  color: var(--charbon) !important;
}
.aa-header .aa-nav a:hover,
.aa-header .aa-nav a.is-active {
  color: var(--terracotta) !important;
}
/* Soulignement plein pour le lien de la page active (comme au survol) */
.aa-nav a.is-active::after { right: 0; }

/* ============================================================
   HEADER — Sous-menu déroulant (Prestations)
   ============================================================ */
.aa-has-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.aa-caret {
  display: inline-block;
  margin-left: 5px;
  font-size: 9px;
  transition: transform 0.25s ease;
}
.aa-has-sub:hover .aa-caret { transform: rotate(180deg); }

.aa-subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.aa-has-sub:hover .aa-subnav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.aa-subnav__card {
  display: flex;
  flex-direction: column;
  min-width: 248px;
  padding: 10px;
  background: rgba(250, 250, 248, 0.99);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 26px 50px -24px rgba(40, 28, 22, 0.35);
}
.aa-header .aa-subnav__card a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--charbon) !important;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.aa-subnav__card a::after { display: none !important; }
.aa-header .aa-subnav__card a:hover,
.aa-header .aa-subnav__card a.is-active {
  background: var(--rose-wash);
  color: var(--terracotta) !important;
}

/* ============================================================
   HEADER — Menu mobile (hamburger)
   ============================================================ */
.aa-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--rose-soft);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aa-burger:hover,
.aa-burger:focus,
.aa-burger:active {
  background: var(--rose-soft);
  outline: none;
}
.aa-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--charbon);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.aa-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.aa-burger.is-open span:nth-child(2) { opacity: 0; }
.aa-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.aa-mobile-nav {
  display: none;
  position: fixed;
  top: 79px;
  left: 0;
  right: 0;
  z-index: 40;
  flex-direction: column;
  gap: 2px;
  padding: 24px var(--gutter) 110px;
  max-height: calc(100dvh - 79px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--bg);
  box-shadow: 0 24px 40px -20px rgba(40, 28, 22, 0.25);
}
.aa-mobile-nav.is-open { display: flex; }
.aa-mobile-nav a:hover,
.aa-mobile-nav__group a:hover { color: var(--terracotta); }
.aa-mobile-nav > a,
.aa-mobile-nav__group > a {
  display: block;
  padding: 15px 0;
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--charbon);
  border-bottom: 1px solid var(--line);
}
.aa-mobile-nav > a.is-active { color: var(--terracotta); }
.aa-mobile-nav__label {
  display: block;
  margin-top: 18px;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.aa-mobile-nav__group > a {
  font-size: 15px;
  color: var(--charbon-soft);
  padding-left: 16px;
}
.aa-mobile-nav a.aa-mobile-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 22px;
  padding: 15px 28px;
  background: var(--rose-wash);
  border-radius: 999px;
  border-bottom: 0 !important;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--charbon) !important;
}
.aa-mobile-nav__phone::before {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--terracotta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 5 5L14 13l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 5 5L14 13l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.aa-mobile-nav a.aa-mobile-nav__cta {
  display: flex;
  justify-content: center;
  color: #fff;
  padding: 15px 26px;
  margin-top: 16px;
  border-bottom: 0;
}

/* Bandeau des 5 services du hero : responsive (grille inline repeat(5,1fr)) */
@media (max-width: 900px) {
  .aa-hero-strip { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 600px) {
  .aa-hero-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 18px 24px !important;
  }
}

/* ============================================================
   PAGES SERVICES
   ============================================================ */

/* Hero service : titre un peu plus contenu */
.aa-page-hero--service .aa-h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  max-width: 22ch;
}

/* Hero service avec photo en filigrane */
.aa-page-hero--photo {
  position: relative;
  overflow: hidden;
}
.aa-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  z-index: 0;
}
.aa-page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250,250,248,0.62) 0%, rgba(250,250,248,0.30) 45%, rgba(250,250,248,0.80) 100%);
  z-index: 0;
}
.aa-page-hero--photo .aa-container { position: relative; z-index: 1; }

/* Variante pour les photos très claires : plus d'opacité, voile réduit */
.aa-page-hero--light-photo .aa-page-hero__bg { opacity: 0.72; }
.aa-page-hero--light-photo::after {
  background: linear-gradient(180deg, rgba(250,250,248,0.30) 0%, rgba(250,250,248,0.05) 45%, rgba(250,250,248,0.55) 100%);
}

/* Intro centrée */
.aa-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.aa-narrow .aa-lede { margin: 0 auto; max-width: none; }
.aa-lede--lg { font-size: 19px; line-height: 1.7; }

/* Chips types de projets */
.aa-chips {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.aa-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--charbon-soft);
  background: #fff;
}

/* Galerie réalisations (widget Elementor natif) */
.aa-gallery-head { margin-bottom: 44px; }
#svc-gallery .elementor-widget-image-gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
#svc-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 !important;
}
#svc-gallery .gallery-item {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
}
#svc-gallery .gallery-icon {
  overflow: hidden;
  border-radius: 10px;
}
#svc-gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: none !important;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}
#svc-gallery .gallery-item img:hover {
  transform: scale(1.04);
  box-shadow: 0 22px 44px -22px rgba(40, 28, 22, 0.45);
}

/* Étapes du process */
.aa-process-head { text-align: center; margin-bottom: 56px; }
.aa-process-head .aa-eyebrow { justify-content: center; }
.aa-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.aa-step {
  background: #fff;
  border-radius: 16px;
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  box-shadow: 0 24px 48px -30px rgba(40, 28, 22, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aa-step__num {
  font-family: var(--serif);
  font-size: 44px;
  font-style: italic;
  color: var(--rose);
  line-height: 1;
}
.aa-step__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}
.aa-step p { font-size: 15px; color: var(--charbon-soft); }
.aa-step__tag {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charbon-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.aa-step__tag--free {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* Bloc coût */
.aa-cost {
  background: #fff;
  border-left: 3px solid var(--terracotta);
  border-radius: 0 12px 12px 0;
  padding: clamp(26px, 3vw, 40px);
  max-width: 920px;
}
.aa-cost__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.aa-cost p { font-size: 15px; color: var(--charbon-soft); }
.aa-cost strong { color: var(--terracotta); font-weight: 600; }

/* Bande CTA (fond charbon) */
.aa-cta-band { text-align: center; }
.aa-cta-band .aa-eyebrow { justify-content: center; color: var(--rose); }
.aa-cta-band .aa-eyebrow::before { background: var(--rose); }
.aa-cta-band .aa-h2 { color: #fff; margin-top: 18px; }
.aa-cta-band .aa-lede { color: rgba(255, 255, 255, 0.8); margin: 16px auto 0; }
.aa-cta-band .aa-btn { margin-top: 30px; }

@media (max-width: 768px) {
  #svc-gallery .gallery { grid-template-columns: 1fr; }
  .aa-steps { grid-template-columns: 1fr; }
}

/* Espacement vertical réduit pour les pages services */
.aa-section--svc {
  padding-top: clamp(54px, 7vw, 100px);
  padding-bottom: clamp(54px, 7vw, 100px);
}

/* ============================================================
   PAGE RÉNOVATION — composants de mise en page alternative
   ============================================================ */

/* Intro en deux colonnes (texte + liste d'exemples) */
.aa-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.aa-examples {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aa-examples li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--charbon);
}
.aa-examples li:first-child { border-top: 1px solid var(--line); }
.aa-examples li::before {
  content: "→";
  color: var(--terracotta);
  font-size: 15px;
  line-height: 1.6;
  flex-shrink: 0;
}

/* Galerie en mosaïque (1 grande + 2 empilées) */
.aa-mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 520px;
}
.aa-mosaic__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--rose);
}
.aa-mosaic__item--big { grid-row: 1 / span 2; }
.aa-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.aa-mosaic__item:hover img { transform: scale(1.05); }
.aa-mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,24,0) 55%, rgba(26,26,24,0.25) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.aa-mosaic__item:hover::after { opacity: 1; }

/* Méthode en timeline verticale */
.aa-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
}
.aa-timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 44px;
}
.aa-timeline__step:last-child { padding-bottom: 0; }
.aa-timeline__step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}
.aa-timeline__step:last-child::before { display: none; }
.aa-timeline__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  display: grid;
  place-items: center;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.aa-timeline__title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
  padding-top: 10px;
}
.aa-timeline__content p {
  font-size: 15px;
  color: var(--charbon-soft);
  margin-bottom: 16px;
}

/* Bloc coût (callout centré) */
.aa-callout {
  max-width: 760px;
  margin: 52px auto 0;
  background: var(--rose-wash);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 44px);
  text-align: center;
}
.aa-callout__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
}
.aa-callout p {
  font-size: 15px;
  color: var(--charbon-soft);
  max-width: 56ch;
  margin: 0 auto;
}
.aa-callout strong { color: var(--terracotta); font-weight: 600; }

/* Bande CTA horizontale (texte + bouton) */
.aa-cta-split__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.aa-cta-split .aa-eyebrow { color: var(--rose); }
.aa-cta-split .aa-eyebrow::before { background: var(--rose); }
.aa-cta-split .aa-h2 { color: #fff; margin-top: 16px; max-width: 22ch; }
.aa-cta-split .aa-btn { flex-shrink: 0; }

/* Cartes des dossiers (page Démarches administratives) */
.aa-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}
.aa-doc-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 24px 48px -30px rgba(40, 28, 22, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aa-doc-card__ico { width: 46px; height: 46px; }
.aa-doc-card__ico svg {
  width: 100%;
  height: 100%;
  stroke: var(--terracotta);
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aa-doc-card__title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}
.aa-doc-card p { font-size: 14px; color: var(--charbon-soft); }

@media (max-width: 860px) {
  .aa-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .aa-doc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGES LÉGALES (mentions légales, confidentialité)
   ============================================================ */
.aa-legal {
  max-width: 820px;
  margin: 0 auto;
}
.aa-legal h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--charbon);
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.aa-legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.aa-legal h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin: 26px 0 10px;
}
.aa-legal p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charbon-soft);
  margin: 0 0 14px;
}
.aa-legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--charbon-soft);
}
.aa-legal li { margin-bottom: 4px; }
.aa-legal a { color: var(--terracotta); text-decoration: underline; }
.aa-legal a:hover { color: var(--terracotta-deep); }
.aa-legal strong { color: var(--charbon); font-weight: 600; }

/* ============================================================
   BLOG — Article unique & archives
   ============================================================ */

/* En-tête d'article / d'archive */
.aa-article__header {
  padding: clamp(140px, 15vw, 190px) 0 0;
  text-align: center;
}
.aa-article__cat {
  justify-content: center;
  margin-bottom: 22px;
  color: var(--terracotta) !important;
}
.aa-article__cat::before { background: var(--terracotta); }
.aa-article__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto;
}
.aa-article__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 18px;
}

/* Visuel de couverture */
.aa-article__cover {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 1000px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(40, 28, 22, 0.35);
}
.aa-article__cover img { width: 100%; height: auto; display: block; }

/* Corps de l'article (texte riche) */
.aa-article { padding-bottom: clamp(70px, 9vw, 120px); }
.aa-article__body {
  max-width: 760px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.aa-article__body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--charbon-soft);
  margin: 0 0 20px;
}
.aa-article__body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: var(--charbon);
  margin: 42px 0 14px;
}
.aa-article__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  color: var(--charbon);
  margin: 30px 0 10px;
}
.aa-article__body a { color: var(--terracotta); text-decoration: underline; }
.aa-article__body ul,
.aa-article__body ol {
  margin: 0 0 20px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--charbon-soft);
}
.aa-article__body li { margin-bottom: 8px; }
.aa-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 28px 0;
  display: block;
}
.aa-article__body figure { margin: 28px 0; }
.aa-article__body figure img { margin: 0; }
.aa-article__body figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.aa-article__body blockquote {
  border-left: 3px solid var(--terracotta);
  padding-left: 22px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--charbon);
}

/* Pied d'article */
.aa-article__foot {
  max-width: 760px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Section "À lire aussi" (maillage interne sous l'article) */
.aa-related__head {
  text-align: center;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.aa-related__head .aa-eyebrow { justify-content: center; }

/* Archives / liste blog */
.aa-archive { padding-bottom: clamp(70px, 9vw, 120px); }
.aa-blog-filters {
  justify-content: center;
  margin: 40px 0 48px;
}
.aa-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.aa-bcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 44px -28px rgba(40, 28, 22, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.aa-bcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -28px rgba(40, 28, 22, 0.4);
}
.aa-bcard__img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--rose-wash);
}
.aa-bcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.aa-bcard:hover .aa-bcard__img img { transform: scale(1.05); }
.aa-bcard__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aa-bcard__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.aa-bcard__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--charbon);
}
.aa-bcard__date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Pagination */
.aa-pagination { margin-top: 56px; }
.aa-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.aa-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--charbon);
}
.aa-pagination .page-numbers.current {
  background: var(--charbon);
  color: #fff;
  border-color: var(--charbon);
}
.aa-pagination a.page-numbers:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

@media (max-width: 900px) {
  .aa-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .aa-article__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .aa-blog-grid { grid-template-columns: 1fr; }
}

/* Galerie projets (EA filterable) : même radius que les images blog (14px) */
.gallery-item-thumbnail-wrap {
  border-radius: 14px !important;
  overflow: hidden;
}
.gallery-item-thumbnail-wrap img { border-radius: 14px !important; }

/* Filtres de catégories projets : même hover que le blog (fond charbon) */
.eael-filter-gallery-control li.control {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.eael-filter-gallery-control li.control:hover,
.eael-filter-gallery-control li.control.active {
  background: var(--charbon) !important;
  color: #fff !important;
  border-color: var(--charbon) !important;
}

/* ============================================================
   EA POST GRID — cartes de hauteur égale (home + blog)
   Le parent direct des cartes est .eael-post-appender
   ============================================================ */
.eael-post-grid.eael-post-appender {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}
.eael-post-appender .eael-grid-post {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: auto !important;
  top: auto !important;
  position: relative !important;
  display: flex;
}
.eael-post-appender .eael-grid-post-holder,
.eael-post-appender .eael-grid-post-holder-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.eael-post-appender .eael-entry-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
/* l'extrait occupe l'espace libre -> le bouton "lire" reste aligné en bas */
.eael-post-appender .eael-grid-post-excerpt { flex: 1 1 auto; }

@media (max-width: 1024px) {
  .eael-post-grid.eael-post-appender { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .eael-post-grid.eael-post-appender { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .aa-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }
  .aa-mosaic__item--big { grid-row: auto; }
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */

/* Hero de page interne (compact, dégage le header fixe) */
.aa-page-hero {
  padding-top: clamp(150px, 16vw, 200px);
  padding-bottom: clamp(50px, 7vw, 90px);
  text-align: center;
}
.aa-page-hero .aa-eyebrow { justify-content: center; }
.aa-page-hero .aa-h1 {
  font-size: clamp(40px, 5.6vw, 78px);
  margin: 24px auto 0;
  max-width: 16ch;
}
.aa-page-hero .aa-lede {
  margin: 26px auto 0;
  max-width: 50ch;
}
.aa-accent-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

/* Disposition deux colonnes infos / formulaire
   (le flex row + gap sont gérés par Elementor ; largeurs via ID) */
#aa-contact-info { flex: 40 1 0; min-width: 0; }
#aa-contact-form { flex: 58 1 0; min-width: 0; }
@media (max-width: 1024px) {
  #aa-contact-info,
  #aa-contact-form { flex: 1 1 auto; width: 100%; }
}

/* Bloc coordonnées */
.aa-coords {
  list-style: none;
  margin: 40px 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.aa-coords li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.aa-coords li:last-child { border-bottom: 1px solid var(--line); }
.aa-coords__ico {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.aa-coords__ico svg {
  width: 20px; height: 20px;
  stroke: var(--terracotta);
  fill: none;
}
.aa-coords__txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aa-coords__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.aa-coords__txt a,
.aa-coords__value {
  font-size: 16px;
  color: var(--charbon);
  line-height: 1.5;
  transition: color 0.3s ease;
}
.aa-coords__txt a:hover { color: var(--terracotta); }

/* Réseaux sociaux variante claire (sur fond clair) */
.aa-contact__socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aa-socials--light a {
  border-color: var(--line);
}
.aa-socials--light svg { stroke: var(--charbon-soft); }
.aa-socials--light a:hover {
  border-color: var(--terracotta);
  background: rgba(181, 106, 78, 0.08);
}
.aa-socials--light a:hover svg { stroke: var(--terracotta); }

/* Carte du formulaire (padding géré par Elementor sur le conteneur) */
#aa-contact-form {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 30px 60px -28px rgba(40, 28, 22, 0.30),
    0 12px 24px -16px rgba(40, 28, 22, 0.18);
}

/* ---- Styles WPForms à la charte ---- */
#aa-contact-form .wpforms-container { margin: 0; }
#aa-contact-form .wpforms-form .wpforms-field { padding: 0 0 20px; }
#aa-contact-form .wpforms-field-label {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charbon) !important;
  margin-bottom: 9px !important;
  line-height: 1.4;
}
#aa-contact-form .wpforms-required-label { color: var(--terracotta) !important; }

#aa-contact-form input[type="text"],
#aa-contact-form input[type="email"],
#aa-contact-form input[type="tel"],
#aa-contact-form input[type="url"],
#aa-contact-form input[type="number"],
#aa-contact-form textarea,
#aa-contact-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charbon);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
#aa-contact-form textarea { min-height: 150px; resize: vertical; }
#aa-contact-form input:focus,
#aa-contact-form textarea:focus,
#aa-contact-form select:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181, 106, 78, 0.12);
}
#aa-contact-form ::placeholder { color: var(--muted); opacity: 1; }

/* Menus déroulants : flèche personnalisée + hauteur suffisante (évite le rognage du texte) */
#aa-contact-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: auto;
  min-height: 52px;
  line-height: 1.6;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a857e' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Sous-libellés (Prénom / Nom) */
#aa-contact-form .wpforms-field-sublabel {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted) !important;
  margin-top: 6px !important;
}

/* Case à cocher consentement */
#aa-contact-form .wpforms-field-checkbox ul,
#aa-contact-form .wpforms-field-radio ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#aa-contact-form .wpforms-field-checkbox li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#aa-contact-form .wpforms-field-checkbox label {
  font-size: 13px;
  color: var(--charbon-soft);
  line-height: 1.5;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
#aa-contact-form .wpforms-field-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--terracotta);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Bouton d'envoi */
#aa-contact-form .wpforms-submit-container { margin-top: 6px; }
#aa-contact-form button.wpforms-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terracotta);
  color: #fff;
  border: 1px solid var(--terracotta);
  border-radius: 8px;
  padding: 15px 32px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease;
}
#aa-contact-form button.wpforms-submit:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

/* Messages d'erreur et de confirmation */
#aa-contact-form .wpforms-error {
  color: #b0432b;
  font-size: 12px;
  margin-top: 6px;
}
#aa-contact-form input.wpforms-error,
#aa-contact-form textarea.wpforms-error,
#aa-contact-form select.wpforms-error {
  border-color: #b0432b;
}
.wpforms-confirmation-container-full {
  background: var(--rose-wash) !important;
  border: 1px solid var(--rose-soft) !important;
  border-radius: 12px;
  color: var(--charbon) !important;
  font-family: var(--sans);
  padding: 22px 26px !important;
}

/* Carte Google Maps page contact */
.aa-contact-map iframe { height: 420px; }

/* Bloc SEO sous la carte */
.aa-seo__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--rose);
  text-align: center;
  max-width: 28ch;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.aa-seo__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 960px;
  margin: 0 auto;
}
.aa-seo__list {
  list-style: none;
  margin: 0;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aa-seo__list--left {
  border-top: 1px solid var(--rose);
  border-left: 1px solid var(--rose);
}
.aa-seo__list--right {
  border-bottom: 1px solid var(--rose);
  border-right: 1px solid var(--rose);
}
.aa-seo__list li {
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charbon-soft);
}
.aa-seo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}
@media (max-width: 768px) {
  .aa-seo__cols { grid-template-columns: 1fr; gap: 0; }
  .aa-seo__list--right {
    border-top: 0;
    border-left: 1px solid var(--rose);
    border-right: 1px solid var(--rose);
  }
}

/* Responsive page contact */
@media (max-width: 768px) {
  .aa-contact-map iframe { height: 300px; }
}
