/* ==================================================================
   Meca : surcharges du thème Woo pour La Mécanique du Fluide

   Ce fichier est chargé APRÈS default.css et layout.css de Woo et
   AVANT media-queries.css. Il ne contient que ce qui diffère de Woo :
   tout le reste vient de Woo et suit ses mises à jour.

   Sommaire
     1. Polices
     2. Échelle typographique (variables)
     3. Texte et titres
     4. Couleurs
     5. Préchargeur
     6. En-tête et navigation
     7. Sections (accueil modulaire)
     8. Pied de page
     9. Classes d'alignement d'images (ex-custom.css)
   ================================================================== */


/* 1. Polices
   ------------------------------------------------------------------ */
@import url("meca-fonts.css");


/* 2. Échelle typographique
   ------------------------------------------------------------------
   Toutes les tailles de texte courant et de titres sont réglées ici.
   Les paliers suivent les points de rupture de media-queries.css.  */
:root {
   --meca-fs: 20px;         /* texte courant */
   --meca-lh: 1.5;          /* interligne du texte courant */
   --meca-h1: 38px;
   --meca-h2: 28px;
   --meca-h3: 26px;
   --meca-h4: 24px;
   --meca-h5: 22px;
   --meca-h6: 20px;

   --meca-bleu: #2734FF;    /* titres, menu actif */
   --meca-lien: #757EFF;    /* liens, accents */
   --meca-texte: #4F516D;   /* texte courant */
}

@media only screen and (max-width: 1080px) {
   :root {
      --meca-fs: 18px;
      --meca-h1: 34px;
      --meca-h2: 26px;
      --meca-h3: 23px;
      --meca-h4: 21px;
      --meca-h5: 20px;
      --meca-h6: 18px;
   }
}

@media only screen and (max-width: 480px) {
   :root {
      --meca-fs: 17px;
      --meca-h1: 30px;
      --meca-h2: 24px;
      --meca-h3: 21px;
      --meca-h4: 19px;
      --meca-h5: 18px;
      --meca-h6: 17px;
   }
}


/* 3. Texte et titres
   ------------------------------------------------------------------ */
body {
   font-family: 'raisonne_proregular', sans-serif;
   font-size: var(--meca-fs);
   line-height: var(--meca-lh);
   color: var(--meca-texte);
}

h1, h2, h3, h4, h5, h6 {
   font-family: 'raisonne_proregular', sans-serif;
   color: var(--meca-bleu);
}
h1 { font-family: 'bendicionbold', sans-serif; font-size: var(--meca-h1); line-height: 1.1; }
h2 { font-size: var(--meca-h2); line-height: 1.3; }
h3 { font-size: var(--meca-h3); line-height: 1.25; }
h4 { font-size: var(--meca-h4); line-height: 1.25; }
h5 { font-size: var(--meca-h5); line-height: 1.35; }
h6 { font-size: var(--meca-h6); line-height: 1.5; }

/* Woo fixe ces éléments à 15px/30px : on garde leur police mais ils
   prennent la taille de leur parent (paragraphe, titre, liste…). */
em, i {
   font: inherit;
   font-family: 'raisonne_prooblique', sans-serif;
}
strong, b {
   font: inherit;
   font-family: 'raisonne_prodemibold', sans-serif;
}
small { font-size: .9em; }

p.lead {
   font: calc(var(--meca-fs) * 1.1)/1.6 'raisonne_prolight', sans-serif;
}

blockquote, q { quotes: "\201C" "\201D"; }
blockquote p {
   font-family: 'bendicionregular', serif;
   font-size: max(14px, calc(var(--meca-fs) * .75));
}

abbr { font-family: 'raisonne_prodemibold', sans-serif; }
.drop-cap:first-letter { font-family: 'bendicionbold', sans-serif; }

dt { color: var(--meca-lien); }

.stats-tabs li a { font-size: 1em; font-family: 'raisonne_prodemibold', sans-serif; }
.stats-tabs li a:hover { color: var(--meca-lien); }
.stats-tabs li a b { font-family: 'raisonne_proregular', sans-serif; }

.pagination .page-numbers { font: 15px/18px 'raisonne_prodemibold', sans-serif; }
.pagination .current,
.pagination .current:hover { background-color: var(--meca-lien); }

.button, .button:visited, button,
input[type="submit"], input[type="reset"], input[type="button"] {
   font: 14px/24px 'bendicionbold', sans-serif;
   background: var(--meca-lien);
}
.button:active, button:active,
input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
   background: var(--meca-lien);
}

label, legend { font: 16px/24px 'raisonne_prodemibold', sans-serif; }
label span, legend span { font: 14px/24px 'raisonne_proregular', sans-serif; }


/* 4. Couleurs
   ------------------------------------------------------------------ */
a, a:visited { color: var(--meca-lien); }


/* 5. Préchargeur : centré en flex plutôt qu'en position absolue
   ------------------------------------------------------------------ */
#preloader {
   position: relative;
   top: auto; right: auto; bottom: auto; left: auto;
   background: rgba(255, 255, 255, .9);
   display: flex;
   justify-content: center;
   align-items: center;
}
#status {
   position: static;
   width: auto;
   height: auto;
   margin: 0;
}


/* 6. En-tête et navigation
   ------------------------------------------------------------------ */
header .logo a { width: 120px; }
header .header-social li a:hover { color: var(--meca-lien); }

#nav-wrap { font: 11px 'bendicionregular', sans-serif; }
ul#nav li a { color: var(--meca-lien); transition: none; }
ul#nav li a:hover,
ul#nav li.current a { color: var(--meca-bleu); }


/* 7. Sections (accueil modulaire)
   ------------------------------------------------------------------ */
.section-head h1 { font: 20px/36px 'raisonne_proregular', sans-serif; color: var(--meca-bleu); }

#hero { background: #fff url(../../woo/css/img/grey.png); }
.hero-text h1 { font: 60px/1.5em 'bendicionbold', sans-serif; color: var(--meca-bleu); }
.hero-text h1 span, .hero-text a { color: var(--meca-lien); }
.hero-text p { font: 1em/1.5 'raisonne_proregular', sans-serif; }
#hero .buttons .button { font: 14px/24px 'raisonne_proregular', sans-serif; }

#features h3 { font: 16px/24px 'raisonne_proregular', sans-serif; }

.plan-title { font: 15px/30px 'bendicionregular', sans-serif; }
.plan-price { font-family: 'raisonne_proregular', sans-serif; }
.plan-price span { font-family: 'raisonne_prolight', sans-serif; }
.plan-sign-up .button { font: 13px/24px 'raisonne_proregular', sans-serif; }

#screenshots { background: #fff url(../../woo/css/img/grey.png); }
.item .item-wrap .overlay { background: url(../../woo/css/img/overlay-bg.png) repeat; }

#call-to-action h1 { font: 18px/24px 'raisonne_proregular', sans-serif; }
#call-to-action h2 { font: 28px/36px 'raisonne_proregular', sans-serif; }
#call-to-action p span { font-family: 'raisonne_prodemibold', sans-serif; }

#testimonials { background: #10999E url(../../woo/css/img/escheresque.png); }
#testimonials h1 { font: 16px/24px 'raisonne_proregular', sans-serif; }
#testimonials blockquote p { font-family: 'raisonne_prodemibold', sans-serif; }

#subscribe a:hover, #subscribe a:focus { color: var(--meca-lien); }
#mc_embed_signup input[type="email"] { font-family: 'bendicionregular', sans-serif; }

a#imagelightbox-close:hover, a#imagelightbox-close:focus { color: var(--meca-lien); }

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   #hero { background: #fff url(../../woo/css/img/grey.png); }
   #screenshots { background: #fff url(../../woo/css/img/grey_@2X.png); }
   #testimonials { background: #10999E url(../../woo/css/img/escheresque_@2X.png); }
}


/* 8. Pied de page
   ------------------------------------------------------------------ */
footer a, footer a:visited { color: var(--meca-lien); }
footer .footer-logo a img { width: auto; height: 60px; }
footer h3 { font: 13px/24px 'raisonne_prodemibold', sans-serif; }
footer h3:before { color: var(--meca-bleu); }

#go-top a { background: #3F4049; }
#go-top a:hover { background: var(--meca-bleu); }


/* 9. Classes d'alignement d'images, utilisables dans les pages
   ------------------------------------------------------------------ */
img.float-left { display: inline; float: left; margin: 5px 15px 5px 0; max-width: 35%; }
img.float-right { float: right; margin: 5px 0 5px 15px; max-width: 35%; }
img.aligncenter { display: block; margin: 10px auto; }
img.border { background: #ccc; border: 4px solid #f0f0f0; color: #333; padding: 1px; }
