/* ===================================================================================

* Theme Name: Eduker Child
* Theme URI: https://www.devsnews.com/wp/educal/
* Author: Theme_Pure
* Author URI: https://themeforest.net/user/theme_pure/portfolio
* Description: Eduker – Education WordPress Theme 
* Version: 1.0.0
* Template: eduker
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* ============================================================
   MyFutureSkills — Identité visuelle
   Palette : indigo / turquoise / bleu nuit / blanc / gris
   Typo    : Manrope (titres) + Inter (corps)
   ============================================================ */

:root {
  /* Couleurs principales */
  --mfs-navy:      #0F172A;
  --mfs-indigo:    #2563EB;
  --mfs-teal:      #14B8A6;
  --mfs-white:     #FFFFFF;
  --mfs-surface:   #F8FAFC;
  --mfs-slate:     #475569;
  --mfs-border:    #E2E8F0;

  /* Surcharge des variables Eduker */
  --tp-theme-1:         #2563EB;
  --tp-theme-2:         #14B8A6;
  --tp-theme-3:         #0D9488;
  --tp-common-blue:     #2563EB;
  --tp-common-blue-2:   #1D4ED8;
  --tp-common-blue-3:   #2563EB;
  --tp-common-green:    #14B8A6;
  --tp-common-green-2:  #0D9488;
  --tp-common-black-5:  #0F172A;
  --tp-header-primary:  #0F172A;
  --tp-text-body:       #475569;
  --tp-text-1:          #475569;
  --tp-grey-2:          #F8FAFC;
  --tp-grey-3:          #F8FAFC;

  /* Typographie */
  --tp-ff-body:    'Inter', sans-serif;
  --tp-ff-heading: 'Manrope', sans-serif;
  --tp-ff-p:       'Inter', sans-serif;
}

/* Corps de texte */
body {
  font-family: 'Inter', sans-serif;
  color: #475569;
  background-color: #ffffff;
}

/* Titres */
h1, h2, h3, h4, h5, h6,
.tp-section-title,
.tp-hero-title {
  font-family: 'Manrope', sans-serif;
  color: #0F172A;
}

/* Liens */
a { color: #2563EB; }
a:hover { color: #1D4ED8; }

/* Boutons principaux */
.tp-btn,
.btn-primary,
.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: #2563EB !important;
  border-color: #2563EB !important;
  color: #ffffff !important;
  border-radius: 10px;
}
.tp-btn:hover,
.btn-primary:hover,
.woocommerce .button:hover {
  background-color: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
}

/* Accents turquoise */
.tp-theme-2-bg,
.tp-theme-3-bg {
  background-color: #14B8A6 !important;
}

/* Cartes formations */
.tp-course-item,
.tp-courses-item {
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(15,23,42,.06);
}

/* Sections alternées */
.grey-bg,
.tp-grey-bg {
  background-color: #F8FAFC !important;
}

/* Header */
.tp-header-area,
.tp-main-menu nav > ul > li > a {
  font-family: 'Inter', sans-serif;
}

/* Footer */
.tp-footer-area {
  background-color: #0F172A !important;
}

/* Formulaires */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border-color: #E2E8F0;
  border-radius: 8px;
}
input:focus,
textarea:focus {
  border-color: #2563EB;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235,.15);
}
/* Bannière titre Eduker (pages boutique / panier / commande) */
.breadcrumb__area {
  background: #0F172A !important;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.breadcrumb__area::before,
.breadcrumb__area::after,
.breadcrumb__shape { display: none !important; }
.breadcrumb__title { color: #fff; font-size: 40px; }
.breadcrumb__list, .breadcrumb__list a { color: #94A3B8; }

/* Formulaire de contact (CF7) */
.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 16px;
}
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  height: auto;
  padding: 11px 14px;
  font: 400 15px/1.5 'Inter', sans-serif;
  color: #0F172A;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.mfs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
.wpcf7-form .wpcf7-acceptance { font-size: 13px; color: #475569; }
.wpcf7-form .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: #475569; }
.wpcf7-form .wpcf7-acceptance input { margin-top: 3px; }
.wpcf7-form input[type="submit"] {
  margin-top: 8px;
  padding: 13px 28px;
  font: 600 15px 'Inter', sans-serif;
  color: #fff;
  background: #2563EB;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.wpcf7-form input[type="submit"]:hover { background: #1D4ED8; }
.wpcf7-form input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.wpcf7-form .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0 !important; padding: 12px 16px !important; font-size: 14px; }

/* FAQ (details/summary) */
details > summary::-webkit-details-marker { display: none; }
.mfs-page > section .mfs-faq summary { position: relative; padding-right: 56px !important; }
.mfs-page > section .mfs-faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #2563EB;
}
.mfs-page > section .mfs-faq details[open] summary::after { content: "–"; }

@media (max-width: 767px) {
  .mfs-form-grid { grid-template-columns: 1fr; }
}

/* WooCommerce blocs (panier / commande) */
.wc-block-components-button:not(.is-link),
.wc-block-components-checkout-place-order-button {
  background-color: #2563EB !important;
  color: #fff !important;
  border-radius: 10px !important;
}
.wc-block-components-button:not(.is-link):hover { background-color: #1D4ED8 !important; }

/* ============================================================
   Responsive des pages "pleine largeur" (contenu en styles inline)
   ============================================================ */
.mfs-page img { max-width: 100%; height: auto; }

@media (max-width: 991px) {
  .mfs-page [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 767px) {
  .mfs-page [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .mfs-page [style*="display:flex"],
  .mfs-page [style*="display: flex"] { flex-wrap: wrap; }
  .mfs-page > section { padding-left: 16px !important; padding-right: 16px !important; padding-top: 48px !important; padding-bottom: 48px !important; }
  .mfs-page > section h1 { font-size: 32px !important; }
  .mfs-page > section h2 { font-size: 26px !important; }
  .mfs-page [style*="min-width"] { min-width: 0 !important; }
}
