/*
Theme Name: Twenty Twenty-Five (enfant)
Description: Thème enfant pour Twenty Twenty-Five
Author: Jonathan BESSON
Author URI: https://www.jonathan-besson.fr/
Template: non-profit-fse
Version: 1.0.0
Text Domain: twentytwentyfivechild
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* =========================================================
   1. IMPORTS & VARIABLES GLOBALES
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Noto+Serif+JP:wght@400;500&display=swap");

:root :where(body) {
  --wp--preset--color--base: #f5f5f5;
}

/* =========================================================
   1. ANIMATION
========================================================= */

/* =========================================================
   HOVER NAVBAR
========================================================= */

/* liens menu */
.wp-block-navigation-item__content {
  transition: color 0.25s ease, transform 0.25s ease;
}

/* effet hover */
.wp-block-navigation-item__content:hover {
  color: #FF914D !important;
  transform: translateY(-1px);
}


/* =========================================================
   HOVER FOOTER
========================================================= */

footer a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

footer a:hover {
  color: #FF914D;
  opacity: 0.9;
}

/* Icônes réseaux sociaux footer */
.wp-block-social-links.is-style-logos-only .wp-social-link a{
  color:#CBB09B !important;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.wp-block-social-links.is-style-logos-only .wp-social-link a:hover{
  color:#FF914D !important;
  transform:translateY(-2px);
  opacity:0.9;
}

.wp-block-social-links.is-style-logos-only .wp-social-link svg{
  fill:currentColor !important;
}

/* =========================================================
   BOUTONS ORANGE - ÉTATS INTERACTIFS
========================================================= */

/* base */
.flow-btn-primary .wp-block-button__link {
  background: #ff914d !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  transition:
    background-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

/* hover */
.flow-btn-primary .wp-block-button__link:hover {
  background: #f58a43 !important;
  box-shadow: 0 8px 18px rgba(255, 145, 77, 0.18);
  transform: translateY(-1px);
}

/* quand on appuie vraiment */
.flow-btn-primary .wp-block-button__link:active {
  background: #d95f00 !important;
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 3px 8px rgba(255, 145, 77, 0.10);
}

/* focus clavier */
.flow-btn-primary .wp-block-button__link:focus-visible {
  outline: 2px solid rgba(217, 95, 0, 0.28);
  outline-offset: 3px;
}

/* =========================================================
   BLOG - HOVER SUR LES ARTICLES
========================================================= */

.flow-blog-hover li.wp-block-post {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center center;
  will-change: transform;
}

.flow-blog-hover li.wp-block-post:hover {
  transform: translateY(-4px) scale(1.015);
  position: relative;
  z-index: 2;
}

.flow-blog-hover li.wp-block-post .wp-block-post-featured-image img {
  transition: transform 0.35s ease;
}

.flow-blog-hover li.wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}

/* =========================================================
   VIDÉOTHÈQUE - HOVER SUR LES CARTES VIDÉO
========================================================= */

.flow-video {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center center;
  will-change: transform;
}

.flow-video:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 10px 20px -6px rgba(0, 0, 0, 0.10),
    0 16px 28px -10px rgba(0, 0, 0, 0.10);
  position: relative;
  z-index: 2;
}

/* image / thumbnail */
.flow-video img {
  transition: transform 0.35s ease;
}

.flow-video:hover img {
  transform: scale(1.03);
}

/* =========================================================
   2. BASE GÉNÉRALE DU SITE
========================================================= */

body {
  font-family: "Noto Serif JP";
  font-weight: 400;
  font-style: normal;
}

.flow-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(84, 69, 69, 0.20);
}

/* =========================================================
   3. COMPOSANTS GLOBAUX RÉUTILISABLES
   Ces styles peuvent servir sur plusieurs pages
========================================================= */

/* ---------- Liste style Figma (rond orange + point central) ---------- */
.flow-figma-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-figma-list li {
  position: relative;
  padding-left: 44px;
  margin: 0 0 22px 0;
}

.flow-figma-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(255, 145, 77, 0.2);
}

.flow-figma-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: calc(0.15em + 8px);
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ff914d;
}

/* ---------- Bouton outline clair ---------- */

.flow-cta-outline .wp-block-button__link {
  background: #f5efe6 !important;
  color: #544545 !important;
  border: 2px solid #544545 !important;
  border-radius: 8px !important;
  padding: 16px 32px !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  box-shadow: none !important;
  text-decoration: none !important;

  transition: all 0.25s ease;
}

/* Hover léger */
.flow-cta-outline .wp-block-button__link:hover {
  background: #efe6dc !important;
}

/* Effet clic (comme ton bouton poser vos questions) */
.flow-cta-outline .wp-block-button__link:active {
  background: #544545 !important;
  color: #CBB09B !important;
  border-color: #CBB09B !important;
}

/* =========================================================
   4. PAGE D’ACCUEIL
========================================================= */

/* ---------------------------------------------------------
   4.1 SECTION AVIS
--------------------------------------------------------- */

.flow-reviews {
  padding: 80px 16px;
  background: #fff;
}

.flow-reviews .flow-reviews__title {
  margin: 0;
  text-align: center;
  color: #544545;
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.flow-reviews .flow-reviews__subtitle {
  margin: 16px auto 0;
  text-align: center;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  max-width: 720px;
}

.flow-reviews .flow-reviews__grid {
  margin-top: 48px;
}

.flow-reviews .flow-review {
  position: relative;
  background: #f5efe6 !important;
  border-radius: 8px;
  padding: 32px !important;
  overflow: visible;
  border: none !important;
  border-bottom-width: 0 !important;
  border-bottom-style: none !important;
}

.flow-reviews .flow-review::before {
  content: "❝";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 145, 77, 0.2);
  color: #ff914d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.flow-reviews .flow-review__text {
  margin: 0;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.flow-reviews .flow-review__name {
  margin-top: 16px;
  color: #cbb09b;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 20px;
  font-style: italic;
}

/* ---------------------------------------------------------
   4.2 SECTION BOOKING / RÉSERVATION DE LA HOME
--------------------------------------------------------- */

.flow-booking {
  background: #FBFBFB;
  padding: 80px 16px;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.flow-booking * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.flow-booking__inner {
  max-width: 1067px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.flow-booking__title {
  margin: 0;
  text-align: center;
  color: #544545;
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
}

.flow-booking__subtitle {
  margin: 0 auto;
  text-align: center;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  max-width: 672px;
}

.flow-booking__cards {
  width: 100%;
  margin: 0;
}

.flow-booking__cards .wp-block-columns {
  width: 100%;
}

.flow-booking__cards .wp-block-column {
  display: flex;
  min-width: 0;
}

/* Cartes */
.flow-card {
  width: 100%;
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 34px;
  outline: 2px solid rgba(203, 176, 155, 0.3);
  outline-offset: -2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 324px;
}

.flow-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.flow-card--paris .flow-card__icon {
  background: rgba(255, 145, 77, 0.13);
  color: #ff914d;
}

.flow-card--online .flow-card__icon {
  background: rgba(19, 96, 244, 0.13);
  color: #1360f4;
}

.flow-card__title {
  margin: 10px 0 0;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
}

.flow-card__text {
  margin: 0;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  max-width: 431px;
}

.flow-card__btn .wp-block-button__link {
  width: 100%;
  text-align: center;
  background: transparent !important;
  color: #544545 !important;
  border-radius: 8px !important;
  border: 2px solid #544545 !important;
  padding: 12px 32px !important;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

/* ---------------------------------------------------------
   4.3 BLOC HORAIRES
--------------------------------------------------------- */

.flow-hours {
  background: #f5efe6;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-hours__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ff914d;
}

.flow-hours__title {
  margin: 0;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
}

.flow-hours__text {
  margin: 0 auto;
  max-width: 672px;
  color: #544545;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.flow-hours__btn .wp-block-button__link {
  background: #ff914d !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 32px !important;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

/* ---------------------------------------------------------
   4.4 SECTION VIDÉOTHÈQUE HOME
--------------------------------------------------------- */

.flow-videos {
  background: #544545;
  padding: 80px 16px;
}

.flow-videos .flow-videos__cols {
  max-width: 1200px;
  margin: 0 auto;
  gap: 64px;
  align-items: center;
}

.flow-videos h2,
.flow-videos h3 {
  color: #fff;
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
  margin: 0 0 16px 0;
}

.flow-videos p {
  color: #f5efe6;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

/* Grille cartes vidéos */
.flow-videos__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 510px;
}

.flow-videos__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  min-height: 104px;
  text-align: left;
}

.flow-videos__grid .flow-videos__card,
.flow-videos__grid .flow-videos__card * {
  border: none !important;
  box-shadow: none !important;
}

.flow-videos__card-title {
  color: #cbb09b;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 6px 0;
}

.flow-videos__card-number {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  margin: 0;
}

.flow-videos__card-label {
  color: #cbb09b;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  margin: 2px 0 0 0;
}

/* Bouton CTA vidéos */
.flow-videos__cta {
  position: relative;
}

.flow-videos__cta .wp-block-button__link {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  background: #ff914d !important;
  border-radius: 8px !important;
  padding: 12px 24px 12px 56px !important;
  color: #fff !important;
  font-family: "Noto Serif JP", serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  border: none !important;
  text-decoration: none !important;
}

.flow-videos__cta .wp-block-button__link::before {  
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 8l2-2h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2 2h4zm5 2.5l-3 2v-4l3 2z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 8l2-2h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2 2h4zm5 2.5l-3 2v-4l3 2z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 1;
}

/* =========================================================
   5. PAGE ÉVÉNEMENTS
========================================================= */

/* ---------------------------------------------------------
   5.1 MÉTADONNÉES ÉVÉNEMENT
--------------------------------------------------------- */

.flow-event-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
  align-items: stretch !important;
}

/* annule les marges auto Gutenberg dans cette grille */
.flow-event-meta > * {
  margin: 0 !important;
  min-width: 0 !important;
}

.flow-event-meta p {
  position: relative;
  margin: 0 !important;
  padding: 10px 12px 10px 36px !important;
  min-height: 56px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  line-height: 1.35;
}

.flow-event-meta p::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.flow-event-meta p:nth-child(1)::before {
  background-image: url("http://flowstudionline.local/wp-content/uploads/2026/03/Icon-3-1.png");
}

.flow-event-meta p:nth-child(2)::before {
  background-image: url("http://flowstudionline.local/wp-content/uploads/2026/03/Icon-1.png");
}

.flow-event-meta p:nth-child(3)::before {
  background-image: url("http://flowstudionline.local/wp-content/uploads/2026/03/Icon-18.png");
}

.flow-event-meta p:nth-child(4)::before {
  background-image: url("http://flowstudionline.local/wp-content/uploads/2026/03/Icon-19.png");
}

/* ---------------------------------------------------------
   5.2 LISTE "INCLUS"
--------------------------------------------------------- */

.flow-event-includes {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.flow-event-includes li {
  list-style: none !important;
  position: relative;
  padding-left: 28px;
  margin: 0 0 8px 0;
}

.flow-event-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #ff914d;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12 3.4 13.4 9 19 21 7 19.6 5.6z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12 3.4 13.4 9 19 21 7 19.6 5.6z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================================================
   6. RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .flow-reviews .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .flow-reviews .wp-block-column {
    flex-basis: 100% !important;
  }

  .flow-card {
    min-height: auto;
  }

  .flow-videos .flow-videos__cols {
    gap: 32px;
  }

  .flow-videos__grid {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .flow-videos {
    padding: 56px 16px;
  }

  .flow-videos__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   RESPONSIVE CTA PAGE D'ACCUEIL
========================================================= */

@media (max-width: 768px) {
  .cta-buttons-mobile {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .cta-buttons-mobile .wp-block-button {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .cta-buttons-mobile .wp-block-button__link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 16px 24px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 768px) {
  .home-schedule-mobile {
    width: 100% !important;
    max-width: 100% !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .home-schedule-mobile > .wp-block-group__inner-container,
  .home-schedule-mobile .wp-block-group__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .home-schedule-mobile p,
  .home-schedule-mobile h2,
  .home-schedule-mobile h3 {
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .home-schedule-mobile .wp-block-buttons {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .home-schedule-mobile .wp-block-button__link {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {

  .mobile-center {
    text-align: center !important;
  }

}

@media (max-width: 768px) {
  .mobile-center {
    justify-content: center !important;
  }

  .mobile-center .wp-block-button,
  .mobile-center .wp-block-button__link {
    text-align: center !important;
  }

  .mobile-center .wp-block-button__link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* =========================================================
   FORMULAIRE DE COMMENTAIRE
========================================================= */

#respond input#submit[type="submit"] {
  background: #FF914D !important;
  background-color: #FF914D !important;
  border: 0 !important;
  color: #fff !important;
}