/* :root {
  --primary-red: #e53935;
  --dark-bg: #19191b;
  --light-gray: #999;
  --medium-gray: #666;
  --light-bg: #f0f0f0;
  --white: #fff;
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 24px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
} */

.leaflet-bottom.leaflet-right {
    display: none;
}



.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.background-pattern svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.99; /* ajuster selon le rendu souhaité */
    fill: #ff0000; /* changer la couleur du motif */
}

/* end top section */
/* hero section */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: #2c2c2c;
}
.hero-section {
    width: var(--rn-width1);
    margin: 40px auto;
    /* margin: 0 auto 60px auto; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.background-pattern {
    position: absolute;
    top: 0;
    left: -200px;
    width: 100%;
    height: 100%;
    opacity: 0.14;
    z-index: 1;
}

.background-pattern svg {
    width: 100%;
    height: 100%;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--rn-width1);
    margin: auto;
    margin: 30px auto;
    position: relative;
    z-index: 2;
}

.left-content {
    flex: 1;
    max-width: 600px;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.highlight {
    color: #e53e3e;
    font-weight: 400;
}

.cta-button {
    background: #e53e3e;
    color: white;
    padding: 18px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.cta-button::after {
    content: "→";
    font-size: 1.2rem;
}

.right-content {
    flex: 1;
    /* max-width: 500px; */
    padding-left: 80px;
}

.description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.facebook {
    background: #e53e3e;
    color: white;
}

.linkedin {
    background: #e53e3e;
    color: white;
}

.instagram {
    background: #e53e3e;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .right-content {
        padding-left: 0;
        max-width: 600px;
    }

    .main-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .background-pattern {

    left: 0;

}
    .hero-section {
        padding: 0 30px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .description {
        font-size: 1.1rem;
    }
}
/* end hero sectin */

.main-container {
    display: flex;
    gap: 24px;
    margin: auto;
    align-items: stretch;
    width: var(--rn-width1);
    align-items: center;
}

.sidebar-card_contact {
    background: #e5e7eb;
    border-radius: 12px;
    width: 30%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* padding: 20px; */
    justify-content: center;
    align-items: center;
}

.form-container {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 75%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 12px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.3s ease;
        border:none;

}
.checkbox{
        border:none;

}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
    font-size: 15px;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    padding-right: 40px;
}

select option {
    padding: 8px;
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: "poppinsRegular";
    border:none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;

}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-container a {
    color: #4a90e2;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    font-size: 18px;
}
@media (max-width: 1300px) {
    .checkbox-container input[type="checkbox"] {
    width: 23px;

}
    .form-container {
        width: 49%;

    }
 .sidebar-card_contact {
        width: 70%;
    }
}
@media (max-width: 1000px) {
    .checkbox-container input[type="checkbox"] {
        width: 18px;
    }
    .form-container {
        width: 90%;
        padding: 15px;
    }
    .sidebar-card_contact {
        width: 90%; 
    }
    .animation-container {
        display: flex;
        align-items: center;
    }
    #animation-container {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .main-container {
        flex-direction: column;
        flex-direction: column-reverse;
    }
}
@media (max-width: 500px) {
    .topSection .underTitle {
        font-size: 14px !important;
    }
    .topSection.contact {
        padding: 160px 0 100px 0 !important;
        gap: 64px !important;
    }
    .topSection .underTitle {
        font-size: 16px;
    }
    .social-icons {
        margin-top: 65px;
    }
    .sidebar-card_contact {
        width: 100%;
    }

    footer .topFooter {
        height: auto !important;
    }
}
/* section card_contact under contact */
.card_container {
    display: flex;
    gap: 20px;

    width: var(--rn-width1);
    margin: auto;
}

.card_contact {
    background-color: #e8e8e8;
    border-radius: 12px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card_contact h2 {
    font-family: "PoppinsSemiBold";

    margin: 0 0 16px 0;
    color: #000000;
}

.card_contact p {
    color: #666;
    margin: 0 0 32px 0;
}

.btn {
    background-color: #2d2d2d;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 250px;
}

.btn:hover {
    background-color: #1a1a1a;
}

.btn::after {
    margin-left: 12px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero_container {
        flex-direction: column;
        width: 90% !important;
    }

    .hero_card {
        padding: 20px 16px;
    }
}
/*  */

/* avant le contact */
.hero_container {
    display: flex;
    gap: 16px;
    width: var(--rn-width1);
    margin: auto;
}

.hero_card {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}


.hero_card:hover {
  .icon-black {
    background-color: var(--red);
  }
}

.content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.icon:hover {
    transform: scale(1.1);
    background-color: var(--primary-red);
}

.icon-red {
    background-color: var(--primary-red);
}

.icon-black {
    background-color: #2d2d2d;
}

.icon::after {
    content: "↗";
    color: white;
    font-size: 18px;
    font-weight: bold;
}
/* end avant le contaact */

/* map card */
.map_card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: white;
    width: var(--rn-width1);
    margin: auto;
}

.card-map {
    height: 400px;
}
/* end card map */

.form-container .thm-btn {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
        background: var(--red);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
        border: none;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100px !important;
}
.form-container .thm-btn.red.bgw{
    width: 100px !important}



.cls-1-li {
    fill: #fff;
}

.cls-2-li {
    fill: var(--red);
}
.cls-1-f {
    fill: #fff;
}

.cls-2-f {
    fill: var(--red);
}
.cls-1-i {
    fill: #fff;
}

.cls-2-i {
    fill: var(--red);
}



.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* permet le passage sur 2 lignes en petit écran */
    margin-top: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
      border: none;
  /* Optionnel pour enlever le style par défaut selon le navigateur */
  appearance: none;
  -webkit-appearance: none; /* pour Safari */
  -moz-appearance: none; /* pour Firefox */
  background-color: white;
  color: black;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none; /* pas de bordure */
  box-shadow: 0 0 0 1px #ccc; /* une légère ombre pour la forme */
  position: relative;
  transition: background-color 0.3s;
}

input[type="checkbox"]:checked {
  background-color: red;
  box-shadow: none;
}

/* La coche blanche */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 800px) {
.form-footer .thm-btn.red.bgw{
    width: 100px;

}
.checkbox-container input[type="checkbox"] {


    width: 25px;}
}
@media (max-width: 700px) {
.form-footer .thm-btn.red.bgw{
    width: 100px;
    /* top:-24px */

}
.checkbox-container input[type="checkbox"] {


    width: 40px;}

.contact .btn-box .thm-btn.red{
        margin-top: 0px;
        width: 150px;
    }
}

@media (max-width: 400px) {
    .footerContent .expertises a, .footerContent .contact p
 {
        font-size: 14px;
        width: 69%;
    }

}


.topSection.contact {
    width: var(--rn-width1);
    margin: auto;
    display: flex
;
    align-items: center;
    gap: 42px;
    padding: 214px 0 265px 0;
    overflow: hidden;
    position: relative;
}
