/**
Theme Name: World Wild Web thème
Author: WWW Raiatea
Author URI: https://www-raiatea.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: world-wild-web-theme
Template: astra
*/

h1 {
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.3);
}



/* 1) Le slide pousse son contenu à droite */
.slides-droite .swiper-slide{
  display:flex !important;
  justify-content:flex-end !important;
  text-align:right;
}

/* 2) Annuler le centrage Astra à l'intérieur du slider */
.slides-droite .alignfull,
.slides-droite .alignwide,
.slides-droite .wp-block-uagb-container,
.slides-droite .uagb-container__wrap,
.slides-droite .uagb-slide-content,
.slides-droite .uagb-post__inner-wrap{
  margin-left:auto !important;   /* colle à droite */
  margin-right:0 !important;     /* annule le centrage */
  width:max-content !important;  /* casse le width:100% d’Astra */
  max-width:100%;                /* évite le dépassement */
  align-self:flex-end;           /* sécurité si un parent est en flex */
}

/* (optionnel) bullets & flèches à droite */
.slides-droite .swiper-pagination{ text-align:right; right:0; left:auto; }
.slides-droite .swiper-pagination-bullets{ justify-content:flex-end; }
.slides-droite .uagb-swiper-arrow-wrap{ justify-content:flex-end; }

/* (optionnel) mobile : recentrer si tu préfères */
@media (max-width:768px){
  .slides-droite .swiper-slide{ justify-content:center !important; text-align:center; }
  .slides-droite .alignfull,
  .slides-droite .alignwide,
  .slides-droite .wp-block-uagb-container,
  .slides-droite .uagb-container__wrap,
  .slides-droite .uagb-slide-content,
  .slides-droite .uagb-post__inner-wrap{
    width:100% !important;       /* plein écran en mobile si voulu */
    margin-left:0 !important;
    margin-right:0 !important;
    align-self:stretch;
  }
}

/* Bandeau mots-clés — pleine largeur avec triangle au-dessus de l'actif */
.kw-band{
  --kw-color-inactive: #2e4996;  /* mots inactifs */
  --kw-color-active:   #967b2e;  /* mot actif + triangle */
  --kw-pad-x: 1rem;
  --kw-gap: 0;
  --kw-font: 1.125rem;
  --kw-weight: 600;
  display: grid;
  gap: .6rem;
}

.kw-tabs{
  position: relative;
  display: flex;
  justify-content: space-between; /* répartit sur 100% */
  gap: var(--kw-gap);
  padding: .75rem var(--kw-pad-x) .5rem;
  border-bottom: 1px solid rgba(0,0,0,.15);
}

/* Chaque onglet = 1/3, centré */
.kw-tab{
  position: relative;
  flex: 1 1 0;
  text-align: center;
  appearance: none;
  background: none;
  border: none;
  padding: .25rem .125rem;
  font: inherit;
  font-size: var(--kw-font);
  font-weight: var(--kw-weight);
  color: var(--kw-color-inactive);   /* inactif = #2e4996 */
  opacity: .9;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.kw-tab:hover{ opacity: 1; }

/* Actif = couleur #967b2e */
.kw-tab.is-active{
  color: var(--kw-color-active);
  opacity: 1;
}

/* Triangle plein (curseur) au-dessus du mot actif) */
.kw-tab.is-active::before{
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid var(--kw-color-active); /* #967b2e */
}

/* Texte descriptif */
.kw-content{
  margin: .25rem 0 0 0;
  padding: 0 var(--kw-pad-x);
  font-size: clamp(.95rem, 1.05vw, 1.05rem);
  line-height: 1.55;
  color: var(--ast-global-color-3, #4b5563);
}

/* Accessibilité focus clavier */
.kw-tab:focus-visible{
  outline: 2px solid color-mix(in oklab, var(--kw-color-active), white 35%);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px){
  .kw-tab{ font-size: 1rem; }
}
/* Enlève complètement le look "bouton" d'Astra sur nos onglets */
.kw-band .kw-tabs .kw-tab{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;

  /* Rétablit notre look d'onglet */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  padding: .25rem .125rem !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font: inherit !important;
  color: var(--kw-color-inactive, #2e4996) !important;
  cursor: pointer;
}

/* Couleur actif + triangle (déjà demandé) */
.kw-band .kw-tabs .kw-tab.is-active{
  color: var(--kw-color-active, #967b2e) !important;
}
.kw-band .kw-tabs .kw-tab.is-active::before{
  border-bottom-color: var(--kw-color-active, #967b2e) !important;
}
