/* Page habitation : styles isolés, charte et navigation communes à la page santé. */
.assurance_habitation_page {
    --ah_bleu: #203c86;
    --ah_encre: #193365;
    --ah_orange: #d5680b;
    --ah_texte: #566477;
    --ah_ligne: #dfe4ec;
    margin: 0;
    color: var(--ah_encre);
    background: #faf9f6;
    font: 400 14px/1.85 Poppins, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.ah_main *, .ah_main *::before, .ah_main *::after { box-sizing: border-box; }
.ah_main :is(h1, h2, h3, p, figure, ul, ol, dl, dd) { margin: 0; }
.ah_main :is(h1, h2, h3, strong, dt) { font-weight: 500; }
.ah_main a { color: inherit; text-decoration: none; }
.ah_main :is(a, summary):focus-visible { outline: 2px solid var(--ah_orange); outline-offset: 5px; border-radius: 4px; }
.ah_main img { display: block; max-width: 100%; }
.ah_main em { color: var(--ah_orange); font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.ah_main h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -1.1px; }
.ah_main, .ah_main [id] { scroll-margin-top: 115px; }
.ah_container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.ah_section { padding-block: 82px; }
.ah_icone, .ah_dessin {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ah_icone { width: 21px; height: 21px; }
.ah_dessin { width: 45px; height: 45px; }
.ah_accent { stroke: #dd671a; }
.ah_breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding-top: 26px; color: var(--ah_texte); font-size: 11px; }
.ah_breadcrumb [aria-current] { color: var(--ah_encre); }
.ah_breadcrumb a:hover { color: var(--ah_orange); }
.ah_eyebrow { display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.7; }
.ah_eyebrow::before { content: ""; width: 24px; height: 2px; flex-shrink: 0; background: #ef7912; }
.ah_hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 56px; padding-block: 48px 60px; }
.ah_hero h1 { margin-top: 22px; font-size: clamp(38px, 3.65vw, 54px); line-height: 1.17; letter-spacing: -1.8px; }
.ah_intro { max-width: 540px; margin-top: 25px !important; color: var(--ah_texte); font-size: 14px; line-height: 1.95; }
.ah_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 28px; }
.ah_bouton { display: inline-flex; align-items: center; justify-content: center; gap: 21px; padding: 17px 22px; background: var(--ah_bleu); border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; }
.ah_main .ah_bouton { color: #fff; }
.ah_bouton:hover { background: #132d64; transform: translateY(-2px); }
.ah_bouton .ah_icone { width: 18px; height: 18px; }
.ah_lien { display: inline-flex; align-items: center; gap: 12px; width: fit-content; padding-block: 7px; border-bottom: 1px solid #c2cad8; font-size: 12px; font-weight: 500; line-height: 1.7; transition: color .2s, border-color .2s; }
.ah_lien:hover { color: var(--ah_orange); border-color: currentColor; }
.ah_lien .ah_icone { width: 17px; height: 17px; }
.ah_discret { color: var(--ah_texte); font-size: 11px; }
.ah_hero .ah_discret { margin-top: 16px; }
.ah_hero_visuel { position: relative; min-width: 0; padding-bottom: 26px; isolation: isolate; }
.ah_hero_visuel::before { position: absolute; content: ""; inset: -13px 13px 39px -13px; border: 1px solid #e3d9cc; border-radius: 100px 18px 18px; z-index: -1; }
.ah_hero_photo { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; border-radius: 90px 14px 14px; }
.ah_hero_legende { position: absolute; left: -24px; bottom: 0; display: flex; align-items: center; gap: 13px; max-width: calc(100% + 10px); padding: 12px 23px 12px 12px; border: 1px solid #e6e5e1; border-radius: 10px; background: #fff; box-shadow: 0 12px 36px #1933650a; }
.ah_hero_legende img { width: 65px; height: 65px; object-fit: contain; }
.ah_hero_legende strong { display: block; font-size: 13px; line-height: 1.6; }
.ah_hero_legende span { display: block; margin-top: 3px; color: var(--ah_texte); font-size: 11px; }
.ah_photo_repere { position: absolute; right: 17px; top: 19px; color: #fff; background: #17335ae6; padding: 8px 13px; border-radius: 30px; font-size: 11px; }
.ah_reperes { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px 24px; padding: 22px 0; border-top: 1px solid var(--ah_ligne); font-size: 12px; }
.ah_reperes > span { display: flex; align-items: center; gap: 11px; }
.ah_reperes .ah_icone { width: 18px; height: 18px; color: var(--ah_orange); }
.ah_raccourcis { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--ah_ligne); font-size: 12px; }
.ah_raccourcis > span { font-size: 11px; color: var(--ah_texte); }
.ah_raccourcis a { display: flex; align-items: center; gap: 28px; padding-block: 6px; }
.ah_raccourcis a > span { font-size: 11px; color: var(--ah_orange); }
.ah_raccourcis a:hover { color: var(--ah_orange); }
.ah_profils { background: #f1eee8; border-block: 1px solid #e7e1d8; }
.ah_entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 37px; }
.ah_entete h2, .ah_conseil h2, .ah_indemnisation h2, .ah_faq h2, .ah_final h2 { margin-top: 16px; }
.ah_entete_texte { max-width: 480px; flex: 0 1 43%; color: var(--ah_texte); font-size: 13px; line-height: 1.95; }
.ah_entete_texte p + p { margin-top: 10px; }
.ah_profils_grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ah_profil { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 29px; border-radius: 10px; background: #faf9f6; border: 1px solid #e3ded6; }
.ah_profil .ah_dessin { margin-bottom: 23px; }
.ah_categorie { color: var(--ah_orange); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; line-height: 1.8; }
.ah_profil h3 { margin-block: 8px 13px; font-size: 22px; line-height: 1.4; letter-spacing: -.5px; }
.ah_profil > p:not(.ah_categorie) { margin-bottom: 23px; color: var(--ah_texte); font-size: 13px; }
.ah_profil .ah_lien { margin-top: auto; font-size: 11px; }
.ah_garanties { background: #fff; }
.ah_garanties_grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ah_ligne); border-left: 1px solid var(--ah_ligne); border-radius: 11px; overflow: hidden; }
.ah_garantie { display: flex; flex-direction: column; padding: 30px; border-right: 1px solid var(--ah_ligne); border-bottom: 1px solid var(--ah_ligne); }
.ah_garantie_entete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.ah_garantie_entete > span { font-size: 11px; color: #6e7d90; }
.ah_garantie h3 { margin-bottom: 13px; font-size: 19px; line-height: 1.5; letter-spacing: -.4px; }
.ah_garantie > p:not(.ah_garantie_repere) { margin-bottom: 22px; color: var(--ah_texte); font-size: 13px; line-height: 1.9; }
.ah_garantie .ah_garantie_repere { margin-top: auto; padding-top: 15px; border-top: 1px solid #eceef2; font-size: 11px; line-height: 1.8; }
.ah_garantie_repere span { display: block; margin-bottom: 4px; color: var(--ah_orange); font-size: 11px; font-weight: 500; }
.ah_note { display: flex; align-items: flex-start; gap: 13px; margin-top: 27px; padding: 19px 23px; border-radius: 7px; background: #f7f6f3; color: var(--ah_texte); font-size: 12px; line-height: 1.9; }
.ah_note .ah_icone { margin-top: 2px; color: var(--ah_orange); }
.ah_note strong { color: var(--ah_encre); }
.ah_indemnisation { background: #17366d; color: #fff; }
.ah_indemnisation_grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 95px; align-items: center; }
.ah_indemnisation em { color: #ffc17b; }
.ah_indemnisation_intro { color: #d7e0ef; margin-top: 22px !important; font-size: 13px; }
.ah_definitions { margin-top: 27px !important; }
.ah_definitions > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 22px; padding-block: 15px; border-top: 1px solid #ffffff2b; }
.ah_definitions dt { font-size: 12px; }
.ah_definitions dd { color: #d7e0ef; font-size: 12px; line-height: 1.85; }
.ah_lien_clair { margin-top: 17px; border-color: #c0d1ed66; }
.ah_lien_clair:hover { color: #ffd4a4; }
.ah_exemple { color: var(--ah_encre); padding: 34px; background: #faf8f3; border-radius: 12px; box-shadow: 0 15px 50px #09244d26; transform: rotate(1deg); }
.ah_exemple_entete { display: flex; align-items: center; gap: 11px; padding-bottom: 24px; border-bottom: 1px solid #e1e0db; color: var(--ah_orange); font-size: 11px; }
.ah_exemple h3 { margin-block: 22px 16px; font-size: 26px; line-height: 1.4; letter-spacing: -.6px; }
.ah_exemple > p { color: var(--ah_texte); font-size: 12px; }
.ah_calcul { margin-top: 27px !important; }
.ah_calcul > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; border-top: 1px solid #e1e0db; }
.ah_calcul dt { font-size: 11px; }
.ah_calcul dd { white-space: nowrap; font-size: 21px; font-weight: 500; letter-spacing: -.6px; }
.ah_calcul_total { color: var(--ah_orange); }
.ah_calcul_total dd { font-size: 36px; }
.ah_exemple .ah_exemple_note { margin-top: 18px; font-size: 11px; line-height: 1.85; }
.ah_conseil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 76px; align-items: center; }
.ah_conseil_visuel { position: relative; padding-bottom: 24px; }
.ah_conseil_visuel > img { width: 100%; height: auto; aspect-ratio: .93; object-fit: cover; object-position: 45% center; border-radius: 12px 12px 90px 12px; }
.ah_conseil_visuel figcaption { position: absolute; bottom: 0; left: 20px; right: 20px; display: flex; align-items: center; gap: 11px; padding: 18px; background: #fff; border: 1px solid var(--ah_ligne); border-radius: 7px; font-size: 11px; }
.ah_conseil_visuel figcaption .ah_icone { color: var(--ah_orange); }
.ah_conseil_texte > p:not(.ah_eyebrow) { margin-top: 22px; color: var(--ah_texte); font-size: 13px; }
.ah_etapes { list-style: none; padding: 0; margin-top: 27px !important; }
.ah_etapes li { display: flex; align-items: flex-start; gap: 17px; padding-block: 19px; border-top: 1px solid var(--ah_ligne); }
.ah_etapes li > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; color: var(--ah_orange); background: #f2e9df; border-radius: 50%; font-size: 11px; }
.ah_etapes h3 { font-size: 14px; line-height: 1.6; }
.ah_etapes p { margin-top: 6px; color: var(--ah_texte); font-size: 12px; }
.ah_conseil_texte .ah_lien { margin-top: 12px; }
.ah_guides { border-block: 1px solid var(--ah_ligne); background: #fff; }
.ah_guides_grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ah_guide { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ah_ligne); border-radius: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ah_guide:hover { transform: translateY(-4px); border-color: #b6c4dd; box-shadow: 0 12px 30px #1933650a; }
.ah_guide_photo { overflow: hidden; }
.ah_guide_photo img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; transition: transform .35s; }
.ah_guide:hover img { transform: scale(1.035); }
.ah_guide_texte { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.ah_guide h3 { margin-block: 12px; font-size: 20px; line-height: 1.45; letter-spacing: -.45px; }
.ah_guide p { margin-bottom: 25px; color: var(--ah_texte); font-size: 12px; line-height: 1.9; }
.ah_guide_lire { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--ah_ligne); font-size: 11px; font-weight: 500; }
.ah_guide_lire .ah_icone { width: 18px; height: 18px; }
.ah_faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 100px; }
.ah_questions_icone { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 23px; color: var(--ah_orange); border: 1px solid #e4d9cc; border-radius: 50% 50% 50% 8px; font: 28px/1 "DM Serif Display", Georgia, serif; }
.ah_faq_intro > p:not(.ah_eyebrow) { max-width: 360px; margin-top: 23px; color: var(--ah_texte); font-size: 13px; }
.ah_faq_intro .ah_lien { margin-top: 23px; }
.ah_sources { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 32px; color: var(--ah_texte); font-size: 11px; line-height: 1.8; }
.ah_sources p { margin-bottom: 4px; color: var(--ah_encre); font-weight: 500; }
.ah_sources a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bbc5d4; }
.ah_sources a:hover { color: var(--ah_orange); }
.ah_faq details { border-bottom: 1px solid var(--ah_ligne); }
.ah_faq details:first-child { border-top: 1px solid var(--ah_ligne); }
.ah_faq details.is-animating { overflow: hidden; }
.ah_faq summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.7; }
.ah_faq summary::-webkit-details-marker { display: none; }
.ah_faq summary:hover { color: var(--ah_orange); }
.ah_plus { position: relative; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #cbd3e2; border-radius: 50%; }
.ah_plus::before, .ah_plus::after { content: ""; position: absolute; background: currentColor; width: 9px; height: 1px; top: 11px; left: 7px; transition: transform .25s; }
.ah_plus::after { transform: rotate(90deg); }
.ah_faq details[open]:not(.is-closing) .ah_plus::after { transform: rotate(0); }
.ah_faq details[open]:not(.is-closing) summary { color: var(--ah_orange); }
.ah_faq .faq-answer { padding: 0 42px 24px 0; color: var(--ah_texte); font-size: 13px; line-height: 1.95; }
.ah_final { padding-block: 60px; border-top: 1px solid #e4d9cc; background: #f1eae1; }
.ah_final_grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 70px; }
.ah_final_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ah_final_actions > p { width: 100%; max-width: 480px; color: var(--ah_texte); font-size: 13px; }

@media (min-width: 1700px) {
    .ah_container { width: min(1440px, calc(100% - 144px)); }
    .ah_hero h1 { font-size: 58px; }
}
@media (max-width: 1200px) {
    .ah_container { width: calc(100% - 72px); }
    .ah_hero { gap: 40px; }
    .ah_hero h1 { font-size: 42px; }
    .ah_entete { gap: 35px; }
    .ah_indemnisation_grille, .ah_faq { gap: 50px; }
    .ah_conseil { gap: 45px; }
    .ah_profils_grille, .ah_guides_grille { gap: 18px; }
    .ah_profil, .ah_garantie { padding: 25px; }
    .ah_profil h3 { font-size: 20px; }
    .ah_exemple { padding: 28px; }
    .ah_raccourcis { gap: 18px; }
    .ah_raccourcis a { gap: 12px; }
    .ah_definitions > div { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
    .ah_section { padding-block: 64px; }
    .ah_hero { grid-template-columns: 1fr; gap: 38px; padding-block: 34px 35px; }
    .ah_hero h1 { font-size: clamp(38px, 6vw, 52px); }
    .ah_hero h1 em br { display: none; }
    .ah_intro { max-width: 650px; }
    .ah_hero_visuel { width: 100%; max-width: 680px; justify-self: center; }
    .ah_hero_photo { aspect-ratio: 1.6; border-top-left-radius: 65px; }
    .ah_hero_visuel::before { border-top-left-radius: 75px; }
    .ah_hero_legende { left: 18px; }
    .ah_reperes { gap: 13px 24px; justify-content: flex-start; }
    .ah_raccourcis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; }
    .ah_raccourcis > span { grid-column: 1 / -1; }
    .ah_raccourcis a { justify-content: space-between; }
    .ah_entete { flex-direction: column; align-items: flex-start; gap: 23px; }
    .ah_entete_texte { max-width: 640px; flex-basis: auto; }
    .ah_profils_grille { grid-template-columns: 1fr; }
    .ah_profil { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 0 20px; }
    .ah_profil .ah_dessin { grid-row: 1 / 5; }
    .ah_profil :is(h3, p, a) { grid-column: 2; }
    .ah_profil > p:not(.ah_categorie) { margin-bottom: 14px; }
    .ah_garanties_grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ah_indemnisation_grille { grid-template-columns: 1fr; gap: 36px; }
    .ah_exemple { max-width: 580px; width: 100%; justify-self: center; transform: none; }
    .ah_definitions > div { grid-template-columns: 160px minmax(0, 1fr); }
    .ah_conseil { grid-template-columns: 1fr; gap: 36px; }
    .ah_conseil_visuel { width: 100%; max-width: 680px; justify-self: center; }
    .ah_conseil_visuel > img { aspect-ratio: 1.4; }
    .ah_guides_grille { gap: 15px; }
    .ah_guide_texte { padding: 18px; }
    .ah_guide h3 { font-size: 17px; }
    .ah_faq { grid-template-columns: 1fr; gap: 34px; }
    .ah_faq_intro > p:not(.ah_eyebrow) { max-width: 600px; }
    .ah_sources { margin-top: 23px; }
    .ah_final_grille { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 700px) {
    .ah_container { width: calc(100% - 40px); }
    .ah_section { padding-block: 52px; }
    .ah_main h2 { font-size: 32px; letter-spacing: -.8px; }
    .ah_hero h1 { font-size: 39px; letter-spacing: -1.3px; }
    .ah_hero .ah_eyebrow { max-width: 315px; font-size: 11px; letter-spacing: 1px; }
    .ah_hero_photo { aspect-ratio: 1.2; }
    .ah_hero_visuel::before { inset: -9px 9px 35px -9px; }
    .ah_hero_legende { gap: 10px; left: 9px; right: 9px; padding: 10px; }
    .ah_hero_legende img { width: 48px; height: 48px; }
    .ah_hero_legende strong { font-size: 11px; }
    .ah_hero_legende span { font-size: 11px; line-height: 1.6; }
    .ah_photo_repere { top: 14px; right: 12px; font-size: 11px; }
    .ah_reperes { flex-direction: column; align-items: flex-start; font-size: 11px; }
    .ah_raccourcis { column-gap: 22px; font-size: 11px; }
    .ah_profil { padding: 24px 21px; grid-template-columns: 38px minmax(0, 1fr); gap: 0 17px; }
    .ah_profil .ah_dessin { width: 36px; height: 36px; }
    .ah_profil h3 { font-size: 20px; }
    .ah_profils_grille { gap: 15px; }
    .ah_garanties_grille { grid-template-columns: 1fr; }
    .ah_garantie { padding: 25px; }
    .ah_garantie_entete { margin-bottom: 18px; }
    .ah_note { padding: 17px; gap: 11px; }
    .ah_definitions > div { grid-template-columns: 1fr; gap: 6px; }
    .ah_definitions dt { font-size: 13px; }
    .ah_exemple { padding: 25px 22px; }
    .ah_exemple h3 { font-size: 25px; }
    .ah_calcul > div { gap: 15px; }
    .ah_calcul dt { max-width: 160px; }
    .ah_conseil_visuel > img { aspect-ratio: 1.08; }
    .ah_conseil_visuel figcaption { left: 10px; right: 10px; padding: 13px; gap: 9px; }
    .ah_guides_grille { grid-template-columns: 1fr; gap: 23px; }
    .ah_guide_texte { padding: 24px; }
    .ah_guide h3 { font-size: 21px; }
    .ah_faq summary { font-size: 13px; gap: 18px; padding-block: 22px; }
    .ah_faq .faq-answer { padding-right: 9px; }
    .ah_final { padding-block: 46px; }
}
@media (max-width: 370px) {
    .ah_hero h1 { font-size: 33px; }
    .ah_main h2 { font-size: 29px; }
    .ah_bouton { padding-inline: 17px; gap: 15px; }
    .ah_actions { gap: 16px; }
    .ah_hero_legende { left: 5px; right: 5px; gap: 7px; }
    .ah_hero_legende img { width: 39px; height: 39px; }
    .ah_profil { display: flex; }
    .ah_profil .ah_dessin { margin-bottom: 15px; }
    .ah_raccourcis { column-gap: 16px; }
    .ah_raccourcis a { gap: 7px; }
    .ah_exemple { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .ah_main *, .ah_main *::before, .ah_main *::after { transition: none !important; scroll-behavior: auto !important; }
    .ah_bouton:hover, .ah_guide:hover, .ah_guide:hover img { transform: none; }
}
@media print {
    .ah_main { color: #162743; }
    .ah_container { width: 100%; }
    .ah_section, .ah_final { padding-block: 25px; }
    .ah_hero, .ah_conseil, .ah_faq, .ah_indemnisation_grille, .ah_final_grille { display: block; }
    .ah_hero_visuel, .ah_conseil_visuel, .ah_raccourcis, .ah_actions, .ah_final_actions .ah_bouton { display: none; }
    .ah_indemnisation { background: #fff; color: #162743; }
    .ah_indemnisation :is(p, dd, em) { color: #162743; }
    .ah_exemple { transform: none; box-shadow: none; border: 1px solid #aaa; margin-top: 20px; }
    .ah_faq details .faq-answer { display: block; }
    .ah_faq details::details-content { content-visibility: visible; display: block; }
    .ah_plus { display: none; }
    .ah_profil, .ah_garantie, .ah_guide, .ah_exemple { break-inside: avoid; }
}
