/*

Tooplate 2137 Barista

https://www.tooplate.com/view/2137-barista-cafe

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --discover-title:             #0a7f84;

  --white-color:                  #ffffff;
  --primary-color:                #BC6C25;
  --secondary-color:              #DDA15E;
  --section-bg-color:             #b78752;
  --custom-btn-bg-color:          #BC6C25;
  --custom-btn-bg-hover-color:    #DDA15E;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #E76F51;

  --body-font-family:             'Plus Jakarta Sans', sans-serif;

  --h1-font-size:                 68px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  19px;
  --btn-font-size:                16px;
  --form-btn-font-size:           18px;
  --menu-font-size:               16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-thin:             200;
  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

body {
    font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Chango', cursive;
}


body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}
.adventure-bg {
  background-color: var(--secondary-color); /* orange doux */
  position: relative;
}

/* Vague blanche de transition (inverse du Hero) */
.adventure-bg::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 140px;
  background: #ffffff;
  border-bottom-left-radius: 100% 140px;
  border-bottom-right-radius: 100% 140px;
  z-index: 0;
}

.adventure-bg .container {
  position: relative;
  z-index: 1;
}


/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background-color: var(--white-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  padding-top: 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--white-color);
  border: 5px solid #7c5c52;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container-left {
  left: 0;
}

.timeline-container-right {
  left: 50%;
}

.timeline-container-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  right: 25px;
  border: medium solid white;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent white;
}

.timeline-container-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  left: 25px;
  border: medium solid white;
  border-width: 20px 20px 20px 0;
  border-color: transparent white transparent transparent;
}

.timeline-container-right::after {
  left: -13px;
}

.timeline-content {
  padding: 5px;
  background-color: var(--white-color);
  position: relative;
  border-radius: var(--border-radius-medium);
}

@media screen and (max-width: 991px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 58px;
    border: medium solid white;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::after, .timeline-container-right::after {
    left: 6px;
  }

  .timeline-container-right {
    left: 0%;
  }
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}


/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .container {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
}

.navbar {
  background: transparent;
  z-index: 999999;
  padding-top: 30px;
  padding-bottom: 30px;
}

.navbar .container {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}

/* Garde les couleurs originales du logo */
.navbar .navbar-brand-image { filter: none !important; }


.navbar-brand-image {
  width: 96px;
  height: auto;
  margin-right: 10px;
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
OTHER FEATURES       
-----------------------------------------*/
.feature-list {
  list-style: none;
  padding-left: 0;
  font-size: 17px;
  line-height: 1.8;
  color: white;
}

.feature-list li {
  margin-bottom: 12px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-color: #fbc02d;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  text-align: left;
}

/* Vague arrondie qui recouvre le bas du hero
   et “passe par-dessus” avec la couleur de la section suivante */
.hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70px;                 /* colle au bas du hero */
  transform: translateX(-50%);
  width: 160%;                  /* plus large que l’écran pour un bel arc */
  height: 140px;                /* hauteur de la courbe */
  background: #ffffff;          /* ⚠️ mets ici la couleur EXACTE du fond de la section suivante (Story) */
  border-top-left-radius: 100% 140px;
  border-top-right-radius: 100% 140px;
  z-index: 10;                  /* au-dessus du fond du hero */
  pointer-events: none;
}



@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

.hero-section h1 {
  color: var(--white-color);
}

.small-text {
  color: var(--secondary-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: absolute !important;
}

.opening-hours-list {
  margin: 0;
  padding: 0;
}

.opening-hours-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  margin-bottom: 10px;
}

.opening-hours-list li .underline {
  background-color: rgba(255, 255, 255, 0.75);
  width: 35%;
  height: 1px;
  margin: auto 15px 0 15px;
}


/*---------------------------------------
           STORY              
-----------------------------------------*/
.about-section {
  background-color: #ffffff;  /* ← fond blanc */
  position: relative;
}
/* Réduction de l’espace avant Discover Meetlight */
#section_2.section-padding {
  padding-top: 40px; /* ou 50px, ajuste selon ton goût */
}

.about-section .section-overlay {
  display: none;  /* ← désactive l’overlay sombre (noir semi-transparent) */
}

.about-section .ratio {
  border-radius: var(--border-radius-medium);
}

.custom-video {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.about-video-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(188, 108, 37, 1));
  border-radius: var(--border-radius-medium);
  bottom: 0;
  height: auto;
  padding: 40px;
}

.about-video-info h4 {
  color: var(--white-color);
}

.about-section h6 {
  color: var(--secondary-color);
}

.team-block-wrap {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  max-height: 450px;
  cursor: pointer;
}

.team-block-wrap:hover .team-block-image {
  transform: scale(1.2);
}

.team-block-image-wrap {
  width: 100%;
}

.team-block-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.team-block-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(188, 108, 37, 1));
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.team-block-info .badge {
  margin: auto;
  top: 2px;
  bottom: 0;
}


/*---------------------------------------
  OUR MENU              
-----------------------------------------*/
.menu-section {
  background-image: url('../images/happy-waitress-giving-coffee-customers-while-serving-them-coffee-shop.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-block-wrap {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.menu-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.menu-block h6 {
  color: var(--white-color);
}

.menu-block small {
  color: rgba(255, 255, 255, 0.35);
}

.menu-block strong {
  color: var(--secondary-color);
}

.menu-block-image {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  display: block;
  margin: auto;
  cursor: pointer;
}

.badge {
  background-color: var(--primary-color);
  font-size: 12px;
  position: relative;
  bottom: 4px;
  padding-bottom: 6px;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--primary-color);
}


/*---------------------------------------
  REVIEWS              
-----------------------------------------*/
.reviews-section {
  background-color: #7c5c52;
}

.reviews-block {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.reviews-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.reviews-block-image-wrap {
  background-image: url('../images/mid-section-waitress-wiping-espresso-machine-with-napkin-cafa-c.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30px;
}

.reviews-block-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 10px;
}

.reviews-block-info {
  padding: 20px 30px;
}

.reviews-block-info p {
  font-size: var(--btn-font-size);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-group i {
  color: var(--white-color);
}



/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }

  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  .booking-form {
    padding: 45px;
  }

  .contact-section .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  .site-footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }
}


@media screen and (max-width: 578px) {
  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}


@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .hero-section::after {
    width: 140%;
    height: 90px;
    border-top-left-radius: 100% 90px;
    border-top-right-radius: 100% 90px;
    bottom: -55px;
  }

  .booking-form {
    padding: 35px;
  }

  .opening-hours-list li {
    font-size: 12px;
  }

  .reviews-block-image-wrap {
    flex-direction: column;
  }

  .reviews-block-image {
    margin-bottom: 15px;
  }

  .timeline-container {
    padding-left: 55px;
  }

  .timeline-container::before {
    left: 44px;
    border: medium solid white;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::before,
  .timeline-container-right::before {
    top: 13px;
  }
}

.social-icons img {
    height: 48px;
    width: auto;
    margin-left: 10px;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-icons img:hover {
    transform: scale(1.1);
    opacity: 1;
}

  .hero-section::after {
    height: 100px;
    border-top-left-radius: 100% 100px;
    border-top-right-radius: 100% 100px;
}

/* Garder le cadre de la navbar fin, même avec un logo plus grand */
.navbar { padding-top: 20px; padding-bottom: 20px; }             /* un peu plus compact */
.navbar .container { padding: 10px 20px; }                       /* réduit le padding interne */

.navbar .navbar-brand-image { filter: none !important; }         /* couleurs normales */
.navbar-brand-image {
  width: 96px;            /* 2x plus large qu’avant */
  height: auto;
  margin-right: 10px;
  margin-top: -10px;      /* << écrase visuellement la hauteur sans gonfler la barre */
  margin-bottom: -10px;   /* idem */
  line-height: 1;
}

@media (max-width: 991px){
  .navbar-brand-image { width: 72px; margin-top: -6px; margin-bottom: -6px; }
}

/* Coller le texte du hero en haut à gauche */
.hero-section { text-align: left; }
.hero-section .container { padding-top: 150px; }   /* baisse si tu veux encore plus haut (ex: 12px) */

/* styles titres (si pas déjà mis) */
.hero-title {
  font-family: 'Chango', cursive;
  font-size: 58px;
  color: #fff;
  margin: 0 0 .25rem 0;
}
.hero-subtitle {
  font-family: 'Chango', cursive;
  font-size: 20px;
  color: #fff;
  margin: 0 0 1rem 0;
}
.adventure-title {
  font-family: 'Chango', cursive;
  font-size: 56px;
  color: #e65c32;   /* orange-rouge */
  text-align: center;
  margin-bottom: 1rem;
}

.adventure-subtitle {
  font-family: 'Chango', cursive;
  font-size: 24px;
 color: white !important;   /* blanc */
  text-align: center;
  padding-top: 10px;
}
.adventure-section p,
.adventure-section ul,
.adventure-section li {
  color: white;
}
#adventure.adventure-section {
  padding-top: 140px; /* même valeur que Discover Meetlight */
}

/* Image de la map en haut */
.adventure-map {
  text-align: center;
}

.map-image {
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.adventure-text {
  max-width: 930px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: justify;
  text-justify: inter-word; /* pour éviter les grands espaces */
}


/* Le groupe prend la largeur exacte du sous-titre */
.hero-subgroup{
  display: inline-block;     /* largeur = contenu (le sous-titre) */
}

/* Image centrée par rapport au sous-titre */
.hero-platforms{
  width: 220px;              /* ou ce que tu veux */
  height: auto;
  display: block;
  margin: 32px auto 45px;     /* auto -> centrée dans le groupe */
}

.hero-links-icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 80px;  /* ajuste selon la hauteur à laquelle tu veux voir apparaître les icônes */
  margin-right: 140px;
}

.hero-link-icon {
  width: 180px;      /* ajuste selon tes préférences */
  height: auto;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-link-icon:hover {
  transform: scale(1.05);
  opacity: 1;
}

.discover-title {
  color: var(--discover-title);
  
}/* ===== Carrousel carré avec arrondis visibles sur 4 coins ===== */
.story-media{
  position: relative;
  overflow: visible;         /* pour laisser dépasser Gus */
  aspect-ratio: 1 / 1;       /* cadre strictement carré */
  max-width: 100%;
}

.rounded-mask{
  border-radius: 24px;
  overflow: hidden;          /* arrondit les 4 coins du visuel */
  height: 100%;
  width: 100%;
}

/* Le carrousel et ses niveaux enfants occupent 100% du cadre */
#storyCarousel,
#storyCarousel .carousel-inner,
#storyCarousel .carousel-item{
  height: 100%;
  width: 100%;
  border-radius: inherit;
}

/* Les images remplissent le cadre sans déformer (recadrage propre) */
#storyCarousel .carousel-item img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}


/* ===== Titre ===== */
.discover-title{
  font-family: 'Chango', cursive;
  font-size: 56px;
  line-height: 1.1;
  color: #0c8a88;
  text-align: center;
  margin-bottom: 3.5rem;   /* ⇦ modifie cette valeur pour l’espace sous le titre */
}

/* ===== Gus (créature) ===== */
.seed-wrap{
  position: absolute;
  left: -130px;       /* fait dépasser à gauche */
  bottom: -50px;     /* mord légèrement le bas */
  z-index: 10;
  text-align: center;
  pointer-events: none;
}
.seed-creature-img{
  width: 220px;      /* ⇦ modifie pour plus/moins grand */
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

/* Légende SOUS l’image (pas dedans) */
.seed-caption {
  display: block;
  margin-top: 0.8rem;
  margin-left: 4rem;          /* ⇦ décale vers la droite */
  font-size: 19px;
  font-style: italic;         /* ⇦ texte en italique */
  color: var(--p-color);      /* ⇦ même couleur que paragraphes */
  line-height: 1.6;
  max-width: 80%;
}


/* Texte justifié à droite */
.story-text p{
  text-align: justify;
  text-justify: inter-word;
}

/* Responsive */
@media (max-width: 991.98px){
  .seed-wrap{ left: -60px; bottom: -12px; }
  .seed-creature-img{ width: 160px; }
}
@media (max-width: 575.98px){
  .seed-wrap{ display: none; }
}

/*                    Embark on the adventure                       */
/* Section Adventure */
.adventure-title {
  font-family: 'Chango', cursive;
  font-size: 50px;
  color: #e65c32;   /* orange-rouge comme ton screen */
}

.adventure-subtitle {
  font-family: 'Chango', cursive;
  font-size: 24px;
  color: #f9c233;   /* jaune doré */
  margin-top: 10px;
}

/* Conteneur Flex pour les 3 blocs */
/* Flex layout media section */
.adventure-media {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 0 1rem;
}

/* Portrait images */
.portrait-frame {
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
}

/* Landscape video */
.landscape-frame {
  width: 540px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

/* Media content */
.portrait-frame img,
.landscape-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .adventure-media {
    flex-direction: column;
    align-items: center;
  }
}

/*---------------------------------------
  Sanctuary              
-----------------------------------------*/
/* Titre de la section sanctuary */
.sanctuary-title {
  font-family: 'Chango', cursive;
  font-size: 52px;
  color: #e65c32; /* orange */
  text-align: center;
  margin-bottom: 2rem;
}

#sanctuary.menu-section {
  padding-top: 60px;
}

/* Colonne GAUCHE : paragraphe principal */
#sanctuary p {
  color: #bbbbbb;  /* gris légèrement plus sombre pour confort de lecture */
}

/* Colonne DROITE : liste des fonctionnalités */
#sanctuary .feature-list {
  list-style: none;
  padding-left: 0;
  font-size: 17px;
  line-height: 1.3;
}

/* Descriptions dans la liste */
#sanctuary .feature-list li {
  color: #bbbbbb;
  margin-bottom: 1.2rem; /* plus d’air entre chaque élément */
}

/* TITRES GRAS dans la liste (🌱...) */
#sanctuary .feature-list li strong {
  color: #f5f5f5;
}

/* ======================
   Sanctuary - vidéos WIP avec overlay
========================= */
.sanctuary-videos .video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sanctuary-videos video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Dégradé noir en overlay */
.sanctuary-videos .video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0));
  border-radius: inherit;
  pointer-events: none; /* pour ne pas bloquer les clics sur la vidéo */
  z-index: 1;
}
/* Titres au-dessus des vidéos Sanctuary */
.video-title {
  font-family: 'Chango', cursive;
  font-size: 24px;
  color: #f5f5f5; 
  margin-bottom: 12px;
}

/* ======================
   Trailer - Fairy
========================= */

.trailer-section {
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: center;
  background: white;
}

.trailer-title {
  font-family: 'Chango', cursive;
  font-size: 52px;
  color: #e65c32; /* orange trailer */
  margin-bottom: 0.5rem;
}

.trailer-subtitle {
  font-family: 'Chango', cursive;
  font-size: 20px;
  color: #f9c233; /* doré clair */
  margin-bottom: 2rem;
}

.video-fairy-wrapper {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.video-mask {
  width: 100%;
  aspect-ratio: auto;      /* ou supprime cette ligne */
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  background: black; /* au cas où la vidéo charge lentement */
}

.trailer-video {
  width: 100%;
  height: auto;        /* <-- plus 100% */
  object-fit: unset;   /* <-- ou "fill" */
  display: block;
  border-radius: inherit;
  background-color: black; /* si la vidéo ne remplit pas tout */
}


/* Fairy animée */
@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.trailer-fairy {
  position: absolute;
  right: -180px;
  bottom: -100px;
  width: 290px;
  z-index: 5;
  pointer-events: none;
  animation: floaty 3.6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .trailer-fairy {
    display: none;
  }
}




/* ============================
   Press Reviews Section
============================= */

.press-title {
  font-family: 'Chango', cursive;
  font-size: 44px;
  color: #177d91; /* turquoise foncé Meetlight */
  margin-bottom: 2.5rem;
}

.press-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  border: 6px solid #e0905e; /* cercle orange clair */
  background-color: white;
  padding: 10px;
  transition: transform 0.3s ease;
}

.press-link:hover .press-logo {
  transform: scale(1.05);
}

.press-source {
  font-family: 'Chango', cursive;
  font-size: 22px;
  margin-bottom: 0;
  color: #333;
}

.press-type {
  font-weight: bold;
  font-size: 17px;
  color: #444;
  margin-bottom: 1rem;
}

.press-quote {
  font-size: 16.5px;
  line-height: 1.9;
  font-style: italic;
  color: #444;
  padding: 0 1rem;
}


.press-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .press-logo {
    width: 100px;
    border-width: 4px;
  }
  .press-title {
    font-size: 36px;
  }
}
/* ======================
   Transition
====================== */
.press-section {
  background: #DDA15E;   /* beige clair */
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* vague blanche entre sanctuary et press */
.press-section::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 140px;
  background: #ffffff;
  border-bottom-left-radius: 100% 140px;
  border-bottom-right-radius: 100% 140px;
  z-index: 0;
}



/* ======================
   Our Team Section
====================== */

.team-section {
  background-color: white;
  padding: 60px 0 120px;
  text-align: center;
}

.team-wrapper {
  position: relative;
  margin-top: 60px;
  padding-top: 200px;; /* espace pour que les cartes débordent au-dessus */
}

.team-yellow-box {
  background-color: #f9c233;
  height: 150px;
  width: 65%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  margin-top: 320px;      /* ↕ distance depuis le texte au-dessus */
}

.team-profiles {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: -440px; /* fait dépasser les cartes vers le haut */
  z-index: 2;
  position: relative;
}

.team-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 240px;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.team-card .team-info {
  padding: 15px 20px;
}

.team-card .team-name {
  font-family: 'Chango', cursive;
  font-size: 20px;
  margin-bottom: 5px;
  color: #1c1c1c;
}

.team-card .team-role {
  font-size: 14px;
  color: #555;
  font-family: 'Raleway', sans-serif;
}

.team-description {
  max-width: 860px;
  margin: 0 auto 60px;
  text-align: justify;
  padding: 0 20px;
  margin-top: 20px;
}


/* ==========================
   Contact Section 
========================== */


.contact-new-section {
  position: relative;
  background-image: url('../img/background.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  overflow: hidden;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), #000814);
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-family: 'Chango', cursive;
  font-size: 32px;
  color: #f9c233; /* Jaune Meetlight */
  margin-bottom: 1.5rem;
}

/* Formulaire */
.contact-form-box {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  font-family: 'Raleway', sans-serif;
  color: #1c1c1c;
  max-width: 650px;
  margin: auto;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 2px solid #e65c32; /* Orange vif */
  background: transparent;
  font-size: 16px;
  color: #1c1c1c;
  margin-bottom: 20px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  font-style: italic;
}

.contact-form .btn.custom-btn {
  background-color: #f9c233;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  transition: background 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}

.contact-form .btn.custom-btn:hover {
  background-color: #DEA05A;
}


/* Faune flottant aligné au bas du formulaire */
.faune-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  animation: floaty 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}


/* Pop up capcha */
.captcha-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.captcha-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-align: center;
  max-width: 350px;
  width: 90%;
}

.captcha-box input {
  margin-top: 10px;
  padding: 10px;
  width: 80%;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.captcha-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.captcha-buttons button {
  background: #ef4b3f;
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.captcha-buttons button:hover {
  background: #d9382d;
}


@media (max-width: 768px) {
  .faune-img {
    display: none;
  }
}

@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.contact-success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f9c233;
  color: #333;
  padding: 24px 32px;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  font-weight: 500;
  z-index: 9999;
  text-align: center;
  max-width: 90%;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}



/* ======================
   Footer - Ombre et bande
====================== */

/* Ombre vers le haut */
.footer-shadow {
  height: 50px;
  margin-bottom: -50px;
  box-shadow: 0 -8px 5px rgba(0, 0, 0, 0.35);
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Bande jaune tout en bas */
.footer-divider {
  height: 30px;
  background-color: #f9c233; /* Jaune Meetlight */
  text-align: center;
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

/* ======================
   Footer - Principal
====================== */
.custom-footer {
  background-color: #060e19; /* bleu nuit foncé */
  color: #fff;
  padding: 50px 0 50px;
  font-family: 'Raleway', sans-serif;
  position: relative;
  z-index: 3;
}

.footer-logo {
  max-height: 220px;
  width: auto;
}

.subscribe-box {
  background: white;
  padding: 32px 48px;
  border-radius: 18px;
  width: 520px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.subscribe-form label {
  display: none;
}

.subscribe-title {
  font-family: 'Chango', cursive;
  font-size: 22px;
  color: #e65c32;
  margin-bottom: 18px;
  text-align: center;
}

.subscribe-form .subscribe-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-bottom: 2px solid #e65c32;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: #333;
}

.subscribe-form button {
  background-color: #e65c32; /* orange cohérent */
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: bold;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.subscribe-form button:hover {
  background-color: #d14f28;
}

.contact-footer-title {
  font-family: 'Chango', cursive;
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-email {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-social-icons a {
  font-size: 24px;
  color: white;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #f9c233;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo {
    max-height: 120px;
    margin-bottom: 20px;
  }
  .subscribe-box {
    max-width: 100%;
  }
  .subscribe-form .subscribe-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe-form button {
    width: 100%;
  }
}

