/*!
Theme Name: Poze
Theme URI: https://www.asyourweb.fr/
Template: Divi
Version: 1.0.0
Description: Thème enfant du template Divi
Author: Asyourweb
Author URI: https://www.asyourweb.fr/
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

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

:root {
    --noir: #1E1E1C;
    --blanc: #ffffff;
    --gris: #656565;
    --bordeaux: #932839;
    --lilas: #D7BEEF;
    --corail: #ED7050;
    --cacao: #480E24;
    --creme: #EFE8E4;
}

/* =====================================================================
   RÉFÉRENTIEL WEB ASYOURWEB — v1.0 (13/09/2026)
   Paliers : desktop ≥ 1200 · intermédiaire 981–1199 · tablette 768–980 · téléphone ≤ 767
   Règles d'écriture (référentiel §7) :
   - la base ne cible jamais un élément que Divi pilote avec une spécificité qui battrait
     le réglage du module ; jamais de !important dans la base ;
   - la taille du texte courant se pose sur body : p et li HÉRITENT (font-size:inherit),
     sinon la « Taille du texte » d'un module Texte (posée sur le module) ne s'applique
     jamais aux paragraphes ;
   - pas de text-align dans la base : c'est l'alignement du module qui décide ;
   - « body » en préfixe des titres, et « html body » pour le corps, pour passer devant le CSS
     du Personnaliseur Divi (h1 {…} et body {…} à 0,0,1, chargé APRÈS le thème enfant) tout en
     restant derrière le réglage d'un module (0,2,0 et plus).
   ===================================================================== */

/* ----- 1. TABLE A — la base ----- */
html body { font-size: 16px; line-height: 28px; }
p, li { font-size: inherit; line-height: inherit; }
body h1 { font-size: 28px; line-height: 48px; }
body h2 { font-size: 24px; line-height: 42px; }
body h3 { font-size: 20px; line-height: 34px; }
body h4 { font-size: 18px; line-height: 30px; }
.titre-section :is(h1, h2, h3, p) { font-size: 34px; line-height: 42px; }
/* Boutons (v2.2, 14/09) : Divi impose line-height 1.7em !important et, quand l'icône est désactivée dans le Personnaliseur
   (classe body .et_button_no_icon), padding .3em 1em !important — d'où les deux !important ci-dessous, au même sélecteur
   que Divi pour gagner par l'ordre de chargement ; html body (0,1,2) pour passer devant la taille du Personnaliseur (body .et_pb_button, chargé après) en tablette et téléphone ; les marges d'un module Bouton (.et_pb_button_N_wrapper, !important, chargées après) gagnent toujours. */
html body .et_pb_button { font-size: 18px; font-weight: 700; line-height: 30px !important; }
.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover { padding: 12px 32px !important; }

/* Titres de modules Divi (valeurs par défaut, sans !important : le réglage du module gagne) */
.et_pb_column_1_4 h4,
.et_pb_column_1_5 h4,
.et_pb_column_1_6 h4,
.et_pb_column_2_5 h4 {
    font-size: 18px;
}
.et_pb_circle_counter h3,
.et_pb_number_counter h3,
.et_pb_gallery_grid .et_pb_gallery_item h3,
.et_pb_blog_grid h2,
.et_pb_column_1_3 .et_pb_post h2,
.et_pb_column_1_4 .et_pb_post h2 {
    font-size: 20px;
}
.et_pb_blurb .et-pb-icon {
    font-size: 64px;
}
.et_pb_blurb.coche .et-pb-icon {
    font-size: 24px;
}

/* ----- 2. TABLE B — les exceptions nommées -----
   Une classe = un rôle = quatre valeurs. Elle se pose dans Avancé › ID et classes CSS › Classe CSS
   du MODULE (Divi la place sur l'enveloppe du module, d'où les sélecteurs descendants).
   Un module qui porte une classe d'exception ne règle PAS sa taille dans l'onglet Style.
   Valeurs Pozé conservées (décision du 13/09) : gros-titre 44 et chiffre-geant 230/150/144/64. */
.gros-titre :is(h1, h2, h3, p)                 { font-size: 44px; line-height: 52px; }
.chiffre-geant :is(h1, h2, h3, h4, p)          { font-size: 230px; line-height: 230px; }
/* v2.5 (19/09) — petit-texte couvre h1 et gros-titre couvre p : héros en h1 (surtitre) + p.titre (accroche).
   v2.3 (14/09) — deux exceptions nommées de l'Accueil : la grande citation (36) et le second segment du H1 du héros (56) */
.grande-citation :is(p, blockquote, blockquote p) { font-size: 36px; line-height: 60px; }
.titre-hero :is(h1, h2, h3), .titre-hero        { font-size: 56px; line-height: 72px; }
.paragraphe-intro :is(p, li)                   { font-size: 18px; line-height: 30px; }
.citation :is(p, blockquote, blockquote p)     { font-size: 20px; line-height: 34px; }
.petit-texte :is(p, li, h1)                    { font-size: 15px; line-height: 26px; }
.surtitre :is(p, h2, h3, h4)                   { font-size: 14px; line-height: 24px; }
.mention :is(p, li, figcaption)                { font-size: 14px; line-height: 24px; }
.titre-carte :is(h2, h3, h4)                   { font-size: 20px; line-height: 34px; }
.mini-chiffre :is(h2, h3, h4, p),
.mini-chiffre .percent p                       { font-size: 54px; line-height: 92px; }
.libelle-compteur p,
.libelle-compteur .title                       { font-size: 18px; line-height: 30px; }

/* ----- 3. ESPACEMENT -----
   Marge de section 80 / 64 / 48 / 36 posée par la base : une section standard ne porte AUCUN
   réglage de marge interne (elle hérite d'ici) ; seules les exceptions nommées (héros, fil
   d'Ariane 18/18, quinconce 0, séparateur 0, CTA scindé 0, footer) portent une valeur dans
   Style › Espacement — c'est ainsi que le palier 981–1199 (64), que Divi n'a pas, s'applique. */
body .et_pb_section { padding: 80px 0; }
.et_pb_row { padding: 0; width: calc(100% - 30px); max-width: 1200px; }
.container { width: calc(100% - 30px); max-width: 1200px; }


/***** SÉPARATEURS : combler le liseré de sous-pixel *****/
.et_pb_bottom_inside_divider { bottom: -2px!important; }
.et_pb_top_inside_divider { top: -2px!important; }

.et_header_style_left #et-top-navigation .mobile_menu_bar,
.et_header_style_split #et-top-navigation .mobile_menu_bar {
    padding-bottom: 12px;
    padding-top: 12px;
}

.et_pb_section:not(#footer) .et_pb_module.et_pb_text ul {
    margin-left: 2em;
}


.et_pb_row.centre-vertical {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#ariane {
    font-size: 16px;
}



/***** SUB-HEADER *****/
#top-header .container {
    padding-top: 0;
}
#et-info {
    float: right;
}
#et-info, #et-secondary-menu>ul>li a {
    padding-bottom: 0;
}
#top-header .et-social-icons li {
    margin-left: 0;
    margin-top: 0;
}
#top-header .et-social-icon.et-social-twitter a:before {
    content: "\e09d";
    font-weight: 400;
}
.et-social-icon a,
a.et-info {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 50%;
    margin: 5px 0.5em;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.4);
}
#et-info-phone {
    margin-right: 0.5em;
}
a.et-info {
    background: var(--bordeaux);
}
a.et-info:hover {
    background: var(--cacao)!important;
}
a.et-info:hover:before {
    color: var(--lilas)!important;
}
.et-social-icon a,
a#devenir-partenaire {
    background: var(--cacao);
    color: var(--lilas)!important;
}
#et-secondary-menu>ul>li>a:hover,
.et-social-icons a:hover,
a.et-info:hover {
    opacity: 1!important;
}
.et-social-icons a:hover {
    background: var(--bordeaux)!important;
}
.et-social-icon a:hover:before {
    color: var(--creme)!important;
}
#et-info span {
    display: none;
}
#top-header .et-social-icon a:before,
#et-info a:before {
    font-size: 20px!important;
    top: 10px;
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
}
a#cta-subheader {
    transition: all 0.3s ease;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 16px!important;
    font-weight: 700!important;
    border-radius: 8px;
    color: var(--creme)!important;
    background-color: var(--bordeaux) !important;
}
a#cta-subheader:hover {
    background-color: var(--cacao) !important;
    color: var(--lilas) !important;
}
#et-info a.et-info,
#et-info .et-social-icons,
#et-info #cta-subheader {
    vertical-align: middle;
}
#top-header .container{display:flex;align-items:center;justify-content:flex-end;
  min-height:60px;padding-top:0;padding-bottom:0}
#top-header .container:before,#top-header .container:after{display:none}
#top-header #et-info{display:flex;align-items:center;justify-content:flex-end;
  gap:10px;float:none}
#top-header #et-info:before,#top-header #et-info:after{display:none}
#top-header .et-social-icons{display:flex;align-items:center;gap:10px;margin:0;float:none}
#top-header .et-social-icons li{float:none;margin:0;line-height:0}
#top-header #et-info .et-info,
#top-header .et-social-icon a.icon{display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;margin:0;line-height:0}
#top-header .demande{display:flex;align-items:center;height:40px;margin:0}
/***** FIN SUB-HEADER *****/



/***** MAIN-HEADER *****/
.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
    padding: 0!important;
}
.et_header_style_left #et-top-navigation nav>ul>li>a,
.et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-top: 0!important;
    padding-bottom: 0!important;
    line-height: 80px;
    transition: all 0.3s ease;
}
.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a,
.et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li>a {
    line-height: 60px!important;
}
#top-menu li,
#top-menu>li:last-child {
    padding-left: .75em;
    padding-right: .75em;
}
#top-menu li a {
    transition: all 0.3s ease;
    font-weight: 500;
}
#top-menu ul.sub-menu {
    width: 310px;
}
#top-menu li li {
    padding: 0 15px 0;
    margin: 0;
}
#top-menu li li a {
    padding: 6px 15px;
    width: 280px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
#top-menu li li a:hover {
    background-color: var(--blanc);
    padding-left: 32px;
    transition: all 0.3s ease;
}
#top-menu li li a:before {
    content: " ";
    position: absolute;
    width: 9px;
    height: 13px;
    background-color: rgba(237, 112, 80, 0)!important;
    left: 0px;
    top: 12px;
    transition: all 0.3s ease;
}
#top-menu li li a:hover:before {
    background-color: rgba(237, 112, 80, 1)!important;
    left: 12px;
}
#top-menu li a:hover,
#top-menu-nav > ul > li > a:hover,
ul#menu-menu-principal li a:hover {
    opacity: 1!important;
    color: var(--bordeaux) !important;
}
#main-header {
    z-index: 100000;
    border-bottom: 3px solid var(--corail);
}
#main-header img#logo {
    max-height: 100%;
    margin-top: -60px;
}
#main-header.et-fixed-header img#logo {
    margin-top: -60px;
}
#main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
    box-shadow: 0 7px 7px rgba(0,0,0,0.1) !important;
}
/***** FIN MAIN-HEADER *****/



/***** HEADER ****/
/***** FIN HEADER *****/



/***** CONTENU ****/
.colonne-inverse .et_pb_module.et_pb_text {
    margin-bottom: 30px!important;
}
.et_pb_module.et_pb_text p img {
    vertical-align: middle;
}
#separation-photos > .et_pb_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
#separation-photos .et_pb_column.et_pb_column_1_3 {
    width: 33%;
    margin-right: auto;
}
#cta:before {
    content: ' ';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
/***** FIN CONTENU *****/



/***** INFOS PRATIQUES ****/
#infos-pratiques .et_pb_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#infos-pratiques .et_pb_column_1_3 {
    width: 360px;
    height: 360px;
    margin-left: auto!important;
    margin-right: auto!important;
}
#infos-pratiques .et-pb-icon {
    font-size: 64px;
}
/***** FIN INFOS PRATIQUES *****/



/***** CITATION ****/
#citation {
    overflow: hidden;
}
#citation:before,
#citation:after {
    content: ' ';
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: 100%!important;
    visibility: visible;
}
#citation:before {
    margin-left: 20px;
    top: -20px;
    background: url('/wp-content/themes/Asyourweb/images/quote-debut.svg') no-repeat;
}
#citation:after {
    right: 20px;
    bottom: -20px;
    background: url('/wp-content/themes/Asyourweb/images/quote-fin.svg') no-repeat;
}
#citation:before,
#citation:after {
    background: var(--lilas)!important;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
#citation:before {
    -webkit-mask-image: url('/wp-content/themes/Asyourweb/images/quote-debut.svg');
    mask-image: url('/wp-content/themes/Asyourweb/images/quote-debut.svg');
}
#citation:after {
    -webkit-mask-image: url('/wp-content/themes/Asyourweb/images/quote-fin.svg');
    mask-image: url('/wp-content/themes/Asyourweb/images/quote-fin.svg');
}
/***** FIN CITATION *****/



/***** BLOG ****/
.et_pb_blog_grid article {
    background-color: var(--bordeaux)!important;
}
.post-content a.more-link {
    display: block;
    text-align: center;
    text-transform: uppercase;
    margin-top: 1em;
    font-size: 18px;
    font-weight: 500;
}
/***** FIN BLOG *****/



/***** PARTENAIRES ****/
#ligne-partenaires > .et_pb_column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
#ligne-partenaires > .et_pb_column > .et_pb_module {
    max-width: 240px;
}
/***** FIN INFOS PRATIQUES *****/



/***** MENU INTERNE ****/
#menu-interne ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    margin-left: 0 !important;
    padding-left: 0;
}
#menu-interne ul li {
    list-style-type: none;
    display: inline-block;
    margin-left: 0.75em;
    margin-right: 0.75em;
    font-weight: 600;
}
/***** FIN MENU INTERNE *****/



/***** DIAPORAMA *****/
#diaporama .et-pb-controllers {
    bottom: 16px;
    height: auto;
}
#diaporama .et-pb-controllers a {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 10px;
    text-indent: -9999px;
    opacity: 0.6;
}
#diaporama .et-pb-controllers a.et-pb-active-control,
#diaporama .et-pb-controllers a:hover,
#diaporama .et-pb-controllers a:focus {
    opacity: 1;
}
#diaporama .et-pb-controllers a::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    bottom: -14px;
    left: -14px;
}
/***** FIN DIAPORAMA *****/



/***** QUINCONCES ****/
.section-quinconce.quinconce-droite > .et_pb_row {
    width: calc(100%);
}
.section-quinconce {
    background-size: 60vw;
    background-position: 100% 0!important;
}
.section-quinconce.quinconce-droite {
    background-position: left -5vw center!important;
}
.section-quinconce.quinconce-gauche {
    background-position: right -5vw center!important;
}
.section-quinconce > .et_pb_row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}
.section-quinconce > .et_pb_row > .et_pb_column {
    padding-top: unset;
    padding-bottom: unset;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin-right: 0;
}
.section-quinconce > .et_pb_row > .et_pb_column > .et_pb_module.et_pb_text {
    max-width: 90%;
}
.section-quinconce > .et_pb_row > .et_pb_column > .et_pb_module.et_pb_text h2,
.section-quinconce > .et_pb_row > .et_pb_column > .et_pb_module.et_pb_text h3,
.section-quinconce > .et_pb_row > .et_pb_column > .et_pb_module.et_pb_text p {
    margin-bottom: 1.5vw;
}
/***** FIN QUINCONCES *****/



/***** INFOS CONTACT ****/
#infos-contact #coords {
    width: 380px;
    margin-right: 0;
}
#infos-contact #formulaire-carte {
    width: 760px;
}
#infos-contact #coords .et_pb_row_inner,
#infos-contact #formulaire-carte {
    margin-left: 20px;
    margin-right: 20px;
}
#infos-contact #coords .et_pb_row_inner {
    width: 360px;
    margin-left: 0px;
}
#infos-contact #coords .et_pb_row_inner .et_pb_column {
    width: 100%;
    min-height: 380px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 50px;
    margin-right: 0px;
}
#infos-contact #coords .et_pb_row_inner .et_pb_column:last-child {
    margin-bottom: 0;
}
/***** FIN INFOS CONTACT ****/



/***** FORMULES ****/
#formules {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#formules .et_pb_column_1_3 {
    width: 360px;
    margin-left: auto!important;
    margin-right: auto!important;
}
#formules ul {
    margin-left: 0!important;
}
#formules ul li {
    list-style-type: none;
    padding-left: 2.75em;
}
#formules ul li:before {
    font-family: 'ETmodules'!important;
    content: '\e052';
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    margin-left: -1.35em;
    font-size: 2em;
    margin-top: 0.1em;
}
/***** FIN FORMULES *****/



/***** TÉMOIGNAGES ****/
#temoignages .et-pb-controllers a {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 10px;
    opacity: 1;
    border: 1px solid var(--blanc);
    background-color: transparent;
}
#temoignages .et-pb-controllers a.et-pb-active-control {
    background-color: var(--blanc);
}
#temoignages .et-pb-arrow-next,
#temoignages .et-pb-arrow-prev {
    color: var(--blanc);
    top: 35%;
}
.temoignages-items.slider:after,
.temoignages-items.slider:before {
    content: ' ';
    position: absolute;
    width: 60px;
    height: 60px;
}
.temoignages-items.slider:before {
    margin-left: 20px;
    margin-top: 40px;
    background: url('/wp-content/themes/Asyourweb/images/quote-debut.svg') no-repeat;
}
.temoignages-items.slider:after {
    right: 20px;
    margin-top: -120px;
    background: url('/wp-content/themes/Asyourweb/images/quote-fin.svg');
}
/***** FIN TÉMOIGNAGES *****/



/***** FAQ ****/
#faq .et_pb_toggle_open .et_pb_toggle_title:before {
    color: var(--lilas)!important;
    display: block;
}
/***** FIN FAQ *****/



/***** INSTAGRAM ****/
#sb_instagram #sbi_images {
    padding: 0px!important;
    margin-bottom: 60px;
}
#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a {
    margin: 0;
    transition: all 0.3s ease!important;
    font-size: 16px!important;
}
#sb_instagram #sbi_load .sbi_load_btn {
    cursor: pointer;
}
#sb_instagram #sbi_load .sbi_load_btn:hover {
    color: var(--blanc);
    box-shadow: none!important;
    background-color: var(--lilas)!important;
}
#sb_instagram .sbi_follow_btn a:hover {
    box-shadow: none!important;
    background-color: var(--bordeaux)!important;
}
#sb_instagram .sbi_follow_btn a svg {
    display: none!important;
}
#sb_instagram #sbi_load .sbi_follow_btn {
    position: relative;
}
#sb_instagram #sbi_load .sbi_load_btn:after,
#sb_instagram .sbi_follow_btn a:after {
    bottom: 0;
}
#sb_instagram .sbi_load_btn .sbi_btn_text,
#sb_instagram .sbi_load_btn .sbi_loader {
    opacity: 1;
    transition: none!important;
}
/***** FIN INSTAGRAM *****/



/***** FRISE ****/
.contenu-page > .et_pb_row#frise {
    padding-left: 120px;
    margin-bottom: 30px;
    padding-top: 50px;
}
#frise:before {
    content: ' ';
    width: 20px;
    height: 100%;
    position: absolute;
    background: linear-gradient(var(--lilas), var(--corail));
    margin-left: -70px;
    margin-top: -50px;
}
#frise h3 {
    margin-top: 24px;
}
#frise h3:before {
    content: ' ';
    position: absolute;
    width: 80px;
    height: 24px;
    background-color: var(--blanc);
    margin-left: -100px;
    border-radius: 0;
    border: 0px solid var(--blanc);
    margin-top: 6px;
}
#frise > .et_pb_column:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    background: none;
    border-style: solid;
    border-width: 0 60px 60px 60px;
    border-color: transparent transparent var(--blanc) transparent;
    margin-left: -120px;
    margin-top: -75px;
}
/***** FIN FRISE *****/



/***** GALERIE MASONRY ****/
/* Mise en page en colonnes réelles pilotées par galerie-masonry.js
 - le JS ajoute .ayw-masonry-on sur le module, puis .is-ready après calcul
 - sans JS (ou dans le Visual Builder) : la galerie Divi native reste intacte */

#galerie-masonry,
.ayw-masonry {
 --ayw-gap: 24px;
 --ayw-radius: 18px;
 --ayw-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
 width: 100%;
 max-width: 100%;
}

/* ---- Conteneur : une ligne de colonnes ---- */
.ayw-masonry-on .et_pb_gallery_items {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 align-items: flex-start;
 gap: var(--ayw-gap);
 width: 100% !important;
 max-width: 100% !important;
 margin: 0 !important;
 padding: 0 !important;
 float: none !important;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.ayw-masonry-on.is-ready .et_pb_gallery_items {
 opacity: 1;
}

/* Neutralisation des clearfix / lignes Divi */
.ayw-masonry-on .et_pb_gallery_items::before,
.ayw-masonry-on .et_pb_gallery_items::after {
 display: none !important;
 content: none !important;
}

/* ---- Colonnes générées par le JS ---- */
.ayw-masonry-on .ayw-masonry-col {
 flex: 1 1 0%;
 min-width: 0; /* indispensable : empêche tout débordement horizontal */
 max-width: 100%;
 display: flex;
 flex-direction: column;
 gap: var(--ayw-gap);
 box-sizing: border-box;
}

/* ---- Item ---- */
.ayw-masonry-on .et_pb_gallery_item {
 display: block !important;
 position: relative;
 float: none !important;
 clear: none !important;
 width: 100% !important;
 max-width: 100% !important;
 min-width: 0 !important;
 margin: 0 !important;
 padding: 0 !important;
 box-sizing: border-box;
 vertical-align: top;
}

.ayw-masonry-on .et_pb_gallery_item.first_in_row,
.ayw-masonry-on .et_pb_gallery_item.last_in_row,
.ayw-masonry-on .et_pb_gallery_item:nth-child(n) {
 margin-right: 0 !important;
 clear: none !important;
}

/* ---- Conteneur image ---- */
.ayw-masonry-on .et_pb_gallery_image {
 display: block !important;
 position: relative;
 width: 100% !important;
 height: auto !important;
 max-width: 100% !important;
 overflow: hidden;
 border-radius: var(--ayw-radius);
 box-shadow: var(--ayw-shadow);
 background-color: rgba(0, 0, 0, 0.04);
}

/* Neutralise les classes portrait / paysage de Divi */
.ayw-masonry-on .et_pb_gallery_image.landscape,
.ayw-masonry-on .et_pb_gallery_image.portrait {
 width: 100% !important;
 height: auto !important;
}

.ayw-masonry-on .et_pb_gallery_image a {
 display: block !important;
 position: relative;
 width: 100% !important;
 height: auto !important;
 max-width: 100% !important;
 border-radius: var(--ayw-radius);
 overflow: hidden;
}

/* ---- Image : proportions naturelles, jamais recadrée ---- */
.ayw-masonry-on .et_pb_gallery_image img {
 display: block !important;
 width: 100% !important;
 height: auto !important;
 max-width: 100% !important;
 min-height: 0 !important;
 object-fit: contain !important;
 border-radius: var(--ayw-radius);
 transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ---- Survol ---- */
.ayw-masonry-on .et_pb_gallery_item:hover img {
 transform: scale(1.04);
 opacity: 0.9;
}

/* Overlay Divi (icône loupe) : on le garde fonctionnel */
.ayw-masonry-on .et_pb_gallery_image .et_overlay {
 border-radius: var(--ayw-radius);
 z-index: 2;
}

/* ---- Titre / légende éventuels ---- */
.ayw-masonry-on .et_pb_gallery_title,
.ayw-masonry-on .et_pb_gallery_caption {
 margin-top: 0.5em;
 padding: 0;
}

/* ---- Gouttières réduites sur petits écrans ---- */
@media only screen and (max-width: 980px) {
 #galerie-masonry,
 .ayw-masonry {
 --ayw-gap: 20px;
 --ayw-radius: 14px;
 }
}

@media only screen and (max-width: 767px) {
 #galerie-masonry,
 .ayw-masonry {
 --ayw-gap: 16px;
 --ayw-radius: 12px;
 --ayw-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
 }
}

/* Pas d'animation de survol au doigt */
@media (hover: none) {
 .ayw-masonry-on .et_pb_gallery_item:hover img {
 transform: none;
 opacity: 1;
 }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
 .ayw-masonry-on .et_pb_gallery_items,
 .ayw-masonry-on .et_pb_gallery_image img {
 transition: none !important;
 }
}
/***** FIN GALERIE MASONRY *****/



/***** ORGANIGRAMME ****/
.organigramme .et_pb_column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.et_pb_team_member {
    flex-direction: column;
    align-items: center;
}
.et_pb_team_member .et_pb_team_member_image {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}
/***** FIN ORGANIGRAMME *****/



/***** CONTACT ****/
#form-contact {
    margin-left: auto;
    margin-right: auto;
}
#form-contact .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px; /* lignes | colonnes */
}
#form-contact .wpcf7-form > p {
    flex: 1 1 100%;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding-bottom: 0;
}
/* Repli pour les navigateurs sans :has() — la classe "large" reste maîtresse */
#form-contact .wpcf7-form > p.large,
#form-contact .wpcf7-form > p.submit {
    flex: 1 1 100%;
}
#form-contact .wpcf7-form p input,
#form-contact .wpcf7-form p textarea,
#form-contact .wpcf7-form p select {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    line-height: 36px;
    padding: 0px 16px;
    font-size: 16px;
    color: var(--bordeaux);
    border: 2px solid var(--bordeaux);
    font-weight: 600;
}
#form-contact .wpcf7-form p input[type=checkbox] {
    width: 1.5em;
}
#form-contact .wpcf7-form p textarea {
    display: block;
    line-height: 24px;
    height: 160px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#form-contact .wpcf7-form p select {
    height: 40px;
}
#form-contact .wpcf7-form p input[type=radio] {
    display: inline-block;
    float: left;
    width: 24px;
    margin-top: 6px;
}
#form-contact input::-webkit-input-placeholder,
#form-contact textarea::-webkit-input-placeholder {
    color: var(--gris);
    font-weight: 400!important;
}
#form-contact input::-moz-placeholder,
#form-contact textarea::-moz-placeholder {
    color: var(--gris);
    font-weight: 400!important;
}
#form-contact input:-ms-input-placeholder,
#form-contact textarea:-ms-input-placeholder {
    color: var(--gris);
    font-weight: 400!important;
}
#form-contact input:-moz-placeholder,
#form-contact textarea:-moz-placeholder {
    color: var(--gris);
    font-weight: 400!important;
}
#form-contact input::placeholder,
#form-contact textarea::placeholder {
    color: var(--gris);
    font-weight: 400!important;
}
#form-contact span.wpcf7-list-item-label {
    font-size: 15px;
    color: var(--noir);
}
#form-contact .wpcf7-form p.submit {
    display: flex;
    justify-content: flex-end;
}
#form-contact .wpcf7-form p input.wpcf7-submit {
    width: auto;
    text-align: center;
    float: right;
    cursor: pointer;
    line-height: 32px;
    transition: all 0.3s ease;
    color: var(--blanc);
    border-width: 2px;
    border-color: var(--bordeaux);
    background-color: var(--bordeaux);
    padding: .3em 2em;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}
#form-contact .wpcf7-form p input.wpcf7-submit:hover {
    background-color: var(--lilas);
    border-color: var(--lilas);
    color: var(--corail);
}
#form-contact .wpcf7 form.sent .wpcf7-response-output,
#form-contact .wpcf7 form.invalid .wpcf7-response-output,
#form-contact .wpcf7 form.unaccepted .wpcf7-response-output {
    padding: 1em 3em;
    clear: both;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 36px;
}
#form-contact .wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--lilas);
    background: var(--lilas);
    color: var(--blanc);
}
#form-contact .wpcf7 form.invalid .wpcf7-response-output,
#form-contact .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--corail);
    background: var(--corail);
    color: var(--blanc);
}
#form-contact .wpcf7-spinner {
    display: none;
}
body.home span.rgpd {
    color: var(--blanc);
}
/***** FIN CONTACT ****/



/***** COORDONNEES *****/
#coordonnees .et_pb_team_member {
    display: flex!important;
    flex-direction: row;
}
#coordonnees .et_pb_team_member_image {
    margin-right: 20px!important;
}
#coordonnees > .coordonnees-contact ul {
    padding-left: 0;
}
#coordonnees > .coordonnees-contact ul li {
    list-style-type: none;
    transition: all 0.3s ease;
}
#coordonnees > .coordonnees-contact ul li:before {
    font-family: "ETmodules"!important;
    position: absolute;
    font-size: 24px;
    color: var(--blanc);
    margin-left: 0!important;
    font-weight: normal;
    background-color: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}
#coordonnees > .coordonnees-contact ul li:first-child:before {
    content: "\e076";
}
#coordonnees > .coordonnees-contact ul li:last-child:before {
    content: "\e090";
}
#coordonnees > .coordonnees-contact ul li:hover:before {
    background-color: var(--blanc);
    color: var(--noir)!important;
}
#coordonnees > .coordonnees-contact ul li a {
    padding-left: 3em;
    z-index: 1;
    position: relative;
}
/***** FIN COORDONNEES *****/



/***** COORDS ****/
#coords ul {
    padding-left: 0!important;
    line-height: 2em;
    margin-top: 0;
    margin-left: 0em !important;
}
#coords ul li {
    list-style-type: none;
    font-weight: normal !important;
}
#coords ul li a {
    padding-left: 5em;
    font-weight: 400;
}
#coords ul li a:before {
    font-family: "ETmodules"!important;
    position: absolute;
    color: var(--bordeaux);
    font-weight: normal;
    background-color: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 48px;
    margin-left: -1.5em !important;
    margin-top: 20px;
}
#coords ul li:first-child a:before {
    content: "\e076";
    color: var(--bordeaux);
}
#coords ul li:nth-child(2) a:before {
    content: "\e090";
    color: var(--lilas);
}
#coords ul li:last-child a:before {
    content: "\e081";
    color: var(--corail);
}
/***** FIN COORDS *****/



/***** MAIN FOOTER ****/
#main-footer {
    background-color: var(--noir);
}
#footer-info {
    text-align: center;
    float: none;
    font-family: 'Montserrat';
}
#footer-info a,
#footer-info strong {
    font-weight: 400;
}
/***** FIN MAIN FOOTER ****/


/***** FOOTER ****/
#footer ul {
    padding-left: 0!important;
    line-height: 2em;
    margin-top: 0;
    list-style-type: none;
}
#footer ul li {
    font-weight: normal!important;
}
#footer ul li a {
    color: var(--blanc);
    transition: all 0.3s ease;
}
#footer #nous-suivre ul {
    padding-left: 0!important;
    margin-bottom: 0;
    display: flex;
}
#footer #nous-contacter ul li,
#footer #nous-suivre ul li {
    list-style-type: none;
}
#footer #nous-suivre ul li {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
}
#footer #nous-suivre ul li:first-child {
    margin-left: 0;
}
#footer #nous-contacter ul li a,
#footer #nous-suivre ul li a {
    color: var(--blanc);
}
#footer #nous-contacter ul li:before,
#footer #nous-suivre ul li:before {
    font-family: "ETmodules"!important;
    position: absolute;
    font-size: 24px;
    color: var(--blanc);
    margin-left: 0!important;
    font-weight: normal;
    background-color: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}
#footer #nous-contacter ul li:hover:before {
    background: var(--blanc);
    color: var(--bordeaux)!important;
}
#footer #nous-contacter ul li a {
    padding-left: 3em;
    z-index: 1;
    position: relative;
}
#footer #nous-contacter ul li:first-child:before,
#footer #nous-contacter ul li:last-child:before,
#footer #nous-suivre ul li:first-child:before,
#footer #nous-suivre ul li:nth-child(2):before,
#footer #nous-suivre ul li:last-child:before {
    font-family: "ETmodules"!important;
    position: absolute;
    font-size: 24px;
    color: var(--blanc);
    margin-left: -1.5em;
    font-weight: normal;
    cursor: pointer;
}
#footer #nous-suivre ul li:first-child:before,
#footer #nous-suivre ul li:nth-child(2):before {
    margin-left: 0px;
    margin-top: 0px;
    color: var(--blanc);
}
#footer #nous-suivre ul li:first-child:before {
    content: "\e093";
}
#footer #nous-suivre ul li:nth-child(2):before {
    content: "\e09d";
}
#footer #nous-suivre ul li:last-child:before {
    content: "\e09a";
    font-weight: 600;
}
#footer #nous-suivre ul li:hover:before {
    background-color: var(--blanc);
    color: var(--bordeaux);
}
#footer #nous-suivre ul a {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: absolute;
    z-index: 2;
}
#footer #nous-contacter ul li:first-child:before {
    content: "\e076";
}
#footer #nous-contacter ul li:last-child:before {
    content: "\e090";
}
#main-footer {
    display: none;
}
@media screen and (min-width: 981px) {
    #footer .et_pb_row { width: calc(100% - 30px); }
}
/***** FIN FOOTER ****/


/***** PLAN DU SITE ****/
#plan-du-site ul {
    padding-left: 1.5em!important;
}
#plan-du-site ul li:before {
    content: ' ';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: var(--blanc);
    margin-left: -20px;
    margin-top: 10px;
}
/***** FIN PLAN DU SITE ****/


/***** MENU BAS DE PAGE ****/
#menu-bas-de-page {
    background: none;
}
#menu-bas-de-page .et_pb_menu_inner_container,
#menu-bas-de-page .et_pb_menu_inner_container .et_pb_menu__wrap,
#menu-bas-de-page .et_pb_menu_inner_container .et_pb_menu__wrap .et_pb_menu__menu,
#menu-bas-de-page .et_pb_menu_inner_container .et_pb_menu__wrap .et_pb_menu__menu .et-menu-nav,
ul#menu-menu-principal {
    display: block;
    margin: 0;
}
ul#menu-menu-principal li {
    padding: 0;
}
ul#menu-menu-principal li:before {
    content: ' ';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--blanc);
    border-radius: 50%;
    margin-top: 4px;
}
ul#menu-menu-principal li a {
    padding-left: 1.5em;
}
ul#menu-menu-principal li a:hover {
    opacity: 1;
    color: var(--lilas)!important;
}
/***** FIN MENU BAS DE PAGE ****/



@media screen and (max-width: 1399px) {
    .et_pb_module.et_pb_image.image-cadres.inverse:before {
        left: auto;
        right: -15px;
    }
}

@media screen and (max-width: 1199px) {
}

@media screen and (min-width: 981px) and (max-width: 1199px) {
    html body { font-size: 16px; line-height: 28px; }
    body h1 { font-size: 26px; line-height: 44px; }
    body h2 { font-size: 22px; line-height: 38px; }
    body h3 { font-size: 20px; line-height: 32px; }
    body h4 { font-size: 18px; line-height: 30px; }
    html body .et_pb_button { font-size: 18px; line-height: 30px !important; }
    .titre-section :is(h1, h2, h3, p) { font-size: 34px; line-height: 42px; }
    .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover { padding: 10px 40px !important; }
    .gros-titre :is(h1, h2, h3, p)             { font-size: 40px; line-height: 48px; }
    .chiffre-geant :is(h1, h2, h3, h4, p)      { font-size: 150px; line-height: 150px; }
    .grande-citation :is(p, blockquote, blockquote p) { font-size: 32px; line-height: 54px; }
    .titre-hero :is(h1, h2, h3), .titre-hero    { font-size: 48px; line-height: 64px; }
    .paragraphe-intro :is(p, li)               { font-size: 18px; line-height: 30px; }
    .citation :is(p, blockquote, blockquote p) { font-size: 20px; line-height: 34px; }
    .petit-texte :is(p, li, h1)                { font-size: 15px; line-height: 26px; }
    .surtitre :is(p, h2, h3, h4)               { font-size: 14px; line-height: 24px; }
    .mention :is(p, li, figcaption)            { font-size: 13px; line-height: 22px; }
    .titre-carte :is(h2, h3, h4)               { font-size: 20px; line-height: 34px; }
    .mini-chiffre :is(h2, h3, h4, p), .mini-chiffre .percent p { font-size: 48px; line-height: 82px; }
    .libelle-compteur p, .libelle-compteur .title              { font-size: 16px; line-height: 28px; }
    body .et_pb_section { padding: 64px 0; }
    #main-header img#logo {
        margin-top: -120px;
        max-height: 80%;
    }
    #main-header.et-fixed-header img#logo {
        margin-top: -120px;
    }
    #top-menu li, #top-menu>li:last-child {
        padding-left: .5em;
        padding-right: .5em;
    }
    #menu-interne .et_pb_text {
        font-size: 22px;
    }
    #menu-interne ul li {
        margin-left: 1em;
        margin-right: 1em;
    }
    .section-quinconce {
        background-size: 75vw;
    }
    .section-quinconce.quinconce-gauche {
        background-position: right -15vw center!important;
    }
    .section-quinconce.quinconce-droite {
        background-position: left -15vw center!important;
    }
    .section-quinconce h2 {
        font-size: 32px;
    }
    #cta-colonne .et_pb_text {
        font-size: 18px;
    }
    #cta-colonne .et_pb_text h2 {
        font-size: 24px;
    }
    #citation .et_pb_module.et_pb_text {
        max-width: 75%;
        font-size: 18px;
    }
    #infos-contact #coords {
        width: 340px;
        margin-left: 0px!important;
        margin-right: 20px!important;
    }
    #infos-contact #formulaire-carte {
        width: calc(100% - 360px);
        margin-left: 0px!important;
        margin-right: 0px!important;
    }
    #infos-contact #coords .et_pb_row_inner {
        width: 340px;
    }
    #infos-contact #coords .et_pb_row_inner,
    #infos-contact #formulaire-carte {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media screen and (min-width: 981px) {
    #cta-colonne {
        background-position: left 65vw center;
    }
    .section-quinconce > .et_pb_row {
        height: 600px;
        min-height: 600px;
    }
    .section-quinconce > .et_pb_row > .et_pb_column {
        min-height: 600px;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    #cta-colonne {
        background-position: left 50vw center;
    }
    #cta-colonne .et_pb_column_2_3 {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 980px) {
    .mobile_menu_bar:before {
        color: var(--bordeaux)!important;
    }
    .mobile_nav.opened span.mobile_menu_bar.mobile_menu_bar_toggle:before {
        color: var(--blanc);
        content: '\4d'!important;
    }
    #top-header > .container {
        padding-left: 0;
        padding-right: 0;
        width: calc(100% - 10px);
    }
    #et-info {
        padding-top: 0;
    }
    #main-header img#logo {
        max-height: 100px;
        margin-top: -55px;
    }
    .et_pb_row.colonne-inverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .et_pb_row.colonne-inverse > .et_pb_column.et_pb_column_1_2:first-child {
        margin-top: 0px;
        margin-bottom: 0;
    }
    .et_pb_row.colonne-inverse > .et_pb_column:first-child {
        margin-top: 30px;
        margin-bottom: 0;
    }
    #sb_instagram #sbi_images {
        margin-bottom: 40px;
    }
    #sb_instagram #sbi_load .sbi_load_btn,
    #sb_instagram .sbi_follow_btn a {
        font-size: 14px!important;
    }
    #formules .et_pb_column_1_3 {
        width: 320px!important;
    }
    #form-contact p:not(.large)+p:not(.large) input {
        margin-left: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 980px) {
    html body { font-size: 15px; line-height: 26px; }
    body h1 { font-size: 24px; line-height: 42px; }
    body h2 { font-size: 20px; line-height: 34px; }
    body h3 { font-size: 18px; line-height: 30px; }
    body h4 { font-size: 16px; line-height: 28px; }
    html body .et_pb_button { font-size: 16px; line-height: 28px !important; }
    .titre-section :is(h1, h2, h3, p) { font-size: 24px; line-height: 42px; }
    .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover { padding: 10px 36px !important; }
    .gros-titre :is(h1, h2, h3, p)             { font-size: 32px; line-height: 54px; }
    .chiffre-geant :is(h1, h2, h3, h4, p)      { font-size: 144px; line-height: 144px; }
    .grande-citation :is(p, blockquote, blockquote p) { font-size: 28px; line-height: 46px; }
    .titre-hero :is(h1, h2, h3), .titre-hero    { font-size: 40px; line-height: 52px; }
    .paragraphe-intro :is(p, li)               { font-size: 16px; line-height: 28px; }
    .citation :is(p, blockquote, blockquote p) { font-size: 18px; line-height: 30px; }
    .petit-texte :is(p, li, h1)                { font-size: 14px; line-height: 24px; }
    .surtitre :is(p, h2, h3, h4)               { font-size: 14px; line-height: 24px; }
    .mention :is(p, li, figcaption)            { font-size: 13px; line-height: 22px; }
    .titre-carte :is(h2, h3, h4)               { font-size: 18px; line-height: 30px; }
    .mini-chiffre :is(h2, h3, h4, p), .mini-chiffre .percent p { font-size: 40px; line-height: 68px; }
    .libelle-compteur p, .libelle-compteur .title              { font-size: 15px; line-height: 26px; }
    body .et_pb_section { padding: 48px 0; }
    body .et_pb_row { width: calc(100% - 40px); }
    .et_pb_column_1_4 h4,
    .et_pb_column_1_5 h4,
    .et_pb_column_1_6 h4,
    .et_pb_column_2_5 h4 {
        font-size: 16px;
    }
    .et_pb_circle_counter h3,
    .et_pb_number_counter h3,
    .et_pb_gallery_grid .et_pb_gallery_item h3,
    .et_pb_blog_grid h2,
    .et_pb_column_1_3 .et_pb_post h2,
    .et_pb_column_1_4 .et_pb_post h2 {
        font-size: 18px;
    }
    .et_pb_blurb .et-pb-icon {
        font-size: 54px;
    }
    /***** COLONNES MAINTENUES SUR TABLETTE *****/
	.et_pb_row.colonnes-tablette {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }
	.et_pb_row.colonnes-tablette > .et_pb_column.et_pb_column_1_2 {
        width: 48.5%!important;
        height: auto!important;
        margin-bottom: 30px;
    }
	.et_pb_row.colonnes-tablette > .et_pb_column.et_pb_column_1_3 {
        width: 31%!important;
        margin-bottom: 0;
    }
    .colonnes-tablette > .et_pb_column_1_2:last-child {
        margin-bottom: 30px !important;
    }
    #separation-photos .et_pb_column_1_3 {
        margin-bottom: 0;
        margin-top: 30px;
    }
    #separation-photos .et_pb_column_1_3 {
        margin-bottom: 0;
        margin-top: 0px;
    }
    #ligne-partenaires > .et_pb_column > .et_pb_module {
        max-width: 180px;
    }
    #infos-pratiques .et_pb_column_1_3 {
        width: 320px;
        height: 320px;
        margin-bottom: 60px;
    }
    #infos-pratiques .et_pb_column_1_3:last-child {
        margin-bottom: 0px;
    }
    #infos-contact #coords,
    #infos-contact #coords .et_pb_row_inner,
    #infos-contact #formulaire-carte {
        width: 100%;
        margin-left: 0;
        margin-right: 0px;
    }
    #infos-contact #coords .et_pb_row_inner {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #infos-contact #coords .et_pb_row_inner .et_pb_column {
        width: 50%;
    }
    #form-contact input.wpcf7-submit {
        font-size: 18px;
    }
    #footer .et_pb_column_1_3 {
        width: calc(100% / 3);
    }
}

@media screen and (min-width: 768px) {
    #form-contact .wpcf7-form > p:has(input[type="text"]),
    #form-contact .wpcf7-form > p:has(input[type="tel"]),
    #form-contact .wpcf7-form > p:has(input[type="email"]),
    #form-contact .wpcf7-form > p:has(input[type="url"]),
    #form-contact .wpcf7-form > p:has(input[type="number"]),
    #form-contact .wpcf7-form > p:has(input[type="date"]),
    #form-contact .wpcf7-form > p:has(select),
    #form-contact .wpcf7-form > p.demi {
        flex: 1 1 calc(50% - 8px); /* 8px = la moitié du gap horizontal */
    }
}

@media screen and (max-width: 767px) {
    html body { font-size: 14px; line-height: 24px; }
    body h1 { font-size: 20px; line-height: 34px; }
    body h2 { font-size: 18px; line-height: 30px; }
    body h3 { font-size: 16px; line-height: 28px; }
    body h4 { font-size: 15px; line-height: 26px; }
    html body .et_pb_button { font-size: 15px; line-height: 28px !important; }
    .titre-section :is(h1, h2, h3, p) { font-size: 18px; line-height: 32px; }
    .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover { padding: 8px 24px !important; }
    .gros-titre :is(h1, h2, h3, p)             { font-size: 28px; line-height: 46px; }
    .chiffre-geant :is(h1, h2, h3, h4, p)      { font-size: 64px; line-height: 64px; }
    .grande-citation :is(p, blockquote, blockquote p) { font-size: 24px; line-height: 40px; }
    .titre-hero :is(h1, h2, h3), .titre-hero    { font-size: 32px; line-height: 42px; }
    .paragraphe-intro :is(p, li)               { font-size: 15px; line-height: 26px; }
    .citation :is(p, blockquote, blockquote p) { font-size: 16px; line-height: 28px; }
    .petit-texte :is(p, li, h1)                { font-size: 13px; line-height: 22px; }
    .surtitre :is(p, h2, h3, h4)               { font-size: 13px; line-height: 22px; }
    .mention :is(p, li, figcaption)            { font-size: 12px; line-height: 20px; }
    .titre-carte :is(h2, h3, h4)               { font-size: 16px; line-height: 28px; }
    .mini-chiffre :is(h2, h3, h4, p), .mini-chiffre .percent p { font-size: 32px; line-height: 54px; }
    .libelle-compteur p, .libelle-compteur .title              { font-size: 14px; line-height: 24px; }
    body .et_pb_section { padding: 36px 0; }
    body .et_pb_row { width: calc(100% - 30px); }
    .et_pb_column_1_4 h4,
    .et_pb_column_1_5 h4,
    .et_pb_column_1_6 h4,
    .et_pb_column_2_5 h4 {
        font-size: 15px;
    }
    .et_pb_circle_counter h3,
    .et_pb_number_counter h3,
    .et_pb_gallery_grid .et_pb_gallery_item h3,
    .et_pb_blog_grid h2,
    .et_pb_column_1_3 .et_pb_post h2,
    .et_pb_column_1_4 .et_pb_post h2 {
        font-size: 16px;
    }
    .et_pb_blurb .et-pb-icon {
        font-size: 48px;
    }
    .et_mobile_menu .menu-item-has-children>a {
        background-color: inherit;
    }
    .et_mobile_menu li a {
        padding: 8px 5%;
    }
    #main-header img#logo {
        max-height: 40px;
        margin-top: 0px;
    }
    #main-header.et-fixed-header img#logo {
        margin-top: 0px;
    }
    #top-header > .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    #top-header .container {
        width: 100%;
    }
    header#main-header > .container {
        width: 100%;
        padding: 0 5px;
    }
    a.demande {
        font-size: 14px!important;
    }
    #ariane {
        font-size: 14px;
    }
    #infos-pratiques .et_pb_column_1_3 {
        width: 330px;
        height: 330px;
    }
    #menu-interne ul {
        flex-wrap: wrap;
    }
    #menu-interne ul li {
        width: 100%;
        text-align: center;
    }
    .contenu-page > .et_pb_row#frise {
        padding-left: 80px;
    }
    #frise:before {
        margin-left: -60px;
    }
    #frise > .et_pb_column:before {
        border-width: 0 30px 30px 30px;
        margin-left: -80px;
    }
    #frise h3:before {
        width: 60px;
        height: 18px;
        margin-left: -80px;
    }
    #coordonnees .et_pb_team_member_image {
        margin-right: 10px!important;
    }
    #coordonnees .et_pb_team_member_image img {
        max-width: 60px;
    }
    #menu-bas-de-page .et_mobile_nav_menu {
        display: none;
    }
    #footer ul {
        padding-bottom: 0;
    }
    #infos-contact #coords .et_pb_row_inner {
        width: 100%;
    }
    #infos-contact #coords .et_pb_row_inner, #infos-contact #formulaire-carte {
        margin-left: 0;
        margin-right: 0;
    }
    #form-contact input.wpcf7-submit {
        font-size: 16px;
    }
    #form-contact p {
        width: 100%;
    }
    #form-contact .wpcf7-form p input:not([type="checkbox"]):not([type="radio"]),
    #form-contact .wpcf7-form p textarea,
    #form-contact .wpcf7-form p select {
        width: 100%;
        font-size: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    #form-contact input[type="checkbox"] {
        width: 14px!important;
        display: inline-block;
    }
    #form-contact p.large select,
    #form-contact p.large textarea {
        width: 100%;
    }
    #form-contact span.wpcf7-list-item-label {
        font-size: 13px;
    }
	#infos-pratiques .et_pb_column_1_3 {
        margin-bottom: 16px;
    }
	#infos-pratiques .et_pb_column_1_3:last-child {
        margin-bottom: 0;
    }
}