/* === STYLES GLOBAUX === */
@font-face {
  font-family: 'ADLaM Display';
  src: url('../fonts/ADLaMDisplay-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 9999;
    background-color: #ffffff;
    color: #1e293b;
    border: 2px solid #47fff6;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;

}

.cookie-buttons>* {
    cursor: pointer
}

.cookie-text {
    flex: 1 1 auto;
    font-size: 0.95rem;
}

body.site-body {
    background: #e9feff;
    color: #1e293b;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* === PARALLAXE SECTIONS === */
.parallax-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 1rem 2rem;
    gap: 1.5rem;
    padding-top: 5rem;
}

.parallax-light {
    background-color: rgba(0, 0, 0, 0.6);
}

/* === TITRE + LOGO === */
.floating-header {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 1rem;
    z-index: 10;
    width: calc(100% - 2rem);
    max-width: 900px;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 4rem;
}

.logo-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.5rem;
}

.logo-header {
    width: 110px;
    height: auto;
}

.title-site {
    font-family: 'ADLaM Display', cursive;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.title-1 {
    color: #2592eb;
    font-size: clamp(2.5rem, 4vw, 5rem);
    margin: 0;
}

.title-2 {
    color: #e99536;
    font-size: clamp(1.25rem, 2vw, 3rem);
    margin-top: 0.25rem;
}

.intro {
    font-size: 1rem;
    color: #2592eb;
    font-family: 'ADLaM Display', cursive;
    margin-top: 0.5rem;
}

/* === PRÉSENTATION === */
.presentation {
    font-size: 1.2rem;
    max-width: 40rem;
    line-height: 1.7;
    color: #e2e8f0;
    font-weight: 600;
    text-align: center;
    margin-top: 10rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* === BOUTONS === */
.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #1fb7f8;
    color: white;
}

.btn-primary:hover {
    background-color: #0ea5e9;
}

.btn-secondary {
    background-color: #fb923c;
    color: white;
}

.btn-secondary:hover {
    background-color: #f97316;
}

.scroll-smart-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    background-color: #1fb7f8;
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === AJOUT : mise en page des textes et responsive === */

/* Phrase d’accroche en bleu M&C */
.service-intro {
    font-weight: bold;
    font-size: 1.75rem;
    color: #2592eb; /* bleu M&C */
    margin-top: 0.5em;
    text-align: center;
}

/* Petits textes « Tarif indicatif » */
.devis-text {
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* Ajustements responsive */
@media screen and (max-width: 767px) {
    .service-card {
        margin-bottom: 1.5rem; /* écarte bien les blocs sur mobile */
    }

    .service-intro {
        font-size: 1.3rem; /* réduit un peu la phrase d'accroche sur mobile */
        padding: 0 1rem;   /* évite que ça touche les bords */
    }

    .devis-text {
        font-size: 1.1rem; /* un poil plus grand sur mobile pour lire facilement */
    }

    .max-w-6xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* === SERVICES === */
.services-section {
    background-color: #100020;
    padding: 4rem 1.5rem;
}

.service-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2rem;

    align-items: stretch;
}

.service-card,
.avis-card {
    background-color: #e9feff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(255, 224, 251, 0.699);
    text-align: center;
    border: 1px solid #e28afd;
    display: flex;
    flex-direction: column;
}

.service-icon {
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon .lucide {
    width: 2.5rem;
    height: 2.5rem;
}

.service-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #707070;
}

.service-text {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #334155;
}

.service-price {
    font-size: 0.9rem;
    color: #b45309;
}

.service-card .btn {
    margin-top: auto;
}

/* === BOUTONS INDIVIDUELS PAR SERVICE === */
.btn-atelier {
    background-color: #1a36b6;
    color: white;
}

.btn-atelier:hover {
    background-color: #171080;
}

.btn-support {
    background-color: #a76a0f;
    color: white;
}

.btn-support:hover {
    background-color: #694809;
}

.btn-installation {
    background-color: #b67ee4;
    color: white;
}

.btn-installation:hover {
    background-color: #5b1a91;
}

.btn-maintenance {
    background-color: #15803d;
    color: white;
}

.btn-maintenance:hover {
    background-color: #0e4729;
}

.btn-montage {
    background-color: #c2410c;
    color: white;
}

.btn-montage:hover {
    background-color: #9a360a;
}

/* === BANDEAU : AVANTAGES FISCAUX === */
#avantages-fiscaux {
    background-color: #100020;
    padding: 4rem 1.5rem;
}

#avantages-fiscaux .fisc-card {
    background-color: #e9feff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(255, 224, 251, 0.699);
    border: 1px solid #e28afd;
    max-width: 60rem;
    margin: 0 auto;
}

#avantages-fiscaux .section-title-white {
    font-size: 2.25rem;
    color: #b6b6b6;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
}

#avantages-fiscaux .service-text {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#avantages-fiscaux a {
    color: #1fb7f8;
    font-weight: bold;
    text-decoration: underline;
}

#avantages-fiscaux a:hover {
    color: #0ea5e9;
}


/* === BANDEAU 3 CONTACT === */
.contact-info-banner {
    text-align: center;
    font-size: 2rem;
    line-height: 1.1;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
      margin-bottom: 2.5rem;
}

.titre-intro {
  margin-bottom: 2rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: #b6b6b6;
  text-align: center;
}

.contact-photo-text {
  margin-top: 1.5rem;
}

.contact-info-banner p {
    margin: 0.25rem 0;
    font-size: 1.3rem;
}

.contact-info-banner strong {
    font-weight: bold;
}

.contact-text-block {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-with-photo .profil-img {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.contact-with-photo .contact-photo-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contact-with-photo .contact-text-block {
    text-align: center;
    margin-left: 10rem;
}

.contact-with-photo .profil-img {
    object-position: center top;
    /* 🔄 recentre plus haut */
}


/* === BANDEAU 4 : DÉTAILS ATELIER & TICKETS === */
#atelier-details .details-card {
    background-color: #e9feff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(255, 224, 251, 0.699);
    text-align: center;
    border: 1px solid #e28afd;
    max-width: 60rem;
    margin: 0 auto;
    margin-bottom: 2rem;
}

#atelier-details .section-title-white {
    font-size: 2.25rem;
    color: #b6b6b6;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
}

#atelier-details .section-title {
    font-size: 2rem;
    color: #e99536;
    margin-bottom: 2rem;
    font-weight: 700;
}

#atelier-details .service-text {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* === SURBRILLANCE TEMPORAIRE DES BLOCS DÉTAILS === */

.details-card>div {
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}


.highlight-temp {
    background-color: #fffcc4;
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    animation: fadeOutHighlight 2s ease-out forwards;
}

@keyframes fadeOutHighlight {
    0% {
        background-color: #fffcc4;
        border-color: #ffcc00;
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    }

    100% {
        background-color: transparent;
        border-color: transparent;
        box-shadow: none;
    }
}

/* === AVIS === */
.avis-section {
    background: #100020;
    padding: 4rem 1rem;
}

.avis-container {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
}

.section-title,
.section-title-white {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
    color: #b6b6b6;
}

.avis-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.avis-text {
    font-style: italic;
    color: #15803d;
    margin-bottom: 1rem;
}

.avis-signature {
    font-weight: 600;
    color: #166534;
}

/* === PIED DE PAGE === */
.site-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #334155;
    padding: 0.1rem 0;
    margin-top: 0.1rem;
}

.logo-footer {
    width: 50px;
    margin: 0 auto 0.25rem;
    display: block;
}

/* titres et sous titres style d'ecriture */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'ADLaM Display', cursive !important;
}


/* === PC PORTABLE === */
@media screen and (min-width: 1440px) {
    .title-wrapper {
        margin-top: 4rem;
    }

    .parallax-overlay {
        padding-top: 5rem;
    }

    .presentation {
        font-size: 1.3rem;
    }

    .contact-info-banner p {
        font-size: 1.6rem;
    }

    .section-title,
    .section-title-white {
        font-size: 2.5rem;
    }
}

/* === TABLETTES === */
@media screen and (min-width: 768px) and (max-width: 1439px) {
    .title-wrapper {
        margin-top: 6rem;
    }

    .parallax-overlay {
        padding-top: 6rem;
    }

    .logo-title-container {
        flex-direction: row;
    }

    .logo-header {
        width: 150px;
    }

    .title-1 {
        font-size: 4rem;
    }

    .title-2 {
        font-size: 2rem;
    }

    .intro {
        font-size: 1.2rem;
    }

    .profil-img {
        width: 14rem;
        height: 14rem;
        margin-top: 2rem;
    }
}
  .logo-header {
    width: 200px; /* 🆙 agrandissement tablette et PC */
    transform: translateX(-70px); /* 👈 décalage vers la gauche */
  }

/* === MOBILES === */
@media screen and (max-width: 767px) {
  .floating-header {
    max-width: 80%;
  }

  .logo-title-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-header {
    width: 80px;
    transform: none;
  }

  .title-1 {
    font-size: 1.8rem;
    margin-top: 0;
  }

  .title-2 {
    font-size: 1rem;
    margin-top: 0.1rem;
  }

  .intro {
    font-size: 0.9rem;
    margin-top: 0.1rem;
  }

  .title-wrapper {
    margin-top: 1.5rem;
  }

  .parallax-overlay {
    padding-top: 3rem;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .contact-info-banner .section-title {
    margin-bottom: 0.5rem;
  }

  .contact-info-banner > p {
    margin-bottom: 0.5rem;
  }

  .contact-photo-text {
    margin-top: 0rem;
  }

  .contact-with-photo .profil-img {
    width: 9rem;
    height: 9rem;
    margin-top: 1rem;
  }

  .contact-with-photo .contact-photo-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
  }

  .contact-with-photo .contact-text-block {
    margin-left: 0;
    margin-top: 0.2rem;
    width: 100%;
  }
}

.contact-text-block {
  padding-top: 0.5rem;
}

.contact-text-block {
  padding: 0.5rem 1rem;
}

  .section-title-white {
    font-size: 1.5rem;
  }
