:root{
    --color1: rgb(210,92,46);
    --color_titre: #275c41;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
}
*::selection{
    background-color:#158a15;
}

a{
    text-decoration: none;
    color: black;
}

#header{
    display: flex;
    justify-content: space-between;
    /* background-color:green; */

}
/* #logo-part div{
    position: absolute;
    top:50px;
    left: 70px;
    height: 180px;
    width: 160px;
    background-color: var(--color1);
    border-radius: 5px;

    position: relative;
    border: 2px solid black;
}
#logo{
    position: absolute;
    top: 15%;
    left: 25%;
}

#name{
    position: absolute;
    font-weight: 800;
    top: 45%;
    left: 15%;
}

#moto{
    color: white;
    font-size: 15px;
    position: absolute;
    top: 60%;
    left: 20%;
    letter-spacing: 1px;
    width: 75%;
}
#moto2{
    position: absolute;
    top: 70%;
    left: 10%;
    color: white;
} */
 #logo{
    margin-left: 50px;
}

#contact{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    /* background-color: green; */
}
#contact div{
    display: flex;
    align-items: center;
 
    
}

#header-contact{
    /* background-color: orange; */
    width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}   
.icone{
    width: 25px;
    height: 25px;
    margin-right: 3px;
}
#icone_mail{
    margin-bottom: -5px;
}
#numero-tel{
    letter-spacing: 2px;
}
.contact{
    font-size: 25px;
}

/* ------ Navigation----------- */
#navigation-link nav ul{
    margin-left: 120px;
    display: flex;
    width: 80%;
    justify-content: space-around;
   
}

#navigation-link nav ul li{
    background-color: var(--color1);
    border: 2px solid black;
    border-radius: 15px;
    padding: 10px;
    color: white;
    font-size: 1.4rem;
    width: 150px;
    text-align: center;
    cursor: pointer;

    /* Animation d'apparition */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 0.6s forwards;

    /* Transition hover */
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
#navigation-link nav ul li a {
    color: white;
}

#navigation-link nav ul li:nth-child(1){
    animation-delay: 0.1s;
}
#navigation-link nav ul li:nth-child(2){
    animation-delay: 0.2s;
}
#navigation-link nav ul li:nth-child(3){
    animation-delay: 0.3s;
}

/* Effet hover */
#navigation-link nav ul li:hover{
    transform: scale(1.07);
    background-color: rgb(230,120,60);
    box-shadow: 0px 5px 12px rgba(0,0,0,0.25);
}

/* Keyframes apparition */
@keyframes fadeSlide{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}


/* -------------Landing-page---------------------- */

#landing-page{
    height: 100%;
    width: 100%;
    background: url("../images/image-landing_page.jpg") center/cover no-repeat;
}


h1{
    padding-left: 50px;
    color: white;
    font-size: 3.5rem;
}

#special-word{
    color:rgb(177 62 17);
}

#description{
    display: flex;
    flex-direction: column;
    height: 50vh;
    justify-content: space-around;
    padding-top: 80px;

   
}
#landing-page p{
    color: white;
    font-size: 2rem;
    padding-left: 50px;
}
.icone_valider{
    width: 55px;
}
    
#offert{
    display: flex;
    width: 100%;
    min-height: 200px;
    justify-content: space-around;
    align-items: center;

}
#offert div{
    display: flex;
}
   
#offert p{
    font-size: 3.4rem;
    margin-right: 15px;
    
}

/* #--------- grand icones ----------- */

#grand-icones article{
   
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 50px auto;
}

.icones-grand{
    width: 150px;
    height: 150px;
}
.small-text{
    margin-top: 15px;
    text-align: center;
    font-size: 1.3rem;
  
}


/* -----------------Services--------------------------- */


h2{
    color:var(--color_titre);
    text-align: center;
    font-size: 2.4rem;
}

.image-services{
    width: 350px;
    height: 260px;          /* Hauteur fixe pour aligner les images */
    object-fit: cover;      /* Ajuste l’image sans la déformer */
    border-radius: 10px 10px 0 0;
}

.titre{
    color: #275c41;
    background-color: #0080003d;
    width: 100%;
    text-align: center;
    font-size: 2.3rem;
    padding: 8px 0;
    margin: 0;
}

#type-services {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 50px auto;
    gap: 30px;                   /* Espacement égal entre les cartes */
}

#type-services > div {
    width: 350px;               /* Cartes toutes identiques */
    background: white;
    border-radius: 10px;
    overflow: hidden;           /* Pour que l’image suive l’arrondi */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding-bottom: 30px;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Animation hover PROPRE */
#type-services > div:hover{
    transform: translateY(-5px);
    box-shadow: 0px 12px 22px rgba(0,0,0,0.25);
}

.description{
    font-size: 1.3rem;
    width: 80%;
    text-align: center;
    margin-top: 25px;
}



/* ---------- Notre entrprise--------------- */


#notre-entreprise{
    width: 60%;
    margin: 20px auto;
    /* background-color: green; */
    
}
#small-title{
    color: #158a15;
    text-align: center;
}
#description-text{
    margin-top: 50px;
}

#description-text p{
    font-size: 2.2rem;
}


/* ---------image-galerie---------- */

.image-galerie{
    width: 250px;
}

#images_galerie {
    width: 80%;
    margin: 50px auto;

    display: grid;
    grid-template-columns: repeat(5, 1fr);   /* 3 colonnes */
    grid-auto-rows: 200px;                   /* hauteur de base */
    gap: 20px;                               /* espace entre les images */
}

.image-galerie {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Grandes images (comme la maquette que tu as envoyée) */
#images_galerie img:nth-child(1) {
    grid-row: span 2; 
    grid-column: span 3; /* image plus haute */
}

#images_galerie img:nth-child(2) {
    grid-row: span 3;
    grid-column: span 2;

}
#images_galerie img:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;

}

#images_galerie img:nth-child(4) {
    grid-row: span 2;
    grid-column: span 3;
}
#images_galerie img:nth-child(5) {
    grid-row: span 3;
    grid-column: span 2;
}

#images_galerie img:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
}

#images_galerie img:nth-child(7) {
    grid-row: span 2;
}

/* --------Zonr d'intervention-------------------- */

.titre_zone{
    margin: 100px 0 20px;
    text-align: center;
    font-size: 4.4rem;
    color: var(--color_titre);
    font-weight: 600;
    letter-spacing: 4px;
}

.description_intervention{
    font-size: 2.2rem;
}

.ville{
    color:rgb(177 62 17) ;
}
#zone_icone{
    display: flex;
    justify-content: center;
    align-items: center;
}
#block_zone{
    width: 80%;
    margin: 50px auto;
    display: flex;
    justify-content: space-evenly;
} 
#location{
    width: 250px;
}

#paragraph{
   width: 45%;
    font-size: 4.2rem;
    letter-spacing: 3px;
}
/* -----------Footer-------------- */



footer{
    background-color: #275c41;
    color: white;
    display: flex;
    justify-content: space-between;
}

#informations{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items:center;
    min-height: 100px;
    padding: 50px 50px;
    /* background-color: orange; */

}

#informations:first-child{
    font-size: 1.3rem;
    
}
#informations p{
    margin: 10px 0;
}



#icone_et_texte{

    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width:35%;
}
#block_images{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    padding: 50px 0;
}
.icone_footer{
    width: 60px;
}
#info_footer{
    display: flex;
    justify-content: space-evenly;
    font-size:1.2rem ;
}




/* Juste pour voir le burger */
/* ==== BOUTON BURGER (desktop + mobile) ==== */

/* caché par défaut sur grand écran (si tu veux) */
.menu-burger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  z-index: 1001;
  display: none;
}

/* les 3 barres */
.menu-burger span {
  width: 100%;
  height: 4px;
  background-color: var(--color1);
  border-radius: 999px;           /* bords bien arrondis */
  margin: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* état X */
.menu-burger.open span:nth-child(1) {
  transform: translateY(24px) rotate(51deg);
}

.menu-burger.open span:nth-child(2) {
  opacity: 0;
}

.menu-burger.open span:nth-child(3) {
  transform: translateY(-13px) rotate(310deg);
}

/* ==== MENU SLIDE ==== */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90%;
  background-color: #0c0a0af7;
  color: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu_visible {
  transform: translateX(0);
}



 .contact-devis {
 
  --focus: #275c41;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.62);
  --border: rgba(15, 23, 42, 0.14);
  --bg: #ffffff;

  width: 100%;
  max-width: 1200px;
  margin: 50px  auto;

}  

 .contact-devis .contact-card {
  background: var(--bg);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.10);
}


 .contact-devis .contact-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--focus);
}

.contact-devis .contact-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}  

/* Form */
.contact-devis form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Grille des champs */
.contact-devis .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px; /* espace entre champs */
}

/* Champ */
.contact-devis .contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-devis .contact-field.is-full {
  grid-column: 1 / -1;
}

.contact-devis label {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.85);
}

/* Inputs & textarea */
.contact-devis input,
.contact-devis textarea {
  
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), #ffffff);
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.03);
}

.contact-devis textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.45;
}

/* Placeholders */
.contact-devis input::placeholder,
.contact-devis textarea::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

/* Focus: couleur demandée */
.contact-devis input:focus,
.contact-devis textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 5px rgba(39, 92, 65, 0.22);
  background: #ffffff;
  transform: translateY(-1px);
}

/* Actions / bouton */
.contact-devis .contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.contact-devis button,
.contact-devis .contact-btn {
  border: none;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: #ffffff;
  background: var(--focus);
  box-shadow: 0 16px 34px rgba(39, 92, 65, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.contact-devis button:hover,
.contact-devis .contact-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(39, 92, 65, 0.26);
}

.contact-devis button:active,
.contact-devis .contact-btn:active {
  transform: translateY(0);
  filter: brightness(0.99);
}   

