/* Pages en code dur (Gamache) · pharmagap.com
   1. Base : reset du thème Hello Elementor, repris tel quel (le contenu repris d Elementor en dépend).
   2. En-tête, pied, boutons communs. 3. Blocs communs. Le CSS propre à chaque page est dans contenu/<page>.css. */

/* 1. Reset Hello Elementor (assets/css/reset.css) */
html{line-height:1.15;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{background-color:#fff;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{color:inherit;font-family:inherit;font-weight:500;line-height:1.2;margin-block-end:1rem;margin-block-start:.5rem}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-block-end:.9rem;margin-block-start:0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em;white-space:pre-wrap}a{background-color:transparent;color:#c36;text-decoration:none}a:active,a:hover{color:#336}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}abbr[title]{border-block-end:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;height:auto;max-width:100%}details{display:block}summary{display:list-item}figcaption{color:#333;font-size:16px;font-style:italic;font-weight:400;line-height:1.4}[hidden],template{display:none}@media print{*,:after,:before{background:transparent!important;box-shadow:none!important;color:#000!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap!important}blockquote,pre{-moz-column-break-inside:avoid;border:1px solid #ccc;break-inside:avoid}thead{display:table-header-group}img,tr{-moz-column-break-inside:avoid;break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{-moz-column-break-after:avoid;break-after:avoid}}label{display:inline-block;line-height:1;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:1rem;line-height:1.5;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{border:1px solid #666;border-radius:3px;padding:.5rem 1rem;transition:all .3s;width:100%}input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#333}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;width:auto}[type=button],[type=submit],button{background-color:transparent;border:1px solid #c36;border-radius:3px;color:#c36;display:inline-block;font-size:1rem;font-weight:400;padding:.5rem 1rem;text-align:center;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}[type=button]:focus:not(:focus-visible),[type=submit]:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:#c36;color:#fff;text-decoration:none}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}select{display:block}table{background-color:transparent;border-collapse:collapse;border-spacing:0;font-size:.9em;margin-block-end:15px;width:100%}table td,table th{border:1px solid hsla(0,0%,50%,.502);line-height:1.5;padding:15px;vertical-align:top}table th{font-weight:700}table tfoot th,table thead th{font-size:1em}table caption+thead tr:first-child td,table caption+thead tr:first-child th,table colgroup+thead tr:first-child td,table colgroup+thead tr:first-child th,table thead:first-child tr:first-child td,table thead:first-child tr:first-child th{border-block-start:1px solid hsla(0,0%,50%,.502)}table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th{background-color:hsla(0,0%,50%,.071)}table tbody tr:hover>td,table tbody tr:hover>th{background-color:hsla(0,0%,50%,.102)}table tbody+tbody{border-block-start:2px solid hsla(0,0%,50%,.502)}@media(max-width:767px){table table{font-size:.8em}table table td,table table th{line-height:1.3;padding:7px}table table th{font-weight:400}}dd,dl,dt,li,ol,ul{background:transparent;border:0;font-size:100%;margin-block-end:0;margin-block-start:0;outline:0;vertical-align:baseline}


/* 2. Commun */
:root { --vert: #79b93e; --vert-fonce: #006e31; --beige: #f4f1f1; --gris-clair: #f8f7f7; --noir: #000; --texte: #333; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.gm-cd { margin: 0; overflow-x: hidden; }
.cd-visuel-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cd-sauter { position: absolute; left: 8px; top: -60px; z-index: 10000; background: #fff; color: #000; padding: 8px 14px; }
.cd-sauter:focus { top: 8px; }
.cd-ico { width: 1em; height: 1em; display: block; }

/* En-tête : deux bandes collées en haut au défilement, comme les deux sections « sticky » d'Elementor */
.cd-entete { position: sticky; top: 0; z-index: 999; font-family: Poppins, sans-serif; }
.admin-bar .cd-entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .cd-entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cd-entete { top: 0; } }
.cd-entete__haut { display: flex; justify-content: flex-end; align-items: center; background: var(--gris-clair); padding: 15px 20px; min-height: 74px; box-sizing: border-box; }
.cd-langue { display: flex; align-items: center; color: #000; font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; text-decoration: none; }
.cd-langue__globe svg { display: block; width: 22px; height: 22px; }
.cd-langue > span:last-child { padding: 5px 10px 6px; }
.cd-langue:hover, .cd-langue:focus { color: var(--vert); }
.cd-btn { display: inline-block; box-sizing: border-box; height: 44px; padding: 12px 20px; border: 2px solid var(--vert); border-radius: 5px; font: 400 16px/16px Poppins, sans-serif; text-transform: uppercase; text-align: center; text-decoration: none; transition: background-color .3s, color .3s; }
.cd-btn--contour { color: #000; background: transparent; margin-right: 11px; }
.cd-btn--contour:hover, .cd-btn--contour:focus { background: var(--vert); color: #fff; }
.cd-btn--plein { color: #fff; background: var(--vert); }
.cd-btn--plein:hover, .cd-btn--plein:focus { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.cd-entete__bas { position: relative; display: flex; justify-content: space-between; align-items: center; background: var(--beige); padding: 28px 20px; }
.cd-logo { display: block; width: 350px; max-width: 100%; text-align: center; line-height: 0; }
.cd-logo__img { width: 245px; height: auto; max-width: 100%; }
.cd-menu-bouton { display: none; }
.cd-nav__liste { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.cd-nav__liste a { display: block; padding: 13px 10px; color: #000; font: 500 17px/20px Poppins, sans-serif; text-decoration: none; transition: color .3s; }
.cd-nav__liste a:hover, .cd-nav__liste a:focus, .cd-nav__liste .current-menu-item > a { color: var(--vert); }
@media (max-width: 1024px) {
	.cd-entete__haut { justify-content: center; padding: 11px 20px; min-height: 66px; }
	.cd-btn { padding: 12px 15px; }
	.cd-btn--contour { margin: 0 5px; }
	.cd-entete__bas { flex-direction: column; align-items: stretch; padding: 11px 20px 13px; }
	.cd-logo { width: 100%; }
	.cd-logo__img { width: 235px; }
	.cd-menu-bouton { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
	.cd-menu-bouton svg { width: 30px; height: 30px; }
	.cd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--beige); box-shadow: 0 8px 16px rgba(0,0,0,.08); }
	.cd-nav.est-ouvert { display: block; }
	.cd-nav__liste { display: block; }
	.cd-nav__liste a { padding: 20px; color: #33373d; }
}

/* Pied de page */
.cd-pied { background: #000; color: #fff; font-family: Poppins, sans-serif; }
.cd-pied__haut { padding: 30px; }
.cd-pied__col { width: 414px; max-width: 100%; }
.cd-pied__logo { display: block; width: 175px; max-width: 100%; margin-bottom: 20px; line-height: 0; }
.cd-pied__logo-img { width: 175px; height: auto; max-width: 100%; }
.cd-pied__menu { list-style: none; margin: 0; padding: 0; }
.cd-pied__menu a { display: block; padding: 2px 10px; color: #fff; font: 700 18px/20px Poppins, sans-serif; text-transform: uppercase; text-decoration: none; transition: color .3s; }
.cd-pied__menu a:hover, .cd-pied__menu a:focus, .cd-pied__menu .current-menu-item > a { color: var(--vert); }
.cd-pied__milieu { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 30px; border-top: 3px solid #cacaca; border-bottom: 3px solid #cacaca; }
.cd-pied__groupe { display: flex; align-items: center; gap: 20px; }
.cd-pied__titre { margin: 0; font: 500 18px/18px Poppins, sans-serif; color: #fff; }
.cd-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cd-social a { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; color: #fff; font-size: 29px; }
.cd-social a:hover, .cd-social a:focus { color: var(--vert); }
.cd-social .cd-ico { width: auto; height: 29px; }
.cd-badges { display: flex; gap: 20px; }
.cd-badge { display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 34px; padding: 0 10px; background: var(--beige); border-radius: 5px; color: #000; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.cd-badge .cd-ico { width: 16px; height: 20px; }
.cd-badge__gp svg { display: block; width: 20px; height: 20px; }
.cd-badge > span:last-child { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.1; text-align: left; }
.cd-badge small { font-size: 8px; font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.cd-badge:first-child small { text-transform: none; }
.cd-pied__bas { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 5px 30px; }
.cd-pied__droits { grid-column: 2; margin: 0; font: 700 15px/15px Poppins, sans-serif; color: #fff; padding-right: 20px; }
.cd-pied__quebec { grid-column: 3; justify-self: end; width: 200px; height: auto; max-width: 100%; margin-right: 10px; }
@media (max-width: 767px) {
	.cd-pied__haut { padding: 30px 20px; }
	.cd-pied__logo, .cd-pied__logo-img { width: 168px; }
	.cd-pied__titre { font-size: 16px; line-height: 16px; }
	.cd-pied__menu a { padding: 9px 10px; }
	.cd-pied__milieu { flex-direction: column; gap: 20px; padding: 12px 20px 20px; }
	.cd-pied__groupe { flex-direction: column; gap: 10px; }
	.cd-pied__groupe--app { gap: 15px; }
	.cd-badges { gap: 11px; }
	.cd-pied__bas { display: flex; flex-direction: column-reverse; padding: 20px; text-align: center; gap: 20px; }
	.cd-pied__droits { padding: 0; font-size: 14px; line-height: 14px; }
	.cd-pied__quebec { justify-self: center; margin: 0; }
}

/* 3. Blocs communs du contenu (complétés par contenu/<page>.css) */
.cd-contenu { display: block; }
.cd-contenu img { max-width: 100%; }
dialog.cd-dialogue { padding: 0; border: 0; max-width: min(1100px, 94vw); background: transparent; overflow: visible; }
dialog.cd-dialogue::backdrop { background: rgba(0, 0, 0, .8); }
.cd-dialogue__fermer { position: absolute; top: -14px; right: -14px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #000; color: #fff; font-size: 26px; line-height: 40px; cursor: pointer; }

/* Galeries des événements (fenêtres) */
.cd-galerie { position: relative; width: min(1100px, 94vw); background: #000; }
.cd-galerie__piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cd-galerie__piste::-webkit-scrollbar { display: none; }
.cd-galerie__image { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; height: min(80vh, 760px); }
.cd-galerie__image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cd-galerie__fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--vert); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; }
.cd-galerie__fleche--prec { left: 10px; }
.cd-galerie__fleche--suiv { right: 10px; }
.cd-evenements__vide { text-align: center; }
[data-termes][hidden] { display: none !important; }

/* Accordéons (FAQ, <details> natifs) : icône selon l'état, comme Elementor */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary .cd-ferme, details:not([open]) > summary .cd-ouvert { display: none !important; }
details[open] > summary .cd-ouvert, details:not([open]) > summary .cd-ferme { display: flex !important; }

/* Carrousels d'images d'Elementor -> défilement continu (piste doublée, -50 %) */
.cd-defile { overflow: hidden; }
.cd-defile__piste { display: flex; align-items: center; width: max-content; animation: cd-defile var(--duree, 30s) linear infinite; }
.cd-defile:hover .cd-defile__piste { animation-play-state: paused; }
.cd-defile__d { flex: 0 0 auto; }
.cd-defile__d img { display: block; width: 100%; height: auto; }
@keyframes cd-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cd-defile__piste { animation: none; } .cd-defile { overflow-x: auto; } }

/* Bandeau de cookies (CookieYes) : sur les pages Elementor, ses boutons prennent le style des boutons du kit
   (.elementor-kit-28 button : Poppins 700 18 px, coins de 50 px). Même spécificité (classe + balise) ; les styles que
   CookieYes ajoute ensuite gardent la main sur leurs couleurs, comme sur les pages Elementor. */
.cky-consent-container button, .cky-modal button, .cky-btn-revisit-wrapper button {
	background-color: #79b93e; font-family: Poppins, sans-serif; font-size: 18px; font-weight: 700; color: #fff; border-radius: 50px; padding: 10px 20px;
}
.cky-consent-container button:hover, .cky-consent-container button:focus, .cky-modal button:hover, .cky-modal button:focus,
.cky-btn-revisit-wrapper button:hover, .cky-btn-revisit-wrapper button:focus { background-color: #79b93e; color: #fff; border-radius: 50px; }

/* Titre lu par les moteurs et les lecteurs d'écran, masqué à l'écran (H1 de la FAQ, qui n'a pas de titre visible) */
.cd-masque { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* États des boutons (galeries, menu du téléphone) : le reset de Hello colore en rose (#c36) tout bouton survolé ou ciblé (button:hover,
   button:focus), plus fort qu'une seule classe. On garde les couleurs des boutons. */
.cd-dialogue__fermer:hover, .cd-dialogue__fermer:focus { background: #000; color: #fff; }
.cd-galerie__fleche:hover, .cd-galerie__fleche:focus { background: var(--vert); color: #fff; }
/* L'original avait un <div role=button> pour le menu du téléphone (non touché par le reset) : sans fond, icône noire. */
.cd-menu-bouton:hover, .cd-menu-bouton:focus { background: none; color: #000; }

/* Contenu des articles du blogue (gabarit d'article) : titres h2, blocs de texte <div class="cd-texte">, comme les
   widgets Titre et Éditeur de texte d'Elementor de l'article 2354 / 2490 (relevés le 2026-11-16 : texte à 20 px sous le
   bloc d'avant, sauf « collé », titre à 30 px au-dessus sur ordinateur, vert #79b93e). Un article écrit plus tard dans WordPress prend la même mise en forme. */
.cd-article { display: flex; flex-direction: column; color: #000; font: 400 16px/30px Montserrat, sans-serif; }
.cd-article > h2, .cd-article > h3 { margin: 30px 0 0; color: #79b93e; font: 700 28px/28px Montserrat, sans-serif; }
.cd-article > p { margin: 0; }
.cd-article > .cd-texte { margin-top: 20px; }
.cd-article > .cd-texte--colle { margin-top: 0; }
.cd-texte p { margin: 0 0 .9rem; }
.cd-texte ul, .cd-texte ol { margin: 0; padding-left: 40px; }
@media (max-width: 1024px) {
	.cd-article > h2, .cd-article > h3 { margin-top: 0; font-size: 20px; line-height: 20px; }
}
@media (max-width: 767px) {
	.cd-article { font-size: 15px; }
}

/* Vignettes des cartes d'articles (page Blog, liste [gm_cd_articles]) : ratio 0,66 (0,5 sur téléphone), image centrée
   qui couvre le cadre et agrandie à 101 %, comme Elementor (qui choisit en JS la hauteur ou la largeur selon l'image). */
.cd-vignette { position: relative; overflow: hidden; padding-bottom: 66% !important; }
.cd-vignette img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; transform: scale(1.01); transition: filter .3s; }
@media (max-width: 767px) { .cd-vignette { padding-bottom: 50% !important; } }
