@import url('admin.style.css');
@import url('client.style.css');
@import url('components.style.css');
@import url('tel.responsive.style.css');
@import url('tablette.responsive.style.css');
@import url('vo.style.css');

:root {
    --white-color: #F7F7F7;
    --blue-color: #0056b3;
    --blue-hover: #003f8a;
    /* --dark-blue: #054864; */
    /* --red-color: #DD1C1A; */
    --dark-red: #d00000;
    --light-gray: #f5F5F5;
    --grey-color: #D1D5DB;
    --text-primary: #333333;
    --text-secondary: #4f4f4f;
    --text-tertiary: #828282;
    --text-red: #c20010;
    --border-form: 1px solid #ccc;
    --input-placeholder: #6c757d;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    --text-shadow: 0 2px 10px rgba(0,0,0,0.2);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-size: 1em;
    transition: all 0.3s ease-in-out;
}

body {
    background-color: var(--white-color);
}

main {
  background: none;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#mainpage {
    flex: 1;
}

a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out, text-decoration 0.3s ease-in-out !important;
}

p {
    margin-bottom: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
}

.btn-links {
    display: flex;
    width: fit-content;
    justify-content: center;
    background-color: var(--blue-color);
    padding: 0.625rem 1.25rem;
    margin: 1.875rem auto;
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: color 0.3s ease;
    &:hover {
        background-color: var(--blue-hover);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
    }
    &:active {
        background-color: var(--dark-red);
    }
}

.btn-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.cta-blue {
    background-color: var(--blue-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    &:hover {
        background-color: var(--blue-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
    }
    &:active {
        background-color: var(--dark-red);
    }
}

.form-group {
    input,
    select,
    textarea {
      padding: 0.75rem 1rem;
      border: 1px solid #ccc;
      border-radius: var(--border-radius);
      font-size: 1rem;
      transition: border-color 0.3s ease
  }   
}

.hero-secondaire {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #003f8a 90%);
    overflow: hidden;
}

.hero-overlay-secondaire {
    backdrop-filter: blur(2px);
    padding: 6rem 2rem 5rem 2rem;
}

.hero-content-secondaire {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    h1 {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 1rem;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
      letter-spacing: -0.02em;
      text-shadow: var(--text-shadow);
      }
      h2 {
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 0.5rem;
        opacity: 0.95;
      }
}

.text-muted  → .text-secondary
.btn-primary → .btn-primary
.d-flex      → .d-flex 
/* ************************************** LOGIN FORM ************************************* */
.login-form {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.form-login {
    h1 {
        text-align: center;
        margin: 0.625rem 0;
        font-size: 2.5rem;
        font-weight: 700;
        background-color: white;
    }
    label {
        margin: 1.25rem 0 0.2rem 0;
        font-weight: 500;
    }
    
}

.form-group.login 
.form-group.login input {
    height: 3.125rem;
}

.btn.btn-primary.login {
    width: fit-content;
    display: block;
    margin: 1.5rem auto;
    border: none;
    font-size: 1.2em;
    &:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
    }
}

.checkbox.mb-3 {
    background-color: white;
    margin: 0;
    display: flex;
    align-items: center;
    label {
        margin: 0;
        font-weight: 500;
        font-size: 0.9rem;
    }
}

.mdp-oublie {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: underline;
        &:hover {
        opacity: 0.6;
    }
}



/* ---------------------------------------- PAGE D'ACCEUIL --------------------------------------------------- */
/* Partie 1 */
#hero {
  position: relative;
  height: 100vh;
  background: url('../images/car-design.webp') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0.7) 64%);  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    h1 {
        font-size: 7rem;
        margin-bottom: 0;
        font-weight: 600;
    }
    h2 {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    .cta-blue {
        font-size: 2em;
    }
}

.chevron-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    cursor: pointer;
    i:hover {
        transform: translate(1px, 50%);
        opacity: 0.6;
    }
}

/* Partie 2 */
.container-fluid.home-1 {
    width: 90%;
    margin: 3.125rem auto;
    display: flex;
    text-align: center;
    justify-content: space-around;
}

.div-home {
    text-align: center;
    padding: 2rem;
    width: 30%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease, opacity 0.3s;
    i {
        font-size: 6em;
        margin: 1.25rem 0;
        display: flex;
        text-align: center;
    }
    p {
        text-align: center;
        font-size: 1.2em;
        margin: 0 auto 1.25rem auto;
    }
    h2 {
        text-align: center;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 2em;
        color: var(--text-primary);
    }
    &:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
        .icon-custom {
            background-color: var(--blue-hover);
        }
    }
}

.links-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.icon-custom {
    color: white;
    background-color: var(--blue-color);
    border-radius: 50%;
    width: 11rem;
    height: 11rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Partie 3 */
.parallaxe {
    background-image: url('../images/parralaxe.webp');
    background-attachment: fixed;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem;
    position: relative;
}

.parallaxe-content {
    color: white;
    text-align: center;
    h2 {
        font-size: 3em;
        font-weight: 500;
        font-family: "Montserrat", sans-serif !important;
    }
    p {
        font-style: italic;
        font-family: "Montserrat", sans-serif !important;
        font-size: 1.2em;
        font-weight: 300;

    }
}

.parallaxe-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0.7) 50%);  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 1;
}

/* Partie 4 */
.home-2 {
    margin: 3.125rem auto;
    display: flex;
    max-width: fit-content;
    flex-direction: column;
    gap: 3.125rem;
}

.block-service {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 90rem; 
    margin: 0 auto;
    figure {
        flex: 1 1 12.5rem; 
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }
}


.block-service.xp {
    display: flex;
    flex-direction: row-reverse;
    padding-left: 5rem;
}

.block-text {
    flex: 1 1 31.25rem; 
    h2 {
        font-size: 2rem;
        font-weight: bold;
        color: var(--blue-color);
        margin-bottom: 1rem;
    }
    p {
        font-size: 1.125rem;
        color: var(--dark-gray);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
}

.home-2 .block-service .block-text .cta-blue {
    display: flex;
    width: fit-content;
    margin: auto;
}

.block-service:hover .img-service,
.block-service:hover .img-xp {
    transform: scale(1.02);
}

.img-service,
.img-xp {
    width: 100%;
    max-width: 20rem; 
    border-radius: var(--border-radius);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
            width: fit-content;

}

/* Partie 5 */
.container-fluid.home-3 {
    display: flex;
    width: 100%;
    max-height: 28.125rem; 
    margin-top: 3.125rem;
    height: auto;
    background-color: transparent;
}

.maps {
    flex: 7;
    height: 28.125rem; 
    border-radius: 0.75rem 0 0 0.75rem;
    overflow: hidden;
}

.maps img {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
    object-position: center;
}

.localisation {
    position: relative;
    flex: 3;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #eee;
    border-radius: 0 0.75rem 0.75rem 0;
    box-shadow: inset 0 0 0.625rem rgba(255,255,255,0.05);
    h3 {
        font-weight: 600;
        font-size: 2rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #f0f0f0;
    }
    p { 
        margin: 0.5rem auto;
        font-size: 1rem;
        line-height: 1.5;
        color: #ddd;
    }
    i {
        margin-right: 0.5rem;
        color: #bbb;
    }
    a {
        color: #ddd;
        text-decoration: none;
        transition: opacity 0.3s ease;
        &:hover {
            opacity: 0.7;
        }
    }
}


/* ---------------------------- MENTIONS LEGALES ------------------------------------ */
.mentions-legales {
  max-width: 800px;
  margin: 6rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    h1, h2 {
    color: #003049;
    border-bottom: 2px solid #ced4da;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    }
    p {
    margin: 1rem 0;
    }
    strong {
    color: #495057;
    }
}
/* --------------------------------- OUBLIE MDP ------------------------------------------- */
.retry-password {
    text-decoration: underline;
    &:hover {
        opacity: 0.6;
    }
}




