/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Template: oceanwp
Author: OceanWP
Author URI: https://oceanwp.org/about-oceanwp/
Description: OceanWP is the perfect theme for your project. Lightweight and highly extendable, it will enable you to create almost any type of website such a blog, portfolio, business website and WooCommerce storefront with a beautiful &amp; professional design. Very fast, responsive, RTL &amp; translation ready, best SEO practices, unique WooCommerce features to increase conversion and much more. You can even edit the settings on tablet &amp; mobile so your site looks good on every device. Work with the most popular page builders as Elementor, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, etc... Developers will love his extensible codebase making it a joy to customize and extend. Best friend of Elementor &amp; WooCommerce. Looking for a Multi-Purpose theme? Look no further! Check the demos to realize that it's the only theme you will ever need: https://oceanwp.org/demos/
Tags: two-columns,right-sidebar,footer-widgets,blog,news,custom-background,custom-menu,post-formats,rtl-language-support,sticky-post,editor-style,threaded-comments,translation-ready,buddypress,custom-colors,featured-images,full-width-template,theme-options,e-commerce,block-styles,wide-blocks,accessibility-ready
Version: 4.1.4.1764670489
Updated: 2025-12-02 11:14:49

*/

* ==========================================================
   Cours Collège Gratuit — Header & Footer / OceanWP
   CSS pur : à ajouter à la fin du style.css du thème enfant
   Sélecteurs vérifiés dans l'export HTML fourni.
   ========================================================== */

/* 1. HEADER ------------------------------------------------ */
#site-header.minimal-header {
  background: #fff;
  border-bottom: 1px solid #e6edf3;
  box-shadow: 0 3px 18px rgba(13, 48, 69, .035);
}

#site-header #site-header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Logo : un peu plus présent, sans agrandir exagérément le menu */
#site-header #site-logo #site-logo-inner img.custom-logo {
  height: auto;
  max-height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Liens du menu principal (desktop) */
#site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link {
  color: #233e51;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1px;
  transition: color .2s ease;
}

#site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link .text-wrap {
  background-image: linear-gradient(#0e93d2, #0e93d2);
  background-repeat: no-repeat;
  background-position: left calc(100% - 1px);
  background-size: 0 2px;
  padding-bottom: 5px;
  transition: background-size .22s ease;
}

#site-header #site-navigation-wrap .dropdown-menu > li:hover > a.menu-link,
#site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link:focus-visible,
#site-header #site-navigation-wrap .dropdown-menu > li.current-menu-item > a.menu-link,
#site-header #site-navigation-wrap .dropdown-menu > li.current-menu-ancestor > a.menu-link {
  color: #087db9;
}

#site-header #site-navigation-wrap .dropdown-menu > li:hover > a.menu-link .text-wrap,
#site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link:focus-visible .text-wrap,
#site-header #site-navigation-wrap .dropdown-menu > li.current-menu-item > a.menu-link .text-wrap,
#site-header #site-navigation-wrap .dropdown-menu > li.current-menu-ancestor > a.menu-link .text-wrap {
  background-size: 100% 2px;
}

#site-header #site-navigation-wrap .site-search-toggle {
  color: #42667b;
  transition: color .2s ease;
}
#site-header #site-navigation-wrap .site-search-toggle:hover,
#site-header #site-navigation-wrap .site-search-toggle:focus-visible {
  color: #087db9;
}

/* 2. FOOTER ------------------------------------------------ */
#footer #footer-widgets {
  background: linear-gradient(135deg, #0e93d2 0%, #087eb8 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.15);
}

#footer #footer-widgets .footer-widgets-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  column-gap: 45px;
  padding-top: 48px;
  padding-bottom: 48px;
  align-items: start;
}

/* Neutralise les colonnes flottantes d'OceanWP dans cette zone seulement */
#footer #footer-widgets .footer-box {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  min-width: 0;
}

#footer #footer-widgets .footer-widget {
  margin-bottom: 0;
}

/* Logo sur cartouche blanc : meilleur contraste sur le bleu */
#footer #footer-widgets .footer-box.col-1 .wp-block-image {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 12px 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(0, 45, 77, .12);
}

#footer #footer-widgets .footer-box.col-1 .wp-block-image img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* Titres du footer : fonctionne pour menu natif et bloc Gutenberg */
#footer #footer-widgets .widget-title,
#footer #footer-widgets .wp-block-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1px;
  line-height: 1.4;
  padding: 0 0 15px;
  margin: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.32);
}

#footer #footer-widgets .footer-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer #footer-widgets .footer-box li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

#footer #footer-widgets .footer-box li:last-child {
  border-bottom: 0;
}

#footer #footer-widgets .footer-box li a {
  display: block;
  padding: 9px 0;
  color: #e8f7ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

#footer #footer-widgets .footer-box li a:hover,
#footer #footer-widgets .footer-box li a:focus-visible,
#footer #footer-widgets .footer-box li.current-menu-item > a {
  color: #fff;
  padding-left: 5px;
}

#footer #footer-widgets .footer-box.col-3 li a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Copyright : toujours sobre */
#footer #footer-bottom {
  background: #073652;
  border-top: 1px solid rgba(255,255,255,.1);
}
#footer #footer-bottom #footer-bottom-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}
#footer #footer-bottom #copyright {
  color: #cce5f2;
  font-size: 12px;
  letter-spacing: .15px;
  text-align: center;
}

body.home .elementor-11 .elementor-element.elementor-element-fc1e690 {
    --display: flex;
    --flex-direction: row;
    --justify-content: flex-start;
    --align-items: center;
    --gap: 36px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 36px !important;
    width: 100%;
    min-height: clamp(500px, 31vw, 625px) !important;
    padding: 65px max(24px, calc((100vw - 1600px) / 2)) 95px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* 2. Colonne mascotte */
body.home .elementor-11 .elementor-element.elementor-element-575dc34 {
    --width: 260px;
    --flex-direction: column;
    width: 260px !important;
    max-width: 260px;
    flex: 0 0 260px !important;
    min-width: 0;
    align-items: center;
}

body.home .elementor-11 .elementor-element-6b1193e img {
    display: block;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    filter: drop-shadow(0 12px 16px rgba(1, 31, 67, .22));
}

/* 3. Colonne texte - vraie structure .e-con */
body.home .elementor-11 .elementor-element.elementor-element-89007e9 {
    --width: 740px;
    --flex-direction: column;
    --align-items: flex-start;
    --gap: 12px;
    width: min(740px, 100%) !important;
    max-width: 740px;
    min-width: 0;
    flex: 0 1 740px !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

/* 4. H1 */
body.home .elementor-11 .elementor-element-79d5bf1 {
    width: 100% !important;
}

body.home .elementor-11 .elementor-element-79d5bf1 .elementor-heading-title {
    color: #fff !important;
    font-size: clamp(42px, 3.6vw, 68px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    text-shadow: 0 3px 14px rgba(0, 28, 67, .20);
}

/* 5. Deux textes ; le second était sombre dans l'HTML */
body.home .elementor-11 :is(.elementor-element-c7ba5ff, .elementor-element-f5b025e) {
    width: 100% !important;
    max-width: 100% !important;
}

body.home .elementor-11 :is(.elementor-element-c7ba5ff, .elementor-element-f5b025e) p {
    margin: 0 !important;
    color: #e9f9ff !important;
    font-size: clamp(17px, 1.25vw, 21px) !important;
    font-weight: 550 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

body.home .elementor-11 .elementor-element-c7ba5ff p,
body.home .elementor-11 .elementor-element-c7ba5ff p span {
    color: #a9edff !important;
    font-weight: 700 !important;
}

/* 6. Conteneur des deux vrais boutons Elementor */
body.home .elementor-11 .elementor-element.elementor-element-33777f3 {
    --width: auto;
    --flex-direction: row;
    --align-items: center;
    --gap: 14px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px !important;
    width: auto !important;
    max-width: 100%;
    margin-top: 20px;
}

body.home .elementor-11 .elementor-element-33777f3 > .elementor-widget {
    width: auto !important;
    max-width: 100%;
}

body.home .elementor-11 .elementor-element-33777f3 a.elementor-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 7px 17px rgba(0, 27, 62, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

/* "Voir les matières" : vert ; "Choisir ma classe" : bleu */
body.home .elementor-11 .elementor-element-ffd83bd a.elementor-button {
    background: #27ae65 !important;
}
body.home .elementor-11 .elementor-element-cc7619b a.elementor-button {
    background: #0799de !important;
}
body.home .elementor-11 .elementor-element-33777f3 a.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(0, 27, 62, .28);
}

/* Tablette */
@media (max-width: 1024px) {
    body.home .elementor-11 .elementor-element.elementor-element-fc1e690 {
        min-height: 480px !important;
        padding: 55px 28px 85px !important;
        gap: 22px !important;
    }
    body.home .elementor-11 .elementor-element.elementor-element-575dc34 {
        --width: 190px;
        width: 190px !important;
        flex: 0 0 190px !important;
    }
    body.home .elementor-11 .elementor-element-6b1193e img {
        max-width: 190px !important;
    }
    body.home .elementor-11 .elementor-element-79d5bf1 .elementor-heading-title {
        font-size: clamp(37px, 4.5vw, 50px) !important;
    }
}

/* Mobile : mascotte au-dessus des textes, vrais boutons dessous */
@media (max-width: 767px) {
    body.home .elementor-11 .elementor-element.elementor-element-fc1e690 {
        --flex-direction: column;
        --align-items: center;
        min-height: 0 !important;
        padding: 40px 20px 85px !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        background-position: 60% center !important;
        box-shadow: inset 0 0 0 100vmax rgba(0, 36, 76, .15);
    }
    body.home .elementor-11 .elementor-element.elementor-element-575dc34 {
        --width: 150px;
        width: 150px !important;
        max-width: 150px !important;
        flex: 0 0 auto !important;
    }
    body.home .elementor-11 .elementor-element-6b1193e img {
        max-width: 150px !important;
    }
    body.home .elementor-11 .elementor-element.elementor-element-89007e9 {
        --width: 100%;
        --align-items: center;
        width: 100% !important;
        flex: 0 1 auto !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center;
    }
    body.home .elementor-11 .elementor-element-79d5bf1 .elementor-heading-title {
        font-size: clamp(33px, 8vw, 43px) !important;
        line-height: 1.12 !important;
        text-align: center;
    }
    body.home .elementor-11 :is(.elementor-element-c7ba5ff, .elementor-element-f5b025e) p {
        font-size: 16px !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }
    body.home .elementor-11 .elementor-element.elementor-element-33777f3 {
        justify-content: center !important;
        margin-top: 12px;
    }
    body.home .elementor-11 .elementor-element-33777f3 a.elementor-button {
        min-height: 48px;
        padding: 13px 18px !important;
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .elementor-11 .elementor-element-33777f3 a.elementor-button {
        transition: none;
    }
    body.home .elementor-11 .elementor-element-33777f3 a.elementor-button:hover {
        transform: none;
    }
}



/* 3. TABLETTES & MOBILE ----------------------------------- */
@media (max-width: 959px) {
  /* OceanWP passe au menu mobile : ne pas toucher à ses mécanismes. */
  #site-header #site-header-inner {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  #site-header #site-logo #site-logo-inner img.custom-logo {
    max-height: 50px;
  }
  #footer #footer-widgets .footer-widgets-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  #footer #footer-widgets .footer-box.col-1 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  #site-header #site-logo #site-logo-inner img.custom-logo {
    max-height: 46px;
  }
  #footer #footer-widgets .footer-widgets-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 35px;
    padding-bottom: 35px;
  }
  #footer #footer-widgets .footer-box.col-1 {
    grid-column: auto;
  }
  #footer #footer-widgets .footer-box.col-1 .wp-block-image img {
    width: 165px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link,
  #site-header #site-navigation-wrap .dropdown-menu > li > a.menu-link .text-wrap,
  #footer #footer-widgets .footer-box li a {
    transition: none;
  }
}

body.home .elementor-11 .elementor-element-79d5bf1
.elementor-heading-title .ccg-gratuit {
    position: relative;
    display: inline-block;
    z-index: 0;
    color: #ffcc17 !important;
    white-space: nowrap;
}

body.home .elementor-11 .elementor-element-79d5bf1
.elementor-heading-title .ccg-gratuit::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 5%;
    right: 4%;
    bottom: -0.11em;
    height: 0.10em;
    background: #ffcc17;
    border-radius: 45% 55% 50% 60% / 100% 100% 40% 35%;
    transform: rotate(-1.4deg);
    pointer-events: none;
}

/* Ruban cyan du texte « Du niveau 6e à la 3e » */
body.home .elementor-11
.elementor-element.elementor-element-f5b025e p {
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 10px 0 5px !important;
    padding: 13px 25px !important;
    background: #a2edff !important;
    color: #073452 !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    border-radius: 12px 28px 13px 24px;
    box-shadow: 0 7px 0 rgba(0, 57, 98, .12);
    transform: rotate(-1deg);
}

/* Évite que le widget Elementor force le ruban sur toute la largeur */
body.home .elementor-11
.elementor-element.elementor-element-f5b025e {
    align-self: flex-start;
    text-align: left;
}

@media (max-width: 767px) {
    body.home .elementor-11
    .elementor-element.elementor-element-f5b025e {
        align-self: center;
        text-align: center;
    }

    body.home .elementor-11
    .elementor-element.elementor-element-f5b025e p {
        padding: 11px 15px !important;
        font-size: 15px !important;
        text-align: center !important;
        transform: rotate(-0.5deg);
    }
}
