/* CSS - LP ALCATOR */


/* VARIABLES */

:root {
  --jaune: #ffcb00;
  --orange: #ff6600;
}

/* GENERAL */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
}

body .content {
  overflow: hidden;
}

/* Titres */

h1, h2, h3 {
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  font-size: 36px;
  margin: 0;
  padding-bottom: 0.5em;
  text-shadow: 0 2px 24px #000c;
}

.sous-h1 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  padding-bottom: 1em;
  text-shadow: 0 2px 24px #000c;
}

.sous-h1 em {
  font-weight: 600;
}

h2 {
  font-size: 20px;
}

h2 strong {
  color: var(--jaune);
  font-size: 1.2em;
}

@media (min-width: 601px) {
  
  h1 {
    font-size: 42px;
  }
  
  .sous-h1 {
    font-size: 21px;
  }
}

@media (min-width: 1201px) {
  
  h1 {
    font-size: 48px;
  }
  
  .sous-h1 {
    font-size: 24px;
  }
}

/* Structure */

.section {
  position: relative;
  padding: 40px 0;
}

.row {
  margin: 0 auto;
  width: 90%;
  max-width: 1250px;
}

.row.width-xs {
  max-width: 450px;
}

.row.width-s {
  max-width: 1020px;
}

.column {
  margin: 20px 0;
}

@media (min-width: 981px) {
  
  .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-column-gap: 4%;
    column-gap: 4%;
  }
  
  .row .column {
    width: 100%;
  }
  
  .row .column.col-1-2 {
    width: 48%;
  }
  
  .row .column.col-1-3 {
    width: 30.66666%;
  }
  
  .row .column.col-1-4 {
    width: 22%;
  }

  .row .column.col-3-5 {
    width: 60%;
  }
  
  .row .column.col-2-5 {
    width: 36%;
  }
}



/* BOUTONS */

a.button {
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 24px;
  text-decoration: none;
  color: #000;
  background-color: var(--jaune);
}


/* SECTION HERO */

.section.sect-hero {
  background: url(/images/hero-bg.jpg) center center /cover no-repeat;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 60px;
}

.sect-header .logo img {
  width: 240px;
  margin-left: -20px;
}


@media (min-width: 601px) {
  
  .sect-header .logo img {
    width: 293px;
    margin-left: 0;
  }
}

@media (min-width: 981px) {
  
  .section.sect-hero {
    padding-bottom: 30px;
  }
  
  .section .row.justify-space-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}


/* Header */

.section.sect-header {
  padding-top: 0;
  padding-bottom: 20px;
}

.sect-hero .sect-header .row {
  width: 94%;
  max-width: 1500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.btn-contact a {
  background-color: #191919;
  display: inline-block;
  padding: 10px 17px 7px;
  line-height: 1;
  border: 1px solid #fffa;
}

.btn-contact a img {
  width: 19px;
}


/* Hero */

.sect-hero .row {
  max-width: 1350px;
}

.section.sect-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #0000), to(#0006));
  background: linear-gradient(180deg, #0000 30%, #0006 100%);
}

@media (min-width: 981px) {
  .section.sect-hero::before {
    background: -webkit-gradient(linear, left top, right top, color-stop(30%, #0000), to(#0004));
    background: linear-gradient(90deg, #0000 30%, #0004 100%);
  }
}

/* Raisons */

.sect-hero .row.row-hero {
  position: relative;
  min-height: 520px;
  z-index: 100;
}

.col-raisons {
  max-width: 440px;
}

@media (min-width: 981px) {
  
  .col-raisons {
    margin-top: -30px;
  }
}
/*
@media (min-width: 1201px) {
  */
  .raisons .sub-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-column-gap: 5%;
    column-gap: 5%;
  }
  
  .raisons .sub-row .sub-column {
    width: 47.5%;
  }
/*}*/

.raisons h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-column-gap: 12px;
  column-gap: 12px;
  max-width: 420px;
  margin-top: 0;
}

.raisons h2 .nb {
  font-size: 62px;
}

.raisons .raison {
  margin-bottom: 0.6em;
}

.raisons .raison-titre {
  position: relative;
  font-size: 16px;
  font-family: 'Kanit', sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
}

@media (min-width: 1201px) {
  
  .raisons .raison-titre::before {
    content: "+";
    position: absolute;
    left: -15px;
    color: var(--jaune);
    font-weight: 400;
    font-size: 22px;
  }
}

.raisons .raison-details {
  display: none;
  opacity: 0;
}


@media (min-width: 1201px) {
  
  .raisons h2 .nb {
    font-size: 77px;
  }
  
  .raisons h2 .texte {
    font-size: 21px;
    letter-spacing: 1px;
  }
  
  .raisons .raison {
    margin-bottom: 1em;
  }
  
  .raisons .raison-titre {
    font-size: 20px;
  }
  
  .raisons .raison-details {
    display: block;
    max-height: 0px;
    overflow: hidden;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }
  
  .raisons .raison-titre:hover + .raison-details {
    max-height: 200px;
    opacity: 1;
  }
}


/* SECTION OFFRES */

.sect-offres .row {
  margin-top: -120px;
}

.column.col-offre {
  position: relative;
  text-align: center;
  padding: 50px 6%;
  margin: 30px 0;
  -webkit-box-shadow: 0 -6px 22px #0001;
  box-shadow: 0 -6px 22px #0001;
  background-color: #fff;
  border-bottom: 10px solid var(--jaune);
}

.col-offre .tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px;
  background-color: var(--orange);
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.col-offre h2 {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
}

p + .btn-wrap {
  margin-top: 30px;
}


@media (min-width: 981px) {
  
  .sect-offres .row {
    margin-top: -165px;
  }
  
  .column.col-offre {
    padding: 85px 3% 125px;
  }
  
  .col-offre .btn-wrap {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
  }
}

/* SECTION CONTACT */

.section.sect-contact {
  padding-top: 20px;
  padding-bottom: 130px;
}

.section.sect-contact::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -5px;
  width: 70%;
  aspect-ratio: 5;
  max-height: 120px;
  -webkit-transform: translateY(18%);
  transform: translateY(18%);
  background: url(/images/alcator-logo-transparence.png) bottom left /contain no-repeat;
}

.section.sect-contact::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25%;
  aspect-ratio: 3/4;
  max-height: 200px;
  background: url(/images/alcator-mascotte.png) bottom right /contain no-repeat;
}

@media (min-width: 1201px) {
  
  .section.sect-contact {
    padding-bottom: 200px;
  }
  
  .section.sect-contact::before {
    max-height: 175px;
    -webkit-transform: translateY(22%);
    transform: translateY(22%);
  }
  
  .section.sect-contact::after {
    max-height: 320px;
  }
}

.sect-contact h2 {
  text-align: center;
}


/* Formulaire */

#locationForm {
  position: relative;
}

#locationForm::before {
  content: "";
  position: absolute;
  width: 31px;
  height: 53px;
  top: -22px;
  right: -105px;
  background: url(/images/tracteur.png) center center /contain no-repeat;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 3%;
}

.field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 6px;
}

.field.full-width {
  grid-column: 1 / -1;
}

form label {
  font-size: 15.5px;
  font-weight: 500;
  color: #000000;
}

label .req {
  color: #e0ad00;
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #191919;
  border-radius: 5px;
  font-size: 15.5px;
  color: #191919;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
  outline: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

textarea {
  height: 230px;
  padding: 16px 14px;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(25, 25, 25, 0.6);
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: rgba(25, 25, 25, 0.6);
}

input::placeholder,
textarea::placeholder {
  color: rgba(25, 25, 25, 0.6);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--jaune);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 40px;
  background: var(--jaune);
  border-radius: 0 4px 4px 0;
  pointer-events: none;
}

.select-wrapper::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #1a1a1a;
  z-index: 1;
  pointer-events: none;
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

/* Opt-in */

.optin-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.optin-block input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--jaune);
  cursor: pointer;
  margin-top: 1px;
}

form .optin-text {
  font-size: 0.9rem;
  font-weight: 400;
}

.optin-text a {
  text-decoration: underline;
  color: #000;
}

.optin-required {
  color: #e02020;
  font-size: 0.8rem;
  display: none;
  margin-top: 4px;
}

/* Submit */

.submit-row {
  grid-column: 1 / -1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 8px;
}

button[type="submit"] {
  background: var(--jaune);
  color: #000;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 15px 80px;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}


/* Success message */

.success-msg {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #66bb6a;
  border-radius: 6px;
  padding: 14px 18px;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.97rem;
  grid-column: 1 / -1;
  text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
  .card {
    padding: 28px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Captcha */

.cf-turnstile > div {
  text-align: center;
}


/* FOOTER */

.sect-footer {
  padding-bottom: 10px;
  background-color: #191919;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.row.footer-main {
  padding-bottom: 40px;
}

@media (max-width: 980px) {
  
  .row.footer-main {
    text-align: center;
  }
}

footer a {
  color: #fff;
  text-decoration: none;
}

.button i.bi {
  margin-right: 8px;
}

.footer-main .column p:first-child {
  margin-top: 5px;
}

.sect-footer .logo img {
  width: 250px;
}

.sect-footer a.button {
  font-size: 16px;
  min-width: 160px;
  text-align: center;
  margin-bottom: 15px;
  margin-right: 10px;
}

.btn-rs i.bi {
  font-size: 26px;
  margin-right: 10px;
}

/* Socket */

.sect-footer .socket {
  text-align: center;
  font-size: 12px;
  border-top: 1px solid #fff2;
}


/* Tarteaucitron */

body #tarteaucitronRoot #tarteaucitronAlertBig {
  padding-bottom: 18px;
}

body .tarteaucitronAlertBigBottom span#tarteaucitronDisclaimerAlert {
  display: block;
  max-width: 1020px;
  margin: 6px auto 16px auto;
  text-align: center;
}

body #tarteaucitronDisclaimerAlert a {
  color: #000;
}

@media (max-width: 600px) {
  body #tarteaucitronRoot span#tarteaucitronDisclaimerAlert {
    font-size: 13px;
    font-weight: 400;
  }
}





