/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY GENERAL */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9; /* Fond très léger */
    color: #073333; /* Texte par défaut couleur principale */
}

/* IMPORTER LA POLICE AUTOMOVE */
@font-face {
    font-family: 'Automove';
    src: url('/police/Automove\ Personal\ Use\ Only.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF';
    src: url('/police/SF\ Automaton\ Oblique.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #073333; /* Couleur principale */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Légère ombre */
}

/* LOGO */
.logo img {
    height: 100px;
}

/* NAVIGATION TEXTS */
.nav-texts {
    display: flex;
    gap: 40px;
}

.nav-texts a {
    font-size: 1rem;
    color: #fff79a; /* Couleur secondaire */
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;
    font-family: 'Automove', sans-serif; /* Police Automove */
}

.nav-texts a:hover {
    color: #ffffff;
}

.nav-texts a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background-color: #fff79a;
    transition: width 0.3s;
    margin: auto;
}

.nav-texts a:hover::after {
    width: 100%;
}

.language-selector {
    position: relative;
}

.language-selector > img {
    height: 40px;
    width: 40px;
    border-radius: 50%; /* rond parfait */
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff79a; /* petite bordure jaune */
    background-color: white;
    transition: transform 0.3s;
}

.language-selector > img:hover {
    transform: rotate(20deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.language-dropdown a {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: white;
    transition: background-color 0.3s;
}

.language-dropdown a:hover {
    background-color: #fff79a;
}

.language-dropdown a img {
    height: 30px;
    width: 40px;
    object-fit: contain; /* pour éviter la déformation */
}


main {
    background-color: #ffffff;
}


/* SECTION ACCUEIL */
.accueil {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #073333;
}

.accueil-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* TEXTE À GAUCHE */
.accueil-text {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accueil-text h1 {
    font-size: 3.5rem;
    color: #ffffff;
    font-family: 'Automove', sans-serif;
    margin-bottom: 20px;
}

.accueil-text h1 span {
    color: #fff79a; /* Couleur secondaire */
}

.accueil-text p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.accueil-text ul {
    list-style: none;
    padding: 0;
}

.accueil-text ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #ffffff;
    position: relative;
    padding-left: 20px;
}

.accueil-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff79a;
    font-size: 1.5rem;
}

/* IMAGE À DROITE */
.accueil-image {
    flex: 1;
    position: relative;
    display: flex; /* ➔ IL FAUT le flex pour pouvoir aligner à droite */
    align-items: center; /* centrer verticalement */
    justify-content: flex-end; /* coller l'image vers la droite */
    height: 100%;
    overflow: hidden;
    padding-right: 0; /* pas de marge */
}

.accueil-image img {
    height: 80%; /* contrôler hauteur uniquement */
    width: auto; /* largeur automatique pour garder proportions */
    object-fit: cover;
    object-position: right center; /* décaler l'image visuellement vers la droite */
    border-radius: 0px; /* optionnel pour des coins arrondis */
}


/* DÉGRADÉ AU MILIEU */
.accueil-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 60%; /* CENTRÉ au milieu */
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(38, 34, 34) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* Pour laisser passer les clics si besoin */
}




/* TITRES */
h1, h2 {
    color: #073333; /* couleur principale */
    margin-bottom: 20px;
}

/* PARAGRAPHES */
p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.section-choisir {
    background-color: #f9f9f9;
    padding: 80px 40px;
    font-family: 'Poppins', sans-serif;
  }
  
  .container-choisir {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
  }
  
  .choisir-left {
    flex: 1;
    min-width: 300px;
  }
  
  .choisir-left .sous-titre {
    color: #073333; /* couleur principale */
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
  }
  
  .choisir-left h2 {
    font-size: 2.5rem;
    color: #073333; /* couleur principale */
    margin-bottom: 20px;
  }
  
  .choisir-left h2 span {
    color: #fff79a; /* couleur secondaire */
    text-shadow: -1px -1px 0 #073333, 1px -1px 0 #073333, -1px 1px 0 #073333, 1px 1px 0 #000; /* Contour noir */

  }
  
  .choisir-left p {
    font-size: 1.1rem;
    color: #073333;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  .btn-choisir {
    display: inline-block;
    background-color: #073333; /* couleur principale */
    color: white;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .btn-choisir:hover {
    background-color: #055353; /* variante plus foncée */
  }
  
  .choisir-right {
    flex: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 300px;
  }
  
  .card-choisir {
    flex: 1;
    background-color: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-width: 240px;
    flex-basis: calc(33.333% - 20px);
    border: 1px solid #eee;
  }
  
  .card-choisir.highlight {
    background-color: #073333; /* couleur principale */
    color: white;
  }
  
  .card-choisir h3 {
    margin-top: 10px;
    font-size: 1.3rem;
    color: inherit;
  }
  
  .card-choisir p {
    margin-top: 10px;
    font-size: 1rem;
    color: inherit;
  }
  
  .icon-check {
    font-size: 2rem;
    color: #073333; /* couleur principale */
    display: inline-block;
  }
  
  .card-choisir.highlight .icon-check {
    color: #fff79a; /* couleur secondaire */
  }
  
  .section-prestations {
    position: relative;
    background: url('/img/beleza-auto-autodel-4-scaled.webp') no-repeat center center/cover;
    padding: 100px 40px;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    z-index: 0;
  }
  
  .section-prestations .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* filtre noir */
    z-index: 1;
  }
  
  .prestations-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .prestations-content .sous-titre {
    font-weight: bold;
    color: #fff79a;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
  }
  
  .prestations-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: rgb(255, 255, 255);  }
  
  .prestations-content h2 span {
    color: #fff79a;
  }
  
  .prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .prestation-card {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #fff79a;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: left;
  }
  
  .prestation-card:hover {
    transform: scale(1.03);
  }
  
  .prestation-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .prestation-info {
    padding: 20px;
  }
  
  .prestation-info .icon {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 10px;
    color: #fff79a;
  }
  
  .prestation-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
  }
  
  .btn-prestation {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 0.9rem;
  }
  
  .btn-prestation.red {
    background-color: #073333;
    color: white;
  }
  
  .btn-prestation.red:hover {
    background-color: #055353;
  }
  
  .btn-prestation.yellow {
    background-color: #fff79a;
    color: #073333;
  }
  
  .btn-prestation.yellow:hover {
    background-color: #eae18a;
  }
  
  .section-contact {
    background-color: #f9f9f9;
    padding: 100px 40px;
    font-family: 'Poppins', sans-serif;
  }
  
  .container-contact {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
  }
  
  .contact-left {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-left .sous-titre {
    font-weight: bold;
    color: #fff79a; /* couleur secondaire */
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
  }
  
  .contact-left h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #073333; /* couleur principale */
  }
  
  .contact-left h2 span {
    color: #fff79a; /* couleur secondaire */
  }
  
  .form-contact {
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
  }
  
  .form-contact label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #073333; /* couleur principale */
  }
  
  .form-contact input,
  .form-contact textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .form-contact textarea {
    resize: vertical;
  }
  
  .form-contact button {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    background-color: #073333; /* couleur principale */
    color: #fff79a; /* couleur secondaire */
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .form-contact button:hover {
    background-color: #055353;
  }
  
  .contact-right {
    flex: 1;
    min-width: 300px;
  }
  
  .info-pratiques {
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .info-pratiques h3 {
    font-size: 1.4rem;
    color: #073333; /* couleur principale */
    margin-bottom: 10px;
  }
  
  .info-pratiques h3 span {
    color: #fff79a; /* couleur secondaire */
    
  }
  
  .info-pratiques ul {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    color: #073333; /* couleur principale */
  }
  
  .info-pratiques ul li {
    margin-bottom: 10px;
  }
  
/* ======= FOOTER BASE ======= */
.footer {
    background-color: #073333;
    color: #fff;
    padding: 60px 30px 30px;
    font-family: 'Poppins', sans-serif;
  }
  
  /* ======= STRUCTURE ======= */
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1;
    min-width: 220px;
  }
  
  /* ======= TITRES ======= */
  .footer-col h3 {
    color: #fff79a;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }
  
  .footer-logo {
    font-size: 1.6rem;
    font-family: 'Automove', sans-serif;
    color: #fff;
  }
  
  .footer-logo span {
    color: #fff79a;
  }
  
  .logo-col p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* ======= LIENS ======= */
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
  
  .footer-col ul li a {
    color: #fff;
    font-size: 0.85rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-col ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #fff79a;
    transition: width 0.3s ease;
  }
  
  .footer-col ul li a:hover {
    color: #fff79a;
  }
  
  .footer-col ul li a:hover::after {
    width: 100%;
  }
  
  /* ======= HR & BOTTOM ======= */
  hr {
    margin: 30px auto;
    border: none;
    height: 1px;
    background: #fff79a;
    width: 90%;
    opacity: 0.3;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
    color: #fff79a;
  }
  
  /* ======= RÉSEAUX ======= */
  .social-icons a {
    margin-left: 15px;
    font-size: 1.2rem;
    color: red;
    transition: transform 0.3s;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
  }
  
  /* ======= BOUTON TÉLÉPHONE ======= */
  .floating-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #073333;
    color: white;
    font-size: 1.4rem;
    padding: 15px;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .floating-phone:hover {
    background-color: #373737;
    transform: scale(1.1);
  }

  .floating-phone i {
    color: #fff79a;
    font-size: 1.2rem;
  }
  
  /* =================== RESPONSIVE =================== */

/* Smartphones et petits écrans */
@media screen and (max-width: 768px) {

  .header {
    flex-direction: column;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  .nav-texts {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .logo img {
    height: 70px;
  }

  .language-selector {
    margin-top: 15px;
  }

  .accueil-container {
    flex-direction: column;
    padding: 20px;
  }

  .accueil-text {
    padding: 40px 20px;
    text-align: center;
  }

  .accueil-text h1 {
    font-size: 2.2rem;
  }

  .accueil-image {
    justify-content: center;
    padding: 0;
    margin-top: 20px;
  }

  .accueil-image img {
    height: auto;
    width: 90%;
  }

  .section-choisir {
    padding: 60px 20px;
  }

  .container-choisir {
    flex-direction: column;
    align-items: center;
  }

  .choisir-left, .choisir-right {
    width: 100%;
  }

  .card-choisir {
    flex-basis: 100%;
    min-width: unset;
  }

  .section-prestations {
    padding: 60px 20px;
  }

  .prestations-content h2 {
    font-size: 1.8rem;
  }

  .prestations-grid {
    grid-template-columns: 1fr;
  }

  .section-contact {
    padding: 60px 20px;
  }

  .container-contact {
    flex-direction: column;
  }

  .contact-left, .contact-right {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .floating-phone {
    right: 15px;
    bottom: 15px;
    padding: 12px;
  }

}
/* ========== BURGER MENU ========== */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #fff79a;
  transition: 0.3s;
}

/* ======= Responsive ======= */
@media screen and (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-texts {
    position: absolute;
    top: 100px;
    right: 0;
    background-color: #073333;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    transition: all 0.3s ease;
  }

  .nav-texts.active {
    display: flex;
  }

  .nav-texts a {
    font-size: 1.2rem;
  }
}
/* Masquer sélecteur sur mobile */
.desktop-only {
  display: block;
}

@media screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
  }

  .burger span {
    width: 25px;
    height: 3px;
    background-color: #fff79a;
    transition: 0.3s;
  }

  .nav-texts {
    position: absolute;
    top: 100px;
    right: 0;
    background-color: #073333;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-texts.active {
    display: flex;
  }

  .nav-texts a {
    font-size: 1.2rem;
    color: #fff79a;
  }
}
