/* ============================================
   CSS WORDPRESS - PAGE ACCUEIL FUNKY
   Design optimisé pour WordPress avec largeur 1512px
   ============================================ */

/* Reset et base WordPress */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-template-template-accueil,
body.page-template-template-accueil-php,
body.single-page {
    font-family: 'Lato', sans-serif;
    background-color: white;
    overflow-x: hidden;
}

/* Conteneur principal WordPress - Largeur 1512px */
body.page-template-template-accueil .site-content,
body.page-template-template-accueil-php .site-content,
body.single-page .site-content {
    max-width: 1512px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

/* Override des styles WordPress par défaut */
body.page-template-template-accueil .entry-content,
body.page-template-template-accueil-php .entry-content,
body.single-page .entry-content {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* HEADER */
.header {
    background-color: white;
    border: 1px solid black;
    border-bottom: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 180px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.header-container {
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-img {
    height: 90px;
    width: auto;
    display: block;
}

.navigation {
    display: flex;
    gap: 120px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #8C144E;
}

.profile-icon {
    position: absolute;
    bottom: 0px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HERO SECTION */
.hero-section {
    width: 100%;
    position: relative;
    margin-top: 60px;
    max-width: 1512px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 466px;
    overflow: hidden;
    max-width: 1512px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1512px;
    max-width: calc(100% - 40px);
    height: 312px;
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 1400px;
    width: 100%;
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 46px;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
}

.hero-text {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    margin: 0 auto;
    color: white;
    max-width: 100%;
}

/* ============================================
   SECTIONS CERCLES THÉMATIQUES
   ============================================ */

/* SECTION 1 - FOND JAUNE */
.circles-section-1 {
    width: 100%;
    background-color: #FBBD40;
    padding: 80px 40px 100px;
    position: relative;
    margin-top: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    max-width: 1512px;
    margin-left: auto;
    margin-right: auto;
}

/* SECTION 2 - FOND MAUVE */
.circles-section-2 {
    width: 100%;
    background-color: #7E638C;
    padding: 80px 40px 100px;
    position: relative;
    margin-top: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    max-width: 1512px;
    margin-left: auto;
    margin-right: auto;
}

/* SECTION 3 - FOND ROSE */
.circles-section-3 {
    width: 100%;
    background-color: #FFD7F0;
    padding: 80px 40px 100px;
    position: relative;
    margin-top: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    max-width: 1512px;
    margin-left: auto;
    margin-right: auto;
}

/* CONTENEUR DES CERCLES */
.circles-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 700px;
    margin: 0 auto;
}

/* STYLE DE BASE POUR TOUS LES CERCLES */
.circle-item {
    position: absolute;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* GRAND CERCLE CENTRAL */
.circle-main {
    width: 550px;
    height: 550px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: default;
    position: absolute;
}

.circle-main:hover {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.circle-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.circle-main .circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PETITS CERCLES */
.circle-1,
.circle-2 {
    width: 350px;
    height: 350px;
    cursor: pointer;
    position: absolute;
}

/* POSITIONNEMENT PRÉCIS DES PETITS CERCLES */
.circles-section-1 .circle-1,
.circles-section-2 .circle-1,
.circles-section-3 .circle-1 {
    top: 15%;
    right: calc(20% - 37px);
    z-index: 3;
}

.circles-section-1 .circle-2,
.circles-section-2 .circle-2,
.circles-section-3 .circle-2 {
    bottom: 15%;
    left: calc(20% - 37px);
    z-index: 3;
}

/* MOITIÉ SUPÉRIEURE : IMAGE */
.circle-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    z-index: 1;
    border-radius: 350px 350px 0 0;
}

.circle-image-layer .circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease;
}

/* MOITIÉ INFÉRIEURE : COULEURS */
.circle-yellow-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #FBBD40;
    z-index: 2;
    border-radius: 0 0 350px 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-lavender-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #a98fb5;
    z-index: 2;
    border-radius: 0 0 350px 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-pink-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #E75CB4;
    z-index: 2;
    border-radius: 0 0 350px 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENU DES CERCLES */
.circle-content {
    text-align: center;
    width: 100%;
    padding: 0 30px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.circle-title {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    transition: opacity 0.4s ease;
    opacity: 1;
    z-index: 3;
}

.circle-description {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    max-width: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: 4;
}

/* TROU CENTRAL - PARFAITEMENT CENTRÉ */
.circle-center-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: #d3d3d3;
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* HOVER DES PETITS CERCLES */
.circle-1:hover,
.circle-2:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.circles-section-1 .circle-1:hover,
.circles-section-1 .circle-2:hover {
    transform: scale(1.03);
}

.circles-section-2 .circle-1:hover,
.circles-section-2 .circle-2:hover {
    transform: scale(1.03);
}

.circles-section-3 .circle-1:hover,
.circles-section-3 .circle-2:hover {
    transform: scale(1.03);
}

.circle-1:hover .circle-image,
.circle-2:hover .circle-image {
    filter: brightness(0.7);
}

.circle-1:hover .circle-title,
.circle-2:hover .circle-title {
    opacity: 0;
}

.circle-1:hover .circle-description,
.circle-2:hover .circle-description {
    opacity: 1;
}

.footer {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    margin-top: auto;
}

.footer-top-bar {
    width: 100%;
    height: 2px;
    background-color: #333333;
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px 20px;
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    grid-template-rows: auto auto;
    gap: 40px 60px;
    align-items: start;
    position: relative;
}

.footer-logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-navigation {
    grid-column: 2;
    grid-row: 1;
}

.footer-infos {
    grid-column: 3;
    grid-row: 1;
}

.footer-section-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
    margin: 0 0 15px 0;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #8C144E;
}

.footer-social {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-copyright {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
    padding-top: 20px;
}

.footer-copyright p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    margin: 0;
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
    }
    
    .footer-navigation {
        grid-column: 1;
        grid-row: 2;
    }
    
    .footer-infos {
        grid-column: 1;
        grid-row: 3;
    }
    
    .footer-social {
        grid-column: 1;
        grid-row: 4;
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-copyright {
        grid-column: 1;
        grid-row: 5;
    }
}



.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large screens - jusqu'à 1512px */
@media (min-width: 1520px) {
    .hero-overlay {
        width: 1512px;
    }
    
    .circles-container {
        max-width: 1400px;
    }
}

/* Tablettes et écrans moyens */
@media (max-width: 1200px) {
    .header-container,
    .footer-container {
        max-width: 100%;
    }
    
    .hero-overlay {
        width: calc(100% - 40px);
        max-width: 1200px;
    }
    
    .circle-main {
        width: 450px;
        height: 450px;
    }
    
    .circle-1,
    .circle-2 {
        width: 300px;
        height: 300px;
    }
    
    .circles-section-1 .circle-1,
    .circles-section-2 .circle-1,
    .circles-section-3 .circle-1 {
        right: calc(15% - 30px);
    }
    
    .circles-section-1 .circle-2,
    .circles-section-2 .circle-2,
    .circles-section-3 .circle-2 {
        left: calc(15% - 30px);
    }
    
    .circle-center-hole {
        width: 50px;
        height: 50px;
    }
}

/* Tablettes */
@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 120px;
        padding: 10px 0;
    }
    
    .header-container {
        padding: 10px 15px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .navigation {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .profile-icon {
        width: 35px;
        height: 35px;
        right: 15px;
        bottom: 10px;
    }
    
    .hero-section {
        margin-top: 30px;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .hero-overlay {
        width: 90%;
        max-width: 600px;
        height: auto;
        padding: 30px 20px;
        top: 50%;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .circles-section-1,
    .circles-section-2,
    .circles-section-3 {
        margin-top: 60px;
        padding: 40px 20px 60px;
        min-height: 500px;
    }
    
    .circles-container {
        height: 500px;
    }
    
    .circle-main {
        width: 280px;
        height: 280px;
    }
    
    .circle-1,
    .circle-2 {
        width: 180px;
        height: 180px;
    }
    
    .circles-section-1 .circle-1,
    .circles-section-2 .circle-1,
    .circles-section-3 .circle-1 {
        top: 10%;
        right: calc(10% - 20px);
    }
    
    .circles-section-1 .circle-2,
    .circles-section-2 .circle-2,
    .circles-section-3 .circle-2 {
        bottom: 10%;
        left: calc(10% - 20px);
    }
    
    .circle-center-hole {
        width: 35px;
        height: 35px;
    }
    
    .circle-title {
        font-size: 16px;
    }
    
    .circle-description {
        font-size: 12px;
        max-width: 150px;
    }
    
    .footer {
        padding: 30px 20px;
        margin-top: 60px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-navigation {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 70px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .footer-nav-link {
        font-size: 14px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .header {
        min-height: 100px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .profile-icon {
        width: 30px;
        height: 30px;
    }
    
    .hero-image-container {
        height: 250px;
    }
    
    .hero-overlay {
        width: 95%;
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .hero-text {
        font-size: 14px;
    }
    
    .circles-section-1,
    .circles-section-2,
    .circles-section-3 {
        margin-top: 40px;
        padding: 30px 15px 50px;
        min-height: 400px;
    }
    
    .circles-container {
        height: 400px;
    }
    
    .circle-main {
        width: 200px;
        height: 200px;
    }
    
    .circle-1,
    .circle-2 {
        width: 140px;
        height: 140px;
    }
    
    .circles-section-1 .circle-1,
    .circles-section-2 .circle-1,
    .circles-section-3 .circle-1 {
        top: 5%;
        right: calc(5% - 15px);
    }
    
    .circles-section-1 .circle-2,
    .circles-section-2 .circle-2,
    .circles-section-3 .circle-2 {
        bottom: 5%;
        left: calc(5% - 15px);
    }
    
    .circle-center-hole {
        width: 30px;
        height: 30px;
    }
    
    .circle-title {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .circle-description {
        font-size: 11px;
        max-width: 120px;
        padding: 0 10px;
    }
    
    .footer {
        padding: 20px 15px;
        margin-top: 40px;
    }
    
    .footer-navigation {
        gap: 30px;
    }
    
    .footer-logo-img {
        height: 60px;
    }
    
    .footer-nav-link {
        font-size: 12px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
}

/* Override WordPress par défaut pour éviter les conflits */
body.page-template-template-accueil .wp-block-group,
body.page-template-template-accueil-php .wp-block-group,
body.single-page .wp-block-group {
    max-width: 1512px;
    margin: 0 auto;
}

body.page-template-template-accueil .alignwide,
body.page-template-template-accueil-php .alignwide,
body.single-page .alignwide {
    max-width: 1512px;
}

body.page-template-template-accueil .alignfull,
body.page-template-template-accueil-php .alignfull,
body.single-page .alignfull {
    max-width: 100%;
    width: 100%;
}
/* ============================================
   MOBILE ONLY — désactiver l'apparition du descriptif au tap
   (sur mobile, le tap déclenche souvent :hover)
   ============================================ */
@media (max-width: 768px){

  /* Annule l'effet hover/tap qui remplace le titre par le descriptif */
  .circle-1:hover .circle-title,
  .circle-2:hover .circle-title,
  .circle-1:active .circle-title,
  .circle-2:active .circle-title,
  .circle-1:focus .circle-title,
  .circle-2:focus .circle-title,
  .circle-1:focus-within .circle-title,
  .circle-2:focus-within .circle-title{
    opacity: 1 !important;
  }

  .circle-1:hover .circle-description,
  .circle-2:hover .circle-description,
  .circle-1:active .circle-description,
  .circle-2:active .circle-description,
  .circle-1:focus .circle-description,
  .circle-2:focus .circle-description,
  .circle-1:focus-within .circle-description,
  .circle-2:focus-within .circle-description{
    opacity: 0 !important;
  }

  /* Annule aussi l'assombrissement de l'image en "hover" mobile */
  .circle-1:hover .circle-image,
  .circle-2:hover .circle-image,
  .circle-1:active .circle-image,
  .circle-2:active .circle-image{
    filter: none !important;
  }

  /* Optionnel : annule le zoom au tap  */
  .circle-1:hover,
  .circle-2:hover,
  .circle-1:active,
  .circle-2:active{
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  }
}
/* =========================================================
   ACCUEIL : OPTIMISATION GRANDS ÉCRANS (PC > 1600px)
   ========================================================= */

@media (min-width: 1600px) {
  
  /* 1. On débloque la largeur maximale */
  body.page-template-template-accueil .site-content,
  .header-container,
  .hero-section,
  .circles-section-1, .circles-section-2, .circles-section-3 {
    max-width: 1800px; /* On passe de 1512px à 1800px */
  }

  /* 2. Header & Nav plus aérés */
  .navigation {
    gap: 150px; /* Plus d'espace entre les liens */
  }
  .nav-link {
    font-size: 18px;
  }
  .logo-img {
    height: 110px;
  }

  /* 3. Hero Section plus imposante */
  .hero-image-container {
    height: 600px; /* Image plus haute */
  }

  .hero-overlay {
    max-width: 1400px;
    padding: 60px;
  }

  .hero-title {
    font-size: 60px; /* Titre géant */
  }

  .hero-text {
    font-size: 26px;
    max-width: 900px;
  }

  /* 4. Les Cercles (Le cœur du design) */
  .circles-container {
    max-width: 1600px;
    height: 850px; 
  }

  /* Le grand cercle central devient vraiment grand */
  .circle-main {
    width: 650px;
    height: 650px;
  }

  /* Les petits cercles s'agrandissent aussi */
  .circle-1, .circle-2 {
    width: 400px;
    height: 400px;
  }

  .circles-section-1 .circle-1,
  .circles-section-2 .circle-1,
  .circles-section-3 .circle-1 {
    right: 15%;
  }

  .circles-section-1 .circle-2,
  .circles-section-2 .circle-2,
  .circles-section-3 .circle-2 {
    left: 15%;
  }

  /* Typographie dans les cercles */
  .circle-title {
    font-size: 30px;
  }
  .circle-description {
    font-size: 20px;
    max-width: 320px;
  }
}