@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

#aij-home {
  --ink: #0c0c0b;
  --paper: #f7f1e7;
  --line: #d7c19a;
  --gold: #eac474;
  --gold-dark: #82530f;
  --light: #fffaf0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  color: #201a14;
  background: var(--paper);
  font: 400 15px/1.5 var(--sans);
  container-type: inline-size;
  overflow: clip;
}
#aij-home *, #aij-home *::before, #aij-home *::after { box-sizing: border-box; }
#aij-home a { color: inherit; text-decoration: none; }
#aij-home :focus-visible { outline: 2px solid #b97920; outline-offset: 3px; }
#aij-home :where(.aij-brand, .aij-hero-picture, .aij-intro-photo, .aij-blog-cover, .aij-stories) img { display: block; width: 100%; object-fit: cover; }
#aij-home p, #aij-home h1, #aij-home h2, #aij-home h3 { margin: 0; }
#aij-home h1, #aij-home h2, #aij-home h3 { font-family: var(--serif); line-height: 1.06; font-weight: 700; color: inherit; }
#aij-home h2 { font-size: clamp(30px, 3.85cqw, 43px); letter-spacing: -.035em; }

#aij-home .aij-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 0 5.7%;
  border-bottom: 1px solid #71582d;
  background: #090909;
  color: var(--light);
}
#aij-home .aij-brand { display: flex; flex: none; gap: 9px; align-items: center; padding: 7px 0; }
#aij-home .aij-brand img { width: 35px; height: 35px; object-fit: contain; border-radius: 3px; }
#aij-home .aij-brand > span { position: relative; font: 500 clamp(23px, 3.15cqw, 34px)/1 var(--sans); text-transform: uppercase; letter-spacing: -.065em; white-space: nowrap; }
#aij-home .aij-brand > span::after { position: absolute; z-index: 1; top: 70%; right: 8%; left: 10%; height: 19px; content: ''; border-bottom: 2px solid var(--gold); border-radius: 0 0 50% 50%; }
#aij-home .aij-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2.4cqw, 28px); font-size: 15px; font-weight: 700; }
#aij-home .aij-header nav > a, #aij-home .aij-menu > summary { display: flex; align-items: center; gap: 5px; min-height: 60px; white-space: nowrap; }
#aij-home .aij-current { box-shadow: inset 0 -3px 0 var(--gold); }
#aij-home .aij-header nav a:hover, #aij-home .aij-header nav summary:hover { color: var(--gold); }
#aij-home .aij-menu { position: relative; }
#aij-home :is(.aij-menu, .aij-recent) > summary { list-style: none; }
#aij-home :is(.aij-menu, .aij-recent) > summary::-webkit-details-marker { display: none; }
#aij-home :is(.aij-menu, .aij-recent) > summary::after { content: '⌄'; color: var(--gold); }
#aij-home .aij-dropdown { position: absolute; top: 100%; left: -12px; display: grid; width: max-content; min-width: 210px; padding: 6px 0; color: var(--light); background: #171512; border: 1px solid #765c32; box-shadow: 0 12px 32px #0006; }
#aij-home .aij-dropdown a { padding: 9px 14px; }
#aij-home .aij-dropdown a:hover { background: #30291e; }

#aij-home .aij-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(358px, 40cqw, 465px);
  overflow: hidden;
  border-bottom: 2px solid #c79645;
  background: #100f0d;
  color: var(--light);
}
#aij-home .aij-hero-picture { position: absolute; z-index: -1; inset: 0 0 0 20%; }
#aij-home .aij-hero-picture img { height: 100%; object-position: 55% 53%; }
#aij-home .aij-hero-picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #100f0d 0%, #100f0deb 16%, #100f0d8c 30%, transparent 48%), linear-gradient(0deg, #100f0d3a, transparent 32%); }
#aij-home .aij-hero-text { width: 50%; padding: 40px 0 42px 5.7%; }
#aij-home .aij-kicker { color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-size: 14px; font-weight: 700; }
#aij-home .aij-hero-text .aij-kicker::after, #aij-home .aij-intro-description::before, #aij-home .aij-blog-cover h2::after { display: block; width: 68px; height: 2px; content: ''; background: var(--gold); }
#aij-home .aij-hero-text .aij-kicker::after { margin-top: 9px; }
/* Le CSS additionnel du site impose des tailles de titres avec !important. */
#aij-home h1 { font-size: clamp(37px, 4.62cqw, 55px) !important; line-height: 1.02; letter-spacing: -.04em; margin: 14px 0 26px; text-align: left; }
#aij-home h1 span { display: block; }
#aij-home .aij-hero-text > p:nth-of-type(2) { max-width: 39ch; font: 400 16px/1.5 var(--serif); color: var(--light); }
#aij-home .aij-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 32px; }
#aij-home .aij-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 9px 16px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #1c140b; font: 700 14px/1.25 var(--sans); }
#aij-home .aij-button:hover { background: #f3d494; }
#aij-home .aij-button.aij-outline { background: #16151066; color: var(--light); }
#aij-home .aij-button.aij-outline:hover { background: #35291b; }

#aij-home .aij-body { padding: 19px 2.1% 8px; background: linear-gradient(105deg, #f7f0e4, #fbf8f1 53%, #f6eee2); }
#aij-home .aij-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 17px; }
#aij-home .aij-intro { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(15px, 3.75cqw, 40px); }
#aij-home .aij-intro-photo, #aij-home .aij-blog-cover { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 258px; border-radius: 2px; padding: 25px clamp(23px, 3.5cqw, 38px); color: var(--light); background: #171410; }
#aij-home .aij-intro-photo img, #aij-home .aij-blog-cover img { position: absolute; inset: 0; z-index: -2; height: 100%; }
#aij-home .aij-intro-photo img { object-position: 50% 43%; }
#aij-home .aij-blog-cover img { object-position: 50% 49%; }
#aij-home .aij-intro-photo::after, #aij-home .aij-blog-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #100e0cf7, #100e0cce 34%, #100e0c41 65%, transparent); }
#aij-home .aij-blog-cover::after { background: linear-gradient(90deg, #100e0cf7, #100e0cde 31%, #100e0c78 57%, #100e0c08); }
#aij-home .aij-signature { font: italic 400 clamp(18px, 2.25cqw, 25px)/1.2 var(--serif); color: var(--gold-dark); margin-top: 5px; }
#aij-home .aij-intro-photo .aij-signature { color: var(--gold); }
#aij-home .aij-intro-description, #aij-home .aij-blog-cover p { max-width: 29ch; font: 400 15px/1.43 var(--serif); }
#aij-home .aij-intro-description::before { margin: 13px 0 12px; }
#aij-home .aij-intro-photo .aij-button, #aij-home .aij-blog-cover .aij-button { margin-top: 16px; min-height: 36px; }
#aij-home .aij-formations, #aij-home .aij-services { padding: 24px clamp(19px, 2.6cqw, 29px); background: linear-gradient(115deg, #f0e7da, #f5eee5 82%); border-radius: 2px; }
#aij-home .aij-formations, #aij-home .aij-services { border-left: 1px solid #b17b37; }
#aij-home .aij-formations { container: aij-formations / inline-size; }
#aij-home .aij-ensembles { margin-top: 17px; text-align: left; }
#aij-home .aij-ensembles > div { min-width: 0; padding: 10px 0; }
#aij-home .aij-ensembles > div + div { border-top: 1px solid #d5b789; }
#aij-home .aij-ensembles h3 { margin: 0 0 4px; font-size: 16px !important; font-weight: 700; text-transform: uppercase; }
#aij-home .aij-ensembles p { margin: 0; color: #14100d; font: 400 16px/1.45 var(--serif); overflow-wrap: anywhere; }
@media (min-width: 1101px) and (pointer: fine) {
  @container aij-formations (min-width: 420px) {
    #aij-home .aij-ensembles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; text-align: center; }
    #aij-home .aij-ensembles > div { padding: 6px 6px 9px; }
    #aij-home .aij-ensembles > div + div { border-top: 0; border-left: 1px solid #bc9254; }
    #aij-home .aij-ensembles h3 { margin-bottom: 8px; }
  }
}
#aij-home .aij-events { margin-top: 22px; }
#aij-home .aij-services h2 { margin-bottom: 17px; }
#aij-home .aij-services ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 5px; list-style: none; margin: 0; padding: 0; }
#aij-home .aij-services a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; font-size: 14px; line-height: 1.35; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
#aij-home .aij-services a:hover, #aij-home .aij-stories a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
#aij-home .aij-services a > span { display: grid; place-items: center; width: clamp(34px, 4.6cqw, 49px); aspect-ratio: 1; border-radius: 50%; background: #181511; color: var(--gold); border: 1px solid #4d3c25; }
#aij-home .aij-services a:hover > span { background: #4a321a; }
#aij-home .aij-services svg { width: 53%; height: 53%; stroke-width: 1.4; }
#aij-home .aij-blog-cover h2 { font-size: clamp(27px, 3.25cqw, 39px); }
#aij-home .aij-blog-cover h2::after { margin: 13px 0 12px; }

#aij-home .aij-recent { margin-top: 5px; }
#aij-home .aij-recent > summary { display: flex; align-items: center; justify-content: flex-end; min-height: 34px; gap: 9px; color: var(--gold-dark); font-size: 14px; font-weight: 700; }
#aij-home .aij-recent > summary::after { color: inherit; }
#aij-home .aij-recent[open] > summary::after { transform: rotate(180deg); }
#aij-home .aij-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: 12px; }
#aij-home .aij-stories a { display: block; height: 100%; background: #fdfaf3; border: 1px solid #e2d4c0; padding-bottom: 13px; }
#aij-home .aij-stories img { aspect-ratio: 2.4; }
#aij-home .aij-stories span, #aij-home .aij-stories h3 { display: block; margin: 9px 12px 0; }
#aij-home .aij-stories span { color: var(--gold-dark); font-size: 14px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
#aij-home .aij-stories h3 { font-size: clamp(21px, 2.4cqw, 28px); }
#aij-home .aij-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; min-height: 82px; background: #131211; color: var(--light); padding: 10px 4.4%; border-block: 1px solid #6e5632; }
#aij-home .aij-trust h2 { font-size: clamp(20px, 2.4cqw, 25px); font-style: italic; letter-spacing: -.025em; }
#aij-home .aij-trust ul { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 9px 13px; min-height: 39px; margin: 0; padding: 4px 0 4px 18px; border-left: 1px solid #886635; list-style: none; font: 400 14px/1.2 var(--serif); text-align: center; }
#aij-home .aij-trust a { color: var(--gold); font-size: 14px; }

@container (max-width: 960px) {
  #aij-home .aij-header { padding-inline: 4%; }
  #aij-home .aij-header nav { gap: 12px; font-size: 14px; }
  #aij-home .aij-services ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 790px) {
  #aij-home .aij-header { flex-wrap: wrap; padding-top: 7px; gap: 0; }
  #aij-home .aij-header nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 17px; }
  #aij-home .aij-header nav > a, #aij-home .aij-menu > summary { min-height: 39px; }
}
@container (max-width: 680px) {
  #aij-home .aij-hero { align-items: stretch; min-height: 0; }
  #aij-home .aij-hero-picture { position: relative; inset: auto; aspect-ratio: 1.65; max-height: 310px; overflow: hidden; }
  #aij-home .aij-hero-picture img { height: 100%; object-position: 64% 44%; }
  #aij-home .aij-hero-picture::after { background: linear-gradient(0deg, #100f0d, transparent 32%); }
  #aij-home .aij-hero-text { width: auto; max-width: 470px; padding: 15px 5% 27px; }
  #aij-home h1 span { display: inline; }
  #aij-home .aij-split { grid-template-columns: 1fr; gap: 13px; }
  #aij-home .aij-stories { grid-template-columns: 1fr; }
  #aij-home .aij-stories img { aspect-ratio: 2.65; }
  #aij-home .aij-trust ul { flex: 1 1 100%; justify-content: flex-start; border-left: 0; padding-left: 0; }
}

@media (min-width: 681px) and (max-width: 1100px), (min-width: 681px) and (pointer: coarse) {
  #aij-home .aij-hero h1 { font-size: clamp(34px, 4.2vw, 46px) !important; line-height: 1.07; }
}

@media (max-width: 680px) {
  #aij-home .aij-hero h1 { font-size: clamp(28px, 7.5vw, 34px) !important; line-height: 1.10; margin-block: 14px 19px; }
}

#aij-home .aij-quote { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr); gap:22px; color:var(--light); padding:39px 3.2% 52px; background:radial-gradient(ellipse at 0% 42%,#593920,#1b150f 26%,#10100f 59%); }
#aij-home .aij-quote::after { position:absolute; z-index:-1; right:-30px; bottom:-19px; left:-30px; height:41px; content:''; border-top:2px solid #eac474; border-radius:50% 50% 0 0 / 24px 24px 0 0; background:#10100e; }
#aij-home .aij-quote-copy { text-align:center; }
#aij-home .aij-quote-copy h2 { margin:12px 0; }
#aij-home .aij-phone { margin-top:20px; color:var(--gold); font-weight:600; }
#aij-home .aij-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px clamp(14px,3cqw,30px); padding:clamp(14px,2.4cqw,24px); background:#211e19; border:1px solid #6e5733; color:var(--light); }
#aij-home .aij-field { min-width:0; }
#aij-home .aij-field > label,#aij-home fieldset legend { display:block; font-size:15px; margin-bottom:5px; }
#aij-home fieldset { margin:0; padding:0; border:0; min-width:0; }
#aij-home .aij-full { grid-column:1/-1; }
#aij-home .aij-radio-choices { display:flex; flex-wrap:wrap; gap:6px 15px; }
#aij-home .aij-radio-choices label { display:flex; align-items:center; gap:6px; font-size:15px; }
#aij-home .aij-radio-choices input { accent-color:var(--gold); margin:0; }
#aij-home .aij-place { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:7px; }
#aij-home .aij-field input,#aij-home .aij-field select { display:block; width:100%; min-width:0; height:39px; border:1px solid #b29b73; border-radius:3px; padding:5px 8px; background:#fdf8ee; color:#201a12; font:inherit; font-size:16px; }
#aij-home .aij-submit { align-self:end; }
#aij-home .aij-submit .aij-button { width:100%; min-height:39px; opacity:1; }
#aij-home .aij-form-note { grid-column:1/-1; color:#d0bfaa; font-size:14px; }
#aij-home .aij-quote { --gold:#e4bc72; --light:#fff8ea; font:400 15px/1.55 'DM Sans',Arial,sans-serif; }
#aij-home .aij-quote h2 { font:700 clamp(28px,3.4cqw,42px)/1.08 var(--serif); letter-spacing:-.04em; }
#aij-home .aij-quote .aij-kicker { letter-spacing:.12em; }
#aij-home .aij-submit .aij-button { background:var(--gold); line-height:1.3; border-radius:2px; }
@container (max-width:680px) {
  #aij-home .aij-quote { padding-inline:4.4%; }
}
@container (max-width:450px) {
  #aij-home .aij-fields { grid-template-columns:1fr; }
}
#aij-home .aij-footer { background:#101110; color:#e7d6b9; text-align:center; padding:13px; font-size:14px; border-top:1px solid #4a3d25; }

body.aij-theme-active {
  margin: 0;
  background: #0c0c0b;
}

#aij-home .aij-fields {
  display: block;
}

#aij-home .aij-fields .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px clamp(14px, 3cqw, 30px);
  margin: 0;
}

#aij-home .aij-fields .wpcf7-form > p {
  margin: 0;
  color: var(--light);
  font: 400 15px/1.4 var(--sans);
}

#aij-home .aij-fields .wpcf7-form > p:has([data-name="client-type"]),
#aij-home .aij-fields .wpcf7-response-output {
  grid-column: 1 / -1;
}

#aij-home .aij-fields .wpcf7-form-control-wrap {
  display: block;
  margin-top: 5px;
}

#aij-home .aij-fields .wpcf7-form-control-wrap[data-name="event_location"],
#aij-home .aij-fields .wpcf7-form-control-wrap[data-name="text-651"] {
  display: inline-block;
  width: calc(50% - 4px);
  vertical-align: top;
}

#aij-home .aij-fields .wpcf7-form-control-wrap[data-name="event_location"] {
  margin-right: 7px;
}

#aij-home .aij-fields .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
}

#aij-home .aij-fields .wpcf7-list-item {
  margin: 0;
}

#aij-home .aij-fields input[type="radio"] {
  accent-color: var(--gold);
  margin-right: 5px;
}

#aij-home .aij-fields .wpcf7-text,
#aij-home .aij-fields .wpcf7-date,
#aij-home .aij-fields .wpcf7-select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 5px 8px;
  border: 1px solid #b29b73;
  border-radius: 3px;
  background: #fdf8ee;
  color: #201a12;
  font: 400 16px/1.25 var(--sans);
}

#aij-home .aij-fields .wpcf7-form > p:has(.wpcf7-submit) {
  position: relative;
  align-self: end;
}

#aij-home .aij-fields .wpcf7-submit {
  width: 100%;
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: #201a12;
  font: 700 14px/1.3 var(--sans);
}

#aij-home .aij-fields .wpcf7-spinner {
  position: absolute;
  right: 8px;
  top: 8px;
  margin: 0;
}

#aij-home .aij-fields .wpcf7-not-valid-tip {
  color: #ffb8a7;
}

@container (max-width: 450px) {
  #aij-home .aij-fields .wpcf7-form {
    grid-template-columns: 1fr;
  }
}
