/*
Theme Name: Hello Elementor Child
Theme URI: http://exemple.com/
Description: Theme enfant pour Hello Elementor
Author: Amelle Boumad
Author URI: http://exemple.com/
Template: hello-elementor
Version: 1.0.0
*/

/* Vos styles personnalisés commencent ici */

/* ============================================
   THÈME ENFANT — ADECAWEB
   style.css
   ============================================ */
/* ============================================
   TYPOGRAPHIE GLOBALE
   ============================================ */

/* Tous les titres */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
}

/* Tous les paragraphes */
..page-content p {
  font-family: 'Poppins', sans-serif;
  color: #000000;
}

   
/* ============================================
              PAGE D'ACCUEIL
   ============================================ */

/* ============================================
   1. CONTENEUR PRINCIPAL
   ============================================ */

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Cache le titre généré automatiquement par WordPress */
.page-header {
  display: none;
}


/* ============================================
   HERO SLIDER
   ============================================ */

..hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-radius: 40px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlider 12s infinite;
}

.slide-1 {
  background-image: url('http://localhost/adecaweb/wp-content/uploads/2026/05/Property-1Frame-41.png');
  animation-delay: 0s;
}
.slide-2 {
  background-image: url('http://localhost/adecaweb/wp-content/uploads/2026/05/Property-1Frame-40.png');
  animation-delay: 4s;
}
.slide-3 {
  background-image: url('http://localhost/adecaweb/wp-content/uploads/2026/05/Property-1Frame-39.png');
  animation-delay: 8s;
}

@keyframes heroSlider {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  30%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-text {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 10;
}

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #ffffff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  
}
/* ============================================
   3. TITRES DE SECTIONS
   ============================================ */

.bureau__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #F5500C;
  margin: 0 0 40px;
  letter-spacing: -6px;
}

.agenda__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #4D5DFF;
  margin: 0 0 40px;
  letter-spacing: -6px;
}

.actu__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #FF7BE6;
  margin: 0 0 40px;
  letter-spacing: -6px;
}


/* ============================================
   4. BUREAU
   ============================================ */

.bureau-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 20px 0 60px;
  cursor: grab;
  scrollbar-width: none;
}
.bureau-scroll::-webkit-scrollbar { display: none; }
.bureau-scroll.grabbing { cursor: grabbing; }

.bureau-track {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
}

.card-container {
  perspective: 1000px;
  width: 370px;
  height: 520px;
  flex-shrink: 0;
  cursor: pointer;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.card-container.flipped .card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}
.card-front img,
.card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  transform: rotateY(180deg);
}

/* Bouton LinkedIn sur le verso */
.linkedin-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: white;
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #0077B5;
  font-family: 'Poppins', sans-serif;
}
.linkedin-btn:hover {
  background: #0077B5;
  color: white;
}


/* ============================================
   5. TEXTE DÉFILANT
   ============================================ */

.marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
}

.marquee-track {
  white-space: nowrap;
  will-change: transform;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 90px;
  color: #F5500C;
  animation: marquee-left 20s linear infinite;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-track--blue-1,
.marquee-track--blue-2 {
  color: #9CDAFF;
}


/* ============================================
   6. AGENDA — Cartes colorées
   ============================================ */

.agenda {
  padding: 0;
}

.agenda__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.agenda-card {
  border-radius: 24px;
  padding: 24px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 320px;
  min-height: 380px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
  cursor: default;
}

/* Couleurs et rotations — une par carte */
.agenda-card--pink  { background: #FFB9FF; transform: rotate(-3deg); }
.agenda-card--blue  { background: #4D5DFF; color: #fff; transform: rotate(1deg); }
.agenda-card--green { background: #AFED03; transform: rotate(2deg); }

.agenda-card:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.agenda-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin: 0 0 12px;
  line-height: 1.1;
}

.agenda-card__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.agenda-card__date {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 16px 0 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .agenda__grid {
    flex-direction: column;
    align-items: center;
  }
  .agenda-card {
    width: 100%;
    max-width: 360px;
  }
}


/* ============================================
   7. ACTUALITÉS 
   ============================================ */

.actu-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 20px;
}
.actu-carousel::-webkit-scrollbar { display: none; }

.actu-slide {
  display: flex;
  align-items: center;
  gap: 60px;
  min-width: 100%;
  scroll-snap-align: start;
  padding: 0 40px;
  box-sizing: border-box;
}

.actu-slide__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.actu-slide__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #4D5DFF;
  margin: 0;
  line-height: 1.1;
}

.actu-slide__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.actu-slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF7BE6;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.actu-slide__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 123, 230, 0.4);
}

.actu-slide__right {
  flex: 1.4;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.actu-slide__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.actu-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
}

.actu-arrow {
  font-size: 2rem;
  color: #333;
  cursor: default;
  user-select: none;
}

@media (max-width: 768px) {
  .actu-slide {
    flex-direction: column;
    padding: 0;
    gap: 30px;
  }
  .actu-nav { padding: 16px 0 0; }
}
/* ============================================
              PAGE ACTUALITE
   ============================================ */
   /* ============================================
   Grille de cartes
   ============================================ */

.actu-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0;
}

/* CARTE — base commune */
.actu-card {
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}

/* Rotations comme sur le design */
.actu-card--orange    { background: #FFA639; transform: rotate(-3deg); }
.actu-card--blue      { background: #4D5DFF; color: #fff; transform: rotate(1deg); }
.actu-card--lightblue { background: #9CDAFF; transform: rotate(2deg); }

/* Hover */
.actu-card:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Header : titre + flèche */
.actu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.actu-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
  line-height: 1.2;
}

/* Flèche — lien vers l'article
   Pour changer le lien : modifier href dans le HTML */
.actu-card__arrow {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.actu-card--blue .actu-card__arrow {
  background: #fff;
  color: #4D5DFF;
}
.actu-card:hover .actu-card__arrow {
  transform: translateX(3px);
}

/* Image — contre-rotation pour rester droite */
.actu-card__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.actu-card--orange .actu-card__img-wrap    { transform: rotate(3deg); }
.actu-card--blue .actu-card__img-wrap      { transform: rotate(-1deg); }
.actu-card--lightblue .actu-card__img-wrap { transform: rotate(-2deg); }

.actu-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Description */
.actu-card__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* Date */
.actu-card__date {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .actu-grid {
    flex-direction: column;
    align-items: center;
  }
  .actu-card {
    width: 100%;
    max-width: 360px;
  }
}

/* ============================================
   TITRE TOUS LES ARTICLES
   ============================================ */

.articles__title {
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #F5500C;
  margin: 0 0 40px;
  text-transform: uppercase;
  letter-spacing: -6px;
}
/* ============================================
   TOUS LES ARTICLES — Query Loop
   ============================================ */

.articles__title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: #F5500C !important;
  text-transform: uppercase !important;
  margin: 0 0 32px !important;
}

/* Remet la liste en colonne — Gutenberg force une grille */
.wp-block-post-template {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Chaque ligne d'article */
.wp-block-post-template li {
  background: #9CDAFF !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  list-style: none !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 4px 16px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wp-block-post-template li:hover {
  transform: translateX(6px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Titre — colonne gauche ligne 1 */
.wp-block-post-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}
.wp-block-post-title a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  color: #000 !important;
  text-decoration: none !important;
}
.wp-block-post-title a:hover {
  text-decoration: underline !important;
}

/* Lien "lire l'article" — colonne gauche ligne 2 */
.wp-block-post-excerpt {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
}
.wp-block-post-excerpt__excerpt {
  display: none !important;
}
.wp-block-post-excerpt__more-link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
  color: #000 !important;
  text-decoration: underline !important;
}

/* Date — colonne droite alignée à droite */
.wp-block-post-date {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  text-align: right !important;
  margin: 0 !important;
}
.wp-block-post-date time {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #000 !important;
}

/* Pagination */
.wp-block-query-pagination {
  display: flex !important;
  gap: 8px !important;
  margin-top: 24px !important;
  font-family: 'Poppins', sans-serif !important;
}
.wp-block-query-pagination a {
  color: #4D5DFF !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* ============================================
  NOTRE MASTER
   ============================================ */
.master__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.master__link a,
.master__link {
 font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: #F5500C;
  text-decoration: none;
  text-align: left;
  display: block;
  font-weight: 900;
}

.master__link a:hover {
  text-decoration: underline;
}
/* ============================================
   SECTION INTERVENANTS
   ============================================ */

/* Hover sur les images */
.intervenants-grid .wp-block-image {
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intervenants-grid .wp-block-image:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.intervenants-grid .wp-block-image img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}
/* ============================================
   CAROUSELS PHOTOS 
   ============================================ */

.portraits-carousel,
.devenus-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.portraits-carousel::-webkit-scrollbar,
.devenus-carousel::-webkit-scrollbar { display: none; }

.portraits-slide,
.devenus-slide {
  min-width: 100%;
  scroll-snap-align: start;
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.portraits-slide img,
.devenus-slide img {
  width: 100%;
  height: auto;
  display: block;
}
/* ============================================
   FORMULAIRE DE CONTACT
   ============================================ */

.wpcf7-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

/* Labels */
.wpcf7-form label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  display: block;
  margin-bottom: 6px;
}

/* Champs texte, email, objet */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #999;
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus {
  border-color: #F5500C;
}

/* Zone de message */
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #999;
  background: #fff;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: #F5500C;
}

/* Bouton envoyer */
.wpcf7-form-control.wpcf7-submit {
  width: 100%;
  background: #F5500C;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.wpcf7-form-control.wpcf7-submit:hover {
  background: #d94400;
}

/* Espacement entre les champs */
.wpcf7-form p {
  margin-bottom: 16px;
}
/* ============================================
   PHOTOTHÈQUE — Grille de cartes colorées
   ============================================ */

.phototheque-grid .wp-block-post-template li:nth-child(1) { background: #FFB9FF !important; transform: rotate(-2deg) !important; }
.phototheque-grid .wp-block-post-template li:nth-child(2) { background: #4D5DFF !important; transform: rotate(1.5deg) !important; color: #fff !important; }
.phototheque-grid .wp-block-post-template li:nth-child(3) { background: #763CFD !important; transform: rotate(-1deg) !important; color: #fff !important; }
.phototheque-grid .wp-block-post-template li:nth-child(4) { background: #FF7BE6 !important; transform: rotate(2deg) !important; }
.phototheque-grid .wp-block-post-template li:nth-child(5) { background: #A179FF !important; transform: rotate(-1.5deg) !important; color: #fff !important; }
.phototheque-grid .wp-block-post-template li:nth-child(6) { background: #FFB9FF !important; transform: rotate(1deg) !important; }

.phototheque-grid .wp-block-post-template li {
  border-radius: 24px !important;
  padding: 20px !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.phototheque-grid .wp-block-post-template li:hover {
  transform: rotate(0deg) scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  z-index: 10 !important;
}

.phototheque-grid .wp-block-post-featured-image img {
  width: 100% !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  aspect-ratio: 4 / 3 !important;
}

.phototheque-grid .wp-block-post-title a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  text-decoration: none !important;
  color: inherit !important;
  letter-spacing: -2px !important;
}

.phototheque-grid .wp-block-post-excerpt__excerpt {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.phototheque-grid .wp-block-post-excerpt__more-link {
  display: none !important;
}

.phototheque-grid .wp-block-post-date time {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: -2px !important;
  color: inherit !important;
  display: block !important;
  margin-top: auto !important;
}
