/*
marron foncé : #541A0E
marron clair : #EFD8B8
fond écran : #F8F3ED

marron chaud bouton pizza : #8b5e3c
marron header/hover : #6f472f
encadré PIZZA TRADIZIONALE : #d2b48c
crème background global : #f5f1eb
*/

/* IMPORT POLICE STYLE LOGO */
  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');
  
*{
  box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
  }
  
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #541A0E;
  }

/********* section menu ********/
  /* NAVBAR */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: #541A0E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
  }

  .logo img {
    height: 70px;
    object-fit: contain;
  }

  .nav-center {
    display: flex;
    gap: 30px;
  }

  .nav-center a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    position: relative;
  }

  /* Animation underline orange */
  .nav-center a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: orange;
    transition: 0.3s;
  }

  .nav-center a:hover::after {
    width: 100%;
  }

  /* Bouton appel */
  .call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: #541A0E; /* vert appel : #00C853 */
    border: 2px solid #EFD8B8;
    color: #EFD8B8;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
  }
  /* Hover */
  .call-btn:hover {
    background: #EFD8B8; 
    border: 2px solid #541A0E;
    color: #541A0E;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  }
  /* Icône */
  .call-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
  }
  .call-btn svg:hover {
    fill: #541A0E;
  }
  
  /* BURGER */
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
  }

  /* MOBILE MENU */
.mobile-menu {
  position: fixed; /* ← change absolute → fixed */
  top: 70px;
  left: 0;
  width: 100%;
  background: #EFD8B8;
  color: #541A0E;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  max-height: 400px; /* hauteur suffisante */
}

.mobile-menu a {
  width: 100%;
  padding: 15px;
  border-top: 1px solid #222;
  color: #541A0E;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: #541A0E;
  color: #EFD8B8;;
}

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .nav-center,
    .cta {
      display: none;
    }

    .menu-toggle {
      display: flex;
    }
  }

/********* section bandeau d'annonce exceptionnelle ********/
<!-- BANDEAU FERMETURE PREMIUM -->
  .closure-banner {
    position: relative;
    top: 80px; /* hauteur navbar */
    left: 0;
    width: 100%;
    z-index: 999;

    background:
      linear-gradient(
        90deg,
        #ff5a00,
        #ff7b00,
        #ff9500,
        #ff6a00
      );

    box-shadow:
      0 6px 25px rgba(0,0,0,0.35),
      inset 0 2px 0 rgba(255,255,255,0.15);

    overflow: hidden;
  }

  /* lumière orange */
  .closure-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;

    background:
      linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.18),
        transparent
      );

    transform: skewX(-25deg);

    animation: shine 7s linear infinite;
  }

  @keyframes shine {
    from {
      left: -120%;
    }
    to {
      left: 180%;
    }
  }

  .closure-inner {
    max-width: 1500px;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    padding: 22px 20px;
  }

  /* icones */
  .fire-icon {
    font-size: 40px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(255,180,0,0.5));
  }

  @keyframes pulse {
    0%,100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.15);
    }
  }

  /* CADRE INVITATION */
  .closure-card {
    background:
      linear-gradient(
        180deg,
        rgba(255,245,230,0.97),
        rgba(255,236,210,0.96)
      );

    border: 2px solid rgba(140,70,20,0.25);

    border-radius: 18px;

    padding: 18px 40px;

    text-align: center;

    box-shadow:
      0 8px 20px rgba(0,0,0,0.2),
      inset 0 1px 0 rgba(255,255,255,0.6);

    position: relative;
  }

  /* texture légère papier */
  .closure-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
      radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);

    background-size: 5px 5px;

    border-radius: 18px;

    pointer-events: none;
  }

  .mini-title {
    color: #9b4f10;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .closure-card h2 {
    margin: 0 0 10px;
    font-size: 34px;
    color: #5e2d0c;
    line-height: 1.1;
  }

  .closure-card p {
    margin: 0;
    font-size: 19px;
    color: #5a2d17;
    line-height: 1.5;
  }

  .closure-card strong {
    color: #8f2f00;
  }

  .closure-card span {
    color: #d35400;
    font-weight: bold;
    font-size: 22px;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {

    .closure-banner {
      top: 70px;
    }

    .closure-inner {
      gap: 12px;
      padding: 16px 10px;
    }

    .fire-icon {
      font-size: 28px;
    }

    .closure-card {
      padding: 15px 20px;
    }

    .closure-card h2 {
      font-size: 24px;
    }

    .closure-card p {
      font-size: 15px;
    }

    .closure-card span {
      font-size: 18px;
    }
  }

  @media (max-width: 600px) {

    .closure-inner {
      flex-direction: column;
    }

    .fire-icon {
      display: none;
    }

    .closure-card h2 {
      font-size: 22px;
    }
  }


/********* section accueil  ********/
  /* HERO */
  .hero {
    padding: 180px 20px 100px;
    margin-top: 70px;
    height: 100svh;
    background: url('images/accueil.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
   }
  .hero h1 {
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #EFD8B8;
  } 
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
  }

  .content {
    position: relative;
    text-align: center;
    color: white;
  }

  /* BOUTONS CENTRAUX */
  .buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #EFD8B8;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }
  .btn:hover {
    background: #EFD8B8;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,165,0,0.4);
  }

  @media (max-height: 500px) and (orientation: landscape) {

  .hero {
    padding-top: 140px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-overlay {
    gap: 20px;
  }

  .closure-card-hero {
    padding: 18px 25px;
  }

  .closure-card-hero h2 {
    font-size: 24px;
  }

  .closure-card-hero p {
    font-size: 14px;
    line-height: 1.4;
  }

  .closure-card-hero span {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
  

/********* section carte ********/
  /* boutons pizzas, pastas... */
    .btn2 {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 18px;
        border: none;
        cursor: pointer;
        background-color: #ffffff;
        border-radius: 14px;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        color: #541A0E;
        transition: 0.25s;
    }

    .btn2:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    }

    .btn2.active {
        background-color: #d2b48c;
        color: #541A0E;
    }

    .btn2 svg {
        width: 28px;
        height: 28px;
    }
    
  /* Bannière promo */
  .promo-banner {
    max-width: 1100px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin: auto;
    background: linear-gradient(90deg, #ff7a18, #ffb347);
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
  }

  /* Animation légère */
  .promo-banner p {
    margin: 0;
    animation: slideFade 1s ease;
  }

  @keyframes slideFade {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* effet hover subtil */
  .promo-banner:hover {
    filter: brightness(1.1);
  }

  /* responsive */
  @media (max-width: 600px) {
    .promo-banner {
      font-size: 14px;
      padding: 10px;
    }
  }
  /*** Fin bannière ****/

  /* Sections */
  .section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
  }
  /* Section visible */
  .section.active {
    display: block;
  }
  
  .menu-section {
    padding: 60px 20px;
    background: #f5f1eb;
    text-align: center;
  }

  .menu-section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
  } 

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

/* ----- 1 élément ----- */
.menu-grid:has(> :only-child) > :first-child {
  grid-column: 2 / 4; /* centré */
  max-width: 250px;   /* limite largeur */
  justify-self: center;
}

/* ----- 2 éléments ----- */
.menu-grid:has(> :nth-of-type(2):last-of-type) > :nth-of-type(1) {
  grid-column: 2;
}

.menu-grid:has(> :nth-of-type(2):last-of-type) > :nth-of-type(2) {
  grid-column: 3;
}

/* ----- 3 éléments ----- */
.menu-grid:has(> :nth-of-type(3):last-of-type) > :nth-of-type(1) {
  grid-column: 1;
}

.menu-grid:has(> :nth-of-type(3):last-of-type) > :nth-of-type(2) {
  grid-column: 2;
}

.menu-grid:has(> :nth-of-type(3):last-of-type) > :nth-of-type(3) {
  grid-column: 3;
}

/* (optionnel) taille homogène */
.menu-grid > * {
  width: 100%;
}

/* ===== TABLETTE ===== */
@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* reset des positions */
  .menu-grid > * {
    grid-column: auto !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 500px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

  .card {
    background: white;
    max-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
  }

  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  .card img {
    width: 100%;
    height: 200px;  
    object-fit: cover;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    margin: 10px 0;
  }

  .card-content p {
    font-size: 14px;
    color: #555;
  }

  .price {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #541A0E;
    font-size: 18px;
  }  
  
  .drink-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
  }

  .drink-section h2 {
    margin-bottom: 30px;
  }

  .drink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
  }

  .drink-card {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
  }

  .drink-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .drink-card img {
    width: 80px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
  }

  .drink-content {
    text-align: left;
  }

  .drink-content h3 {
    margin: 0;
    font-size: 16px;
  }

  .drink-content p {
    margin: 5px 0;
    font-size: 13px;
    color: #555;
  }

  .price {
    font-weight: bold;
    color: orange;
    font-size: 15px;
  }

  /* MOBILE */
  @media (max-width: 500px) {
    .drink-card {
      flex-direction: row;
    }

    .drink-card img {
      width: 70px;
      height: 120px;
    }
  } 
/********* section midi ********/

  .tarif-luxe {
    background: linear-gradient(180deg, #3b2418, #2a1a12);
    padding: 70px 20px;
    color: #f5f5f5;
    text-align: center;
    font-family: 'Playfair Display', serif;
  }

  .tarif-container {
    max-width: 950px;
    margin: auto;
    display: flex;
    gap: 40px;
  }

  .tarif-box {
    background: #f1e3d3;
    color: #3b2418;
    padding: 30px 25px;
    border-radius: 12px;
    flex: 1;

    background-image:
      radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
      radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);

    box-shadow:
      inset 0 0 30px rgba(0,0,0,0.15),
      0 8px 25px rgba(0,0,0,0.3);
  }

  .gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f5e6a5);
    margin: 0 auto 15px;
  }

  .tarif-box h3 {
    margin-bottom: 20px;
    font-size: 20px;
  }

  /* LIGNE */
  .tarif-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(59,36,24,0.5);
    margin: 8px 0;
  }

  .label {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tarif-price {
    font-weight: bold;
    font-size: 20px;
    color: #3b2418;
  }

  /* RESPONSIVE */
  @media (max-width: 700px) {
    .tarif-container {
      flex-direction: column;
      gap: 30px;
    }
  }

  
   
/********* sur place ********/ 

   .image-section {
    background: url("images/place0.jpg") center/cover no-repeat;
    padding: 60px 20px;
  }

  /* léger assombrissement pour lisibilité */
  .overlay {
    background: rgba(0,0,0,0.4);
    padding: 30px;
    color: #f5f5f5;
    text-align: center;
    font-family: 'Playfair Display', serif;
  }

  .row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }

.img-box {
 /* width: 100%;
  aspect-ratio: 1 / 1;  carré propre (ou 4/3 si tu préfères) */
  flex: 1;
  overflow: hidden;
}  

.img-box img {
  /* width: 100%;
  height: 100%;
  object-fit: cover;  remplit sans casser le layout */
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Smartphone portrait */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
    gap: 20px;
  }

  .img-box {
    width: 100%;
  }
}

/********* section google et réseaux sociaux ********/
 /* section */
  .info-section {
    background: linear-gradient(180deg, #2b2b2b, #1a1a1a);
    padding: 10px 10px;
    color: white;
  }

  .info-container {
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .info-box {
    flex: 1;
    text-align: center;
    position: relative;
  }

  .info-box:hover {
    /*transform: translateY(-5px);*/
  }

  .info-box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
  }

  /* NOTE GOOGLE */
  /* ⭐ ÉTOILES PREMIUM */
  .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .stars {
    position: relative;
    font-size: 22px;
    /*color: #444;*/
    color: #fbbc05; /* jaune Google */
    letter-spacing: 2px;
  }

  .stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 96%; /* pour 4.8 */
    overflow: hidden;
    color: #fbbc05;
  }

  .score {
    font-size: 18px;
    font-weight: bold;
  }
 
  /* ICONES */
  .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .social-icons img {
    width: 50px;
    transition: 0.3s;
  }


  /* ICONES */
  .icons {
    display: flex;
    justify-content: center;
    gap: 25px;
  }

  .icons img {
    width: 50px;
    transition: 0.3s;
  }

  .icons svg {
    width: 42px;
    height: 42px;
    transition: 0.3s;
  }

  /* Animation hover */
  .icons img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(255,165,0,0.5));
  }
  /* variante Animation hover */
  .social-icons img:hover {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.2);
  }

  /* SÉPARATEUR VERTICAL */
  .divider {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #777, transparent);
    align-self: center;
    opacity: 0.6;
  } 
  
  /* RESPONSIVE */
  @media (max-width: 800px) {
    .info-container {
      flex-direction: column;
      gap: 5px; /* ↓ réduit l’espace entre blocs */
    }
    .divider {
      width: 80%;
      height: 1px;
      margin: 5px auto; /* ↓ moins d’espace autour */
      background: linear-gradient(to right, transparent, #666, transparent);
    }
  }  

  
/********* section contact et infos ********/

  .contact-section {
    padding: 60px 20px;
    background: #f5f1eb;
    text-align: center;
  }

  .contact-section h2 {
    margin-bottom: 40px;
  }

  .contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }

  .contact-info,
  .contact-form,
  .contact-map {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .contact-info h3,
  .contact-form h3 {
    margin-top: 0;
  }

  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #541A0E;
    font-size: 14px;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border: 2px solid #541A0E;
    box-shadow: 0 0 5px rgba(255,165,0,0.5);
  } 

  .contact-form textarea {
    min-height: 100px;
    border: 1px solid #541A0E;
    resize: none;
  }

  .contact-form button {
    background: #541A0E;
    border: none;
    padding: 10px;
    color: #EFD8B8;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
  }

  .contact-form button:hover {
    background: #EFD8B8; 
    border: 2px solid #541A0E;
    color: #541A0E;
  }

  .contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: none;
    border-radius: 10px;
  }

.form-message {
  margin-top: 10px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  color: green;
}

.form-message.error {
  color: red;
}  


/********* section footer ********/
  /* style footer */

  .footer-luxe {
    background: #0b0b0b;
    color: #cfcfcf;
    font-size: 13px;
    padding: 20px 0;
    position: relative;
  }

  .footer-line {
    position: absolute;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
  }

  .footer-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
  }

  /* TEXTE LOGO */
  .footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer-left img {
    height: 52px;
    filter: brightness(0.9);
  }
  .footer-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 22px;
    color: #888;
    letter-spacing: 1px;
  }

  /* ICONES */
  .footer-icons {
    display: flex;
    gap: 25px;
  }

  .footer-icons p {
    color: #888;
  }
  .icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
  }

  .icon-box svg {
    width: 24px;
    height: 24px;
    fill: #777;
    transition: 0.3s;
  }

  /* Hover luxe */
  .icon-box:hover {
    border: 1px solid #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,0.6);
  }

  .icon-box:hover svg {
    fill: #d4af37;
  }

  .footer-right {
    color: #888;
    white-space: nowrap;
  }

  /* RESPONSIVE */
  @media (max-width: 700px) {
    .footer-container {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
  }

  /* style pour titres et textes */
  .type-carte {
    font-weight: normal;
    padding-top: 50px;
    padding-bottom: 10px; 
    text-align: center; 
    color: #541A0E;
  } 
  .type-carte-bgcolor {
    background-color: #d2b48c;
    border-radius: 10px;
    padding: 10px;
  } 

/* Section notre histoire */
.history {
    height: 100vh;
    background: url('images/fiamma2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.history::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #0d0d0d);
}

.history h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    z-index: 2;
    text-align: center;
}

/* SECTION */
.section-history {
    max-width: 900px;
    margin: auto;
    padding: 80px 20px;
}

.section-history p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.section-history p.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem !important;
    color: #EFD8B8;
}

/* IMAGE FULL WIDTH */
.full-image {
    height: 65vh;
    background: url('images/fiamma6.jpg') top / cover no-repeat;
    margin: 20px 20px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .full-image {
        background-position: top;
        margin: 20px 0;
        height: 55vh;
    }
}

/* VIDEO */
/* BASE (mobile) */
.video-section-history {
    display: flex;
    flex-direction: column; /* empilé */
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

.video-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem !important;
    color: #EFD8B8;
    text-align: center;
}

/* VIDEO */
.video-section-history video {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* 💻 DESKTOP / TABLETTE */
@media (min-width: 500px) {

    .video-section-history {
        flex-direction: row; /* côte à côte */
        height: 100vh;
        padding: 0 80px;
        gap: 60px; /* espace entre titre et vidéo */
    }

    .video-title {
        flex: 1;
        font-size: 2rem !important;
        color: #EFD8B8;
        text-align: left;

        /* centrage vertical parfait */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-section-history video {
        flex: 1;
        max-height: 80vh;
        width: auto;
    }
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 15px;
    transition: 0.4s;
}

.gallery img:hover {
    transform: scale(1.05);
}
  
/********* annexes ********/
/* pour agrandir une image au clic dessus */
/* BOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

  /* style pour ligne de sépartion horizontale */
  hr {
    border: solid #FFFFF1;
    border-width: 1px 0 0;
    clear: both;
    margin: 1.25rem 0 1.1875rem;
    height: 0; }  
  
  /* ligne de sépartion horizontale simple pointillée */
  hr.style-three {
    border: 0;
    border-bottom: 1px dashed #FFFFF1;
    background: #999;
  } 
  /* ligne de sépartion horizontale dégradée */
  hr.style-two {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(253,205,7,0), rgba(253,205,7,0.75), rgba(253,205,7,0));
    background-image:    -moz-linear-gradient(left, rgba(253,205,7,0), rgba(253,205,7,0.75), rgba(253,205,7,0));
    background-image:     -ms-linear-gradient(left, rgba(253,205,7,0), rgba(253,205,7,0.75), rgba(253,205,7,0));
    background-image:      -o-linear-gradient(left, rgba(253,205,7,0), rgba(253,205,7,0.75), rgba(253,205,7,0));
  }
  /* ligne de sépartion horizontale avec motif à gauche et à droite */
  hr.style-seven {
    height: 30px;
    border-style: solid;
    border-color: #000001;
    border-width: 1px 0 0 0;
    border-radius: 20px;
  }
  hr.style-seven:before { /* Not really supposed to work, but does */
    display: block;
    content: "";
    height: 30px;
    margin-top: -31px;
    border-style: solid;
    border-color: #FFFFF1;
    border-width: 0 0 1px 0;
    border-radius: 20px;
  }