/* .............................................................................
RESETS
Pris certains styles de :
- reboot.css
- https://www.joshwcomeau.com/css/custom-css-reset/
- ... et ajout personnels.
............................................................................. */
*, ::before, ::after {box-sizing:border-box;}
* {margin: 0; overflow-wrap: break-word;}
html {font-family: sans-serif; line-height: 1.15; -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
@-ms-viewport { width: device-width; }
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section, picture {display: block; }
[tabindex="-1"]:focus { outline: 0 !important; }
h1, h2, h3, h4, h5, h6, p, fieldset, ul, ol, li, figure, picture, blockquote, cite {padding: 0; border: 0;}
cite {font-style: normal; }
hr {display: block;height: 1px;border: 0;border-top: 1px solid var(--color-grey);margin: 1em 0;padding: 0;}
audio, canvas, iframe, img, svg, video, picture {display: block; max-width: 100%;}
textarea {resize: vertical;}
table {display: table;width: auto;height: auto;padding: 0;border: none;border-collapse: inherit;border-spacing: 0;border-color: inherit;text-align: left;font-weight: inherit;}

/* Opinionated : https://www.joshwcomeau.com/css/custom-css-reset/#digit-font-smoothing */
body {-webkit-font-smoothing: antialiased; }


/* Pour debug */
/* * { outline: 1px solid red; outline-offset: -1px; } */

/* Pour debug #2 */
/* * { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); } */



/* .............................................................................
BASE TAGS
Enlever le base font-size pour s'adapter au user-set font-size.
Voir Chrome / Preferences / Taille de police.
Donc, change les media queries pour des rem.
............................................................................. */
html {padding: 0; scroll-padding-top:calc(var(--topbar-height-scrolled) - 3px); scroll-behavior: smooth;}
body {color: var(--color-base);background: var(--color-bg-base);line-height: 1;padding: 0;}
body.locked {margin: 0;height: 100%;overflow: hidden;}
.onDark {color: var(--color-base-on-dark);}

/*
Font size global du site.
On le met sur tous les enfants direct et pas directement sur le body car
on veut conserver le user-set font-size. */
body > * {font-size: 1.25em;}

	/* Size */
	@media (max-width:102rem) {
		body > * {font-size: calc(0.332em + 0.9vw);}
	}

	/* Mobile */
	@media (max-width:62rem) {
		body > * {font-size: 1em;}
	}


/* Liens de base */
a {text-decoration: none;cursor: pointer;color: inherit; }
a:hover {text-decoration:none;}

/* 
Focus de base : laisser celui du browser par defaut.
Only suppress the focus ring once what-input has successfully started.
Suppress focus ring on form controls for mouse users. */
[data-whatintent='touch'] *:focus,
[data-whatintent='mouse'] *:focus { outline: none; }

/* Sup and sub. */
sup {vertical-align: super;font-size: 40%;}

/* All images responsive */
img, svg {height:auto;width: 100%;display:block;}
img.forceBigger {width: 100%;}

/* Blockquote */
blockquote {color: var(--color-purple);font-size: 1.5em;line-height: 1.15;font-weight: 700;}
blockquote + *,
blockquote + p {margin-top: 3em;}

	/* Spacings */
	@media (max-width:46rem) {
		blockquote + p {margin-top: 1.5em;}
	}

/* Removes animation when the page renders. */
.preload *,
.removeTransition {transition:none !important;}

/* prefers-reduced-motion detects if the user has the reduced motion 
preference activated to minimize the amount of movements and animations. */
@media screen and (prefers-reduced-motion: reduce) {  
	*,
	*::before,
	*::after {
		/* Very short durations means JavaScript that relies on events still works */
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}



/* .............................................................................
PAGE BASE
............................................................................. */

/* 
OWL SELECTOR
L'espacement entre les elements se fera souvent avec le margin-top.
Avec cette facon de fonctionner, le 1er item n'aura jamais de margin-top.
L'espacement entre les titres est dans titles.css. */
* + p,
* + ul,
* + ol {margin-top: 1.2em;}



/*
WIDTHS
Les largeurs sont assez standard pour avoir des classes uniquement pour ca.
Les exceptions sont gerer dans les styles custom de sections.
Les valeurs sont dans configs.css.

Options de largeur :
1. FULL width : Pas de classe, car par defaut c'est 100% de large
2. STD width : .wStd
3. NARROW width : .wStd__narrow
*/
.wStd, .wStdLeft {padding-left: var(--width-std-left);}
.wStd, .wStdRight {padding-right: var(--width-std-right);}

/* Narrow doit être à l'intérieur du STD */
.wStd__narrow, .wStd__narrowLeft {padding-left: var(--width-narrow-left);}
.wStd__narrow, .wStd__narrowRight {padding-right: var(--width-narrow-right);} 



/*
MAIN
Mettre le main en-dessous du footer, comme ça le bouton des offres n'overflow pas
dans le footer. */
main {position: relative;z-index: 1; }



/*
AUTO STYLED CONTENT:
Useful for CMS pages because the end-user doesn't have to write
specific classes to get the right formatting.

Classes :
- typo
- typoLinks
*/
.typo {line-height: 1.3;}

	/* Default ul */
	.typo ul:not([class]), ul.list {--paddingLeft:1em; --marginLeft:1.5em; --bulletSize:0.3em; list-style: none; margin: 2.5em 0;}
	.typo ul:not([class]) li, ul.list li {list-style:none;margin-bottom: 0;padding-left: var(--paddingLeft); margin-left: var(--marginLeft); position: relative;}
	.typo ul:not([class]) li::before, ul.list li::before {backface-visibility: hidden;position: absolute;display: block;content: '';background-color: currentColor;width: var(--bulletSize);height: var(--bulletSize);top: 0.5em;left: 0;border-radius: 50%;}
	.typo ul:not([class]) li + li, ul.list li + li {margin-top: 1em;}

	/* Default ol */
	.typo ol:not([class]) {--paddingLeft:1em; --marginLeft:1.5em; list-style: none;counter-reset:li;}
	.typo ol:not([class]) li {list-style: none;counter-increment: li;padding-left: var(--paddingLeft);margin-left: var(--marginLeft);position: relative;}
	.typo ol:not([class]) li::before {position: absolute;left: 0;top: 0;display: block;content: counter(li);color: currentColor;font-weight:bold;width: var(--paddingLeft);}
	.typo ol:not([class]) li + li {margin-top: 1em;}

	/* Default CTA margin top. */
	* + .typo__cta {margin-top: calc(0.5 * var(--base-spacing));}

	/* On dark */
	.typo .onDark ul:not([class]) li::before,
	.typo .onDark ol:not([class]) li::before {background-color: var(--color-bg-base);}


/* Links */
.typoLink,
.typoLinks { }

	.typoLink,
	.typoLinks a {color:var(--color-purple); text-decoration:underline; transition: color 0.2s; }

	/* Hover */
	.typoLink:hover,
	.typoLinks a:hover {color:var(--color-black);}

		/* On dark */
		.onDark .typoLink:hover,
		.onDark .typoLinks a:hover {color:var(--color-white);}


/* Links - Subtle */
.typoLinkSubtle,
.typoLinksSubtle { }

	.typoLinkSubtle,
	.typoLinksSubtle a {color:var(--color-blue); text-decoration:none; transition: color 0.2s; }

		/*
		ALT :
		Black. */
		.typoLinkSubtle--black,
		.typoLinksSubtle--black a {color: var(--color-black); }

	/* Hover */
	.typoLinkSubtle:hover,
	.typoLinksSubtle a:hover {color:var(--color-purple);}



/*
LISTS
Listes ul li utiles dans le site. */

/* Liste sans style */
.listNS {list-style: none;}

/* Liste inline horizontale. */
.listInline {--spacing: 0.6em;list-style: none;font-size: 0.75em;font-weight: 700;display: inline-flex;flex-wrap: wrap;margin-left:calc(-1 * var(--spacing));margin-right:calc(-1 * var(--spacing));}
.listInline li {flex: 0 1 auto; display: block; position: relative; padding: 0 var(--spacing); }
.listInline li:not(:last-child)::before {position:absolute;z-index:1;display:block;content:'/';top:0;bottom:0;right: 0.15em;width: 1px;}

/* Liste inline horizontale plus grosse. */
.listInlineBig {--spacing: 1em;list-style: none;font-size: 1.5em;font-weight: 700;display: inline-flex;flex-wrap: wrap;margin-left:calc(-1 * var(--spacing));margin-right:calc(-1 * var(--spacing));}
.listInlineBig li {flex: 0 1 auto; display: block; position: relative; padding: 0 var(--spacing); }
.listInlineBig li:not(:last-child)::before {position:absolute;z-index:1;display:block;content:'/';top:0;bottom:0;right: 0.15em;width: 1px;}



/* .............................................................................
SVGs
Styles des SVGs du site. Les SVGs sont majoritairement utile pour les
icones, mais pas uniquement pour ca.
............................................................................. */

/*
SVG ICON
Chaque icone / SVG est wrapped dans un .svgIcon.
On utilise <span>, mais si pertinent on prend autre chose (ex : <figure>) */
.svgIcon {display:block;font-size: 1em;line-height: 1;width: 1em;height: 1em;}
.svgIcon > svg {max-width: none; display: block; fill: currentColor; width: 1em; height: 1em;}

	/*
	SVG SPECIFIC SIZES
	Certains SVG n'ont pas la meme largeur que hauteur. On les ajuste ici.
	Fixed size parce qu'IE (et vieux Safari) est incompetent */
	.svgIcon--logoIQ, .svgIcon--logoIQ svg {width: 4.583em;height: 1em;}
	.svgIcon--logoIQSm, .svgIcon--logoIQSm svg {width: 0.8125em;height: 1em;}

	/*
	LIKE IMAGE
	Traiter le SVG de la meme facon qu'une image.
	On set la largeur en pourcentage, et pas le font-size. */
	.svgIcon--likeImg, .svgIcon--likeImg svg {width: 100%;height: auto;}

	