/* Déclaration des polices personnalisées */
@font-face {
    font-family: 'ImpactLD';
    src: url('fonts/Impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HagridTextFin';
    src: url('fonts/hagrid-thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ArialNovaLeger';
    src: url('fonts/arial-nova-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Variables de couleur de la charte */
:root {
    --black: #000000;
    --dark-gray: #2b2b2b;
    --beige: #d6d4c4;
    --light-beige: #ebebe6;
    --max-width: 1200px;
    --radius: 8px;
}

/* Reset simple */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'ArialNovaLeger', 'Arial Nova', Arial, sans-serif;
    font-weight: normal;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-beige);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Global layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header / Nav : SUPPRIMÉ */
.header,
.header-inner,
.header-logo {
    display: none !important;
}

/* Hero */
.hero {
    min-height: 80vh;
    height: auto;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beige);
    background: url('hero-bg.jpg') no-repeat center center / cover;
    background-color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}

.logo,
.logo .logo-small {
    display: none !important;
}

.hero-sub {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 18px;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 28px;
    display: inline-block;
    text-decoration: none;
    background: var(--beige);
    color: var(--dark-gray);
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.transparent-cta {
    background: transparent;
    border: 2px solid var(--dark-gray);
    color: var(--dark-gray);
    padding: 10px 18px;
    font-size: 13px;
    box-shadow: none;
    font-weight: normal;
    letter-spacing: 1px;
    margin-top: 18px;
}

.about .hero-cta,
.video-section .hero-cta {
    background: var(--dark-gray);
    color: var(--beige);
}

/* Section titles */
.section {
    padding: 90px 0 40px 0;
    width: 100%;
}

.section:first-of-type {
    padding-top: 100px;
}

.section .title {
    font-family: 'ImpactLD', Impact, sans-serif;
    font-size: 72px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 0px;
}

.section .subtitle {
    font-family: 'HagridTextFin', sans-serif;
    font-size: 36px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--dark-gray);
    margin-top: -30px;
    text-align: center;
}

/* About */
.about {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    margin-top: 28px;
    padding: 0 15px;
}

.about p {
    font-size: 21px;
    color: var(--dark-gray);
    line-height: 1.6;
    padding: 0 10px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact .card {
    padding: 0;
}

.about-image-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding: 0 15px;
}

.service {
    background: white;
    padding: 30px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service h4 {
    font-family: 'HagridTextFin', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service h4::before {
    content: "";
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-color: var(--beige);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Icônes pour PRESTATIONS */
.services-grid .service:nth-child(1) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.services-grid .service:nth-child(2) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.services-grid .service:nth-child(3) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12C21 10.34 19.66 9 18 9z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12C21 10.34 19.66 9 18 9z'/%3E%3C/svg%3E");
}

/* Icônes pour NOTRE DEMARCHE */
#demarche .services-grid .service:nth-child(1) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z'/%3E%3Cpath d='M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z'/%3E%3Cpath d='M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E");
}

#demarche .services-grid .service:nth-child(2) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
}

#demarche .services-grid .service:nth-child(3) h4::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.service p {
    font-size: 15px;
    color: var(--dark-gray);
    opacity: 0.95;
    padding: 0 5px;
}

.service .meta {
    margin-top: 14px;
    font-weight: 700;
    color: var(--dark-gray);
}

/* Message clé avec carrousel d'images en bandeau pleine largeur */
.key-message-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 130px;
    margin-bottom: -30px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-message-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.key-message-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.key-message-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: blur(0px);
}

.key-message-carousel img.active {
    opacity: 1;
}

.key-message-carousel img.Carouselphoto2 {
    object-position: center 30%; 
}

.key-message-carousel img.Carouselphoto3 {
	object-position: center 30%;
}

.key-message {
    position: relative;
    z-index: 3;
    background: radial-gradient(ellipse at center, rgba(43, 43, 43, 0.3) 0%, rgba(43, 43, 43, 0.1) 60%, rgba(43, 43, 43, 0) 100%);
    padding: 50px 45px;
    border: none;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 20px;
}

.key-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 0%, black 40%, rgba(0,0,0,0.4) 60%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, black 40%, rgba(0,0,0,0.4) 60%, transparent 75%);
}

.key-message .lead:first-child {
    font-family: 'HagridTextFin', sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 20px;
    padding: 0;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.key-message .lead {
    font-family: 'ArialNovaLeger', Arial, sans-serif;
    font-size: 18px;
    color: var(--beige);
    line-height: 1.7;
    padding: 0;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.key-message .kv {
    font-family: 'ImpactLD', Impact, sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--beige);
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Ajustement mobile */
@media (max-width: 768px) {
    .key-message-wrapper {
        min-height: 55vh;
        margin-top: 60px;
        margin-bottom: 0px;
    }
    
    .key-message {
        padding: 35px 25px;
        margin: 0 15px;
    }
    
    .key-message .kv {
        font-size: 28px;
    }
    
    .key-message .lead:first-child {
        font-size: 22px;
    }
    
    .key-message .lead {
        font-size: 16px;
    }
}

/* Section vidéo inversée */
.video-section {
    background: transparent;
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 15px;
}

.video-card {
    background: white;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 350px;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(5px);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 26px;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  width: 80%;
}

.text-slide {
  font-family: 'HagridTextFin', Impact, sans-serif; /* Police personnalisée */
  font-size: 20px; /* Ajuste selon le rendu souhaité */
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
}

.text-slide.active {
  opacity: 1;
}

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

.video-content p {
    font-size: 21px;
    color: var(--dark-gray);
    line-height: 1.6;
    padding: 0 10px;
    margin-bottom: 50px; /* Ajoute l'espace entre les paragraphes */
}

.video-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .video-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-content {
        text-align: center;
    }
    
    .video-card {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-grid {
        gap: 20px;
        padding: 0 10px;
        margin-top: 80px !important;
    }
    
    .video-content p {
        font-size: 16px;
    }
    
    .video-card {
        min-height: 250px;
        margin-bottom: 70px;
    }
    
    /* Espace entre le CTA et l'image sur mobile */
    .about .center-cta {
        margin-bottom: 60px;
    }
    
    /* Bloquer le scroll vertical pendant le swipe du carousel sur mobile */
    .carousel-container {
        touch-action: pan-x; /* Autorise uniquement le scroll horizontal */
    }
    
    body.carousel-swiping {
        overflow: hidden; /* Bloque le scroll de la page pendant le swipe */
    }
}

/* CARROUSEL TÉMOIGNAGES */
.testimonials-grid {
    display: none !important;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    position: relative;
    overflow: visible;
}

.carousel-track {
    display: flex;
    width: max-content;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: visible;
}

.testimonial-card {
    width: 400px;
    padding: 30px;
    margin: 0 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    font-style: italic;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.5;
    transform: scale(0.85);
    flex-shrink: 0;
    overflow: visible;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.testimonial-card.side {
    opacity: 0.7;
    transform: scale(0.95);
    z-index: 5;
}

.testimonial-card.hidden {
    opacity: 0;
    pointer-events: none;
}

.testimonial-card .who {
    margin-top: 12px;
    font-weight: 700;
    color: var(--dark-gray);
}

/* CONTACT */
.contact {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--beige);
    padding-top: 30px;
    padding-bottom: 80px;
    border-radius: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    margin-top: 20px;
    align-items: start;
}

.contact-title {
    color: var(--beige) !important;
    text-align: left !important;
    grid-column: 1 / span 2;
    padding-left: 20px;
}

.contact-subtitle {
    color: var(--beige) !important;
    text-align: left !important;
    grid-column: 1 / span 2;
    margin-top: -30px !important;
    margin-bottom: 20px;
    padding-left: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 8px;
    grid-column: 1 / span 1;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    grid-column: 2 / 3;
    margin-top: 0;
    align-self: start;
}

.contact-form label {
    display: block;
    margin-top: 12px;
    margin-bottom: 8px;
    color: var(--beige);
}

.contact-form label:first-of-type {
    margin-top: 0;
}

.contact-info {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info::before {
    content: "";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: var(--beige);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.contact-info.phone::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.contact-info.email::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(214, 212, 196, 0.3);
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-family: 'ArialNovaLeger', Arial, sans-serif;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 15px;
}

.input:focus,
textarea:focus {
    outline: none;
    border-color: var(--beige);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    background: var(--beige);
    color: var(--dark-gray);
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.18s ease;
    font-family: 'ArialNovaLeger', Arial, sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--beige);
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.footer small {
    display: block;
    color: var(--beige);
    font-size: 13px;
    line-height: 1.4;
}

/* Utilities */
.kv {
    color: var(--dark-gray);
    font-weight: 700;
}

.lead {
    font-size: 21px;
    color: var(--dark-gray);
    opacity: 0.95;
    padding: 0 10px;
}

/* Classe pour phrase impactante avec police Impact */
.impact-phrase {
    font-family: 'ImpactLD', Impact, sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
    font-weight: bold;
    line-height: 1.3;
}

.mt-100 { margin-top: 100px; }

@media (max-width: 768px) {
    .impact-phrase {
        font-size: 24px !important;
        letter-spacing: 1px;
    }
}

.mt-100 { margin-top: 100px; }
.mt-60 { margin-top: 100px; }
.mt-30 { margin-top: 30px; }
.mt-15 { margin-top: 15px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.max-w-580 { max-width: 580px; margin-left: auto; margin-right: auto; }
.max-w-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.center-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* LANGUAGE SWITCHER */
.language-switcher {
    display: flex;
    flex-direction: row;
    gap: 8px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 28px;
    border-radius: 2px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    background: transparent !important;
    padding: 0 !important;
}

.lang-btn:hover {
    transform: scale(1.1);
}

.lang-btn.active {
    border: none;
}

.flag-icon {
    width: 36px;
    height: 25px;
    object-fit: contain;
    border-radius: 2px;
    display: block;
}

/* ========================================= */
/* RESPONSIVE OPTIMISÉ MOBILE               */
/* ========================================= */

/* Tablette */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid > div:first-child {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section {
        padding: 80px 0 70px 0;
    }

    .section:first-of-type {
        padding-top: 60px;
    }

    .section .title {
        font-size: 60px;
    }

    .section .subtitle {
        font-size: 30px;
        margin-top: -20px;
    }

    .hero {
        padding: 100px 20px;
        min-height: 70vh;
    }

    .hero-logo {
        max-width: 180px;
    }

    .carousel-container {
        padding: 30px 15px;
        margin: 60px auto;
    }

    .testimonial-card {
        width: 350px;
        padding: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    .container {
        padding: 0 20px;
        max-width: 100vw;
    }

    /* Language Switcher Mobile */
    .lang-btn {
        width: 38px;
        height: 27px;
    }
    
    .flag-icon {
        width: 34px;
        height: 24px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 60vh;
        height: 60vh;
        padding: 60px 20px;
        background-position: center center;
        background-size: cover;
    }

    .hero-logo {
        max-width: 150px;
    }

    .hero-sub {
        font-size: 14px;
        letter-spacing: 2px;
        margin-top: 15px;
        line-height: 1.6;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* Sections Mobile */
    .section {
        padding: 90px 0 0px 0;
        overflow-x: hidden;
    }

    .section:first-of-type {
        padding-top: 40px;
    }

    .section .title {
        font-size: 40px;
        line-height: 1.2;
        padding: 0 10px;
    }

    .section .subtitle {
        font-size: 20px;
        margin-top: -15px;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* About Mobile */
    .about-grid {
        gap: 20px;
        padding: 0 10px;
        margin-top: 70px !important;
    }

    .about p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .lead {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .about-image-card {
        min-height: 250px;
    }

    .card {
        padding: 20px;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        margin-top: 70px !important;
    }

    .service {
        padding: 20px;
    }

    .service h4 {
        font-size: 18px;
    }

    .service p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 5px;
    }

    .mt-100 { margin-top: 50px; }
    .mt-60 { margin-top: 30px; }

    .transparent-cta {
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Carousel Mobile - VERSION SIMPLIFIÉE ET VISIBLE */
    .carousel-container {
        max-width: 100vw;
        width: 100%;
        padding: 60px 0;
        margin: 0px 0;
        overflow: hidden;
        position: relative;
    }

    .carousel-track {
    display: flex !important;
    width: max-content !important;
    overflow: visible;
    will-change: transform;
    padding: 20px 0;
    }

    .testimonial-card {
        min-width: 85vw;
        max-width: 85vw;
        width: 85vw;
        padding: 25px 20px;
        margin: 0 7.5vw;
        font-size: 14px;
        line-height: 1.6;
        flex-shrink: 0;
        background: white;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 1;
        transform: scale(1);
        transition: all 0.3s ease;
    }

    .testimonial-card.active {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .testimonial-card.side {
        opacity: 0.6;
        transform: scale(0.98);
    }

    .testimonial-card.hidden {
        opacity: 0.3;
    }
    
    .testimonial-card .who {
        margin-top: 12px;
        font-weight: 700;
        font-style: normal;
    }

    /* Contact Mobile - CORRECTION MAJEURE */
    .contact {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .contact .container {
        padding: 0 20px;
    }

    .contact > .container > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100%;
    }

    .contact > .container > div > div {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: auto !important;
    }

    #contact-form-container,
    #thank-you-card,
    .contact .card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 !important;
    }

    .contact .title {
        font-size: 36px !important;
        text-align: center !important;
        line-height: 1.2;
    }

    .contact .subtitle {
        font-size: 18px !important;
        text-align: center !important;
        margin-top: -10px !important;
        line-height: 1.5;
    }

    .contact-form {
        padding: 20px !important;
    }

    .input,
    textarea {
        font-size: 16px;
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    /* Footer Mobile */
    .footer {
        padding: 20px;
        overflow-x: hidden;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer-logo {
        max-width: 60px;
    }

    .footer small {
        font-size: 11px;
        padding: 0 10px;
        word-break: break-word;
        line-height: 1.5;
    }
    
}