@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: Thème enfant OceanWP
Author: Ton Nom
Author URI: https://tonsite.com
Template: oceanwp
Version: 1.0
*/

/* Tes styles personnalisés ici */
#site-header {
    display: none !important;
}

.elementor-324 .elementor-element.elementor-element-742081c a.hfe-menu-item, .elementor-324 .elementor-element.elementor-element-742081c a.hfe-sub-menu-item {
    font-family: "Bebas Neue", Sans-serif !important;
    background-color: none !important;
}

.hfe-menu-item {
    text-shadow:
        -0.5px -0.5px 0 black,
        -0.5px -0.5px 0 black,
        -0.5px  0.5px 0 black,
         0.5px  0.5px 0 black;
}

/* ===============================
   INTRO ZOOM TV – HOME ONLY
=============================== */

/* --- Wrapper et intro TV --- */
.wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.content {
    position: relative;
    overflow-x: hidden;
    z-index: 1;
}

/* Section intro hero */
.intro {
    position: relative;
    z-index: 10;
    overflow: hidden;
    height: 100svh;
}

@media (max-width: 768px) {
    .intro {
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    
    .tv-screen {
        width: 100%;
        height: 100dvh;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .tv-screen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block; /* ← supprime l'espace sous l'image (inline gap) */
    }
}

/* Logo posé au centre */
.site-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -5;
    pointer-events: none;
}

/* Logo site */
.site-logo img {
    width: clamp(120px, 40vw, 220px);
    height: auto;
}

.logo-wrapper {
    position: relative;
    width: clamp(200px, 55vw, 80px);
    height: clamp(200px, 55vw, 80px);
}

.logo-wrapper .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(100px, 38vw, 200px);
    height: auto;
    z-index: 1;
}

.logo-circle {
    width: clamp(200px, 55vw, 80px);
    height: clamp(200px, 55vw, 80px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinCircle 6s linear infinite;
}

@media (max-width: 768px) {
    .site-logo {
        transform: translate(-50%, -50%) scaleX(-1);
    }
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  pointer-events: none;
  width: 90vw;
  max-width: 90vw;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero-line {
  font-family: 'Indie Flower', cursive;
  letter-spacing: 0.08em;
  color: #9293FF;
  margin: 1.4em 0;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.line-1 {
  font-size: clamp(2rem, 7vw, 7rem);
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.line-2 {
  font-size: clamp(1.4rem, 5vw, 5rem);
}

.line-3 {
  font-size: clamp(1.8rem, 6vw, 6rem);
  letter-spacing: 0.25em;
  opacity: 0.9;
}


@media (max-width: 768px) {
    .logo-circle {
        width: 150px;
        height: 150px;
    }
}

.logo-circle circle {
    stroke: black;
}

/* EMPECHE QUE LE MENU HEADER SOIT SUR À DROITE */
#site-navigation-wrap {
    float: none !important;
    position: relative;
    right: 0 !important;
}

@keyframes spinCircle {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* BOITE SCROLL HORIZONTAL */

.projects-scroll {
    display: flex;
    gap: 20rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.projects-scroll::-webkit-scrollbar {
    display: none;
}

.flip-card {
    flex: 0 0 300px;
    height: 480px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 1px solid transparent;
    background: linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)) padding-box,
                linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1)) border-box;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    padding: 1rem;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* TEXTE FLIPCARD PROJETS */

.title-projects {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 30px;
    color: black;
}

.text-projects {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 20px;
    color: black;
}

.btn-projects {
    padding: 0 20px;
    border: none !important;
    border-radius: 4px;
    background: black;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 20px;
    color: white;
}

.btn-projects:hover {
    background-color: white !important;
    color: #4060FF;
}

.project-img {
    width: 350px;
    height: 350px;
    margin-bottom: 0.5rem;
}

.project-img-apsara {
    width: 130px;
    height: 130px;
}

/* FLIPCARD FORMAT MOBILE */

@media (max-width: 768px) {

    .projects-scroll {
        gap: 1.5rem;
        padding: 1rem;
    }

    .flip-card {
        flex: 0 0 250px;
        height: 350px;
    }

    .project-img {
        width: 160px;
        height: 160px;
    }

    .project-img-apsara {
        width: 80px;
        height: 80px;
    }

    .title-projects {
        font-size: 20px;
    }

    .text-projects {
        font-size: 14px;
    }

    .btn-projects {
        font-size: 14px;
        padding: 4px 14px;
    }

}

/* ANIMATION TEMPLATES PAGE PROJETS */

.project-image {
    width: 500px;
    height: auto;
    cursor: pointer;
    display: block;
    margin: 20px auto 0 auto;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: translateY(-6px) scale(1.03);
}

/* Iframe par-dessus */
#project-frame {
    position: fixed;
    inset: 40px 0 0 0;
    display: none;
    z-index: 200;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}

#project-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
}

@media (max-width: 768px) {
    #project-frame {
        display: none !important;
    }
}

.elementor-template-canvas .elementor {
    overflow-y: scroll;
    scrollbar-width: none;
}

.elementor-template-canvas .elementor::-webkit-scrollbar {
    display: none;
}

#close-btn {
    position: fixed;
    top: 55px;
    right: 25px;
    z-index: 600;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    body.page-projet #close-btn {
        display: flex !important;
    }
}

/* BOUTON PAGE CONTACT */
input[type=submit] {
    background-color: black !important;
    color: white;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 30px !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

input[type=submit]:hover {
    background-color: white !important;
    color: black !important;
}

form label {
    font-size: 20px;
}

@media (max-width: 768px) {
    form label {
        font-size: 18px;
    }
}

.skill-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border: 1px solid #FF7961;
    border-radius: 4px;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #FF7961;
    background: transparent;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
    cursor: default;
}

.skill-tag:hover {
    background: black;
    color: #ffffff;
}

.skill-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

/* PAGE A PROPOS */

.contact-h {
    font-size: 35px;
}

.circle-label {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 35px;
}

/* PAGE CEFILIMO - AJUST ARROWS MOCKUPS */

.arrow path {
    fill: white !important;
}
/*EMPECHE AU FORMAT MOBILE QULE TOOGLE MENU S'AFFICHE */
@media only screen and (max-width: 959px) {
    
   .oceanwp-mobile-menu-icon {
        display: none !important;}
}

/* Fix débordement mobile — page Soli Swim */
.page-slug-projet-5 {
  overflow-x: hidden;
}

/*ESSAI POUR FORCER HEADER AU MOBILE*/
@media (max-width: 959px) {
    #site-header .oceanwp-library-324,
    #site-header [data-id="324"],
    .oceanwp-library-id-324,
    #site-header .elementor-324 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
}

    
  @media (max-width: 768px) {

  /* Contour autour du bouton toggle */
  .hfe-nav-menu__toggle {
    border: 2px solid #000 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Texte MENU après l'icône */
  .hfe-nav-menu__toggle::after {
    content: "MENU" !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #000 !important;
    letter-spacing: 1px !important;
  }

  /* Couleur de l'icône SVG */
  .hfe-nav-menu-icon svg {
    fill: #000 !important;
    width: 24px !important;
    height: 24px !important;
  }

  /* Hover */
  .hfe-nav-menu__toggle:hover {
    background-color: #000 !important;
  }

  .hfe-nav-menu__toggle:hover::after {
    color: #fff !important;
  }

  .hfe-nav-menu__toggle:hover .hfe-nav-menu-icon svg {
    fill: #fff !important;
  }

}

.close-project {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 18px;
}

@media (max-width: 768px) {
  .close-project {
    top: 15px;
    right: 15px;
  }
}