
/* ========================================
   CTA CONTACT
======================================== */

.cta-contact {
  padding: clamp(1.8rem, 3.5vw, 3rem) 0 4rem;
  background: #fff;
}

.cta-contact .container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* LEFT */

.cta-left h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 2.2vw + 1.2rem, 2.8rem);
  color: #2F4A8A;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
  max-width: 100%;
}

.cta-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #1f2937;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #00B86B;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cta-secondary {
  font-size: 0.95rem;
  color: #64748b;
}

.cta-secondary a {
  color: #2F4A8A;
  text-decoration: underline;
}


/* ========================================
   FORMULAIRE DE CONTACT
======================================== */

.cta-right {
  min-width: 0;
}

.cta-right .section-content {
  width: 100%;
}

.cta-right h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: #2F4A8A;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2F4A8A;
  box-shadow: 0 0 0 3px rgba(47, 74, 138, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* CASE DE CONSENTEMENT */

.contact-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.contact-form .form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: #00B86B;
  cursor: pointer;
}

.contact-form .form-consent label {
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
  cursor: pointer;
}

.contact-form .form-consent a {
  color: #2F4A8A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* BOUTON ENVOI */

.contact-form button {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #2F4A8A;
  transform: translateY(-1px);
}

/* CHAMP ANTI-SPAM INVISIBLE */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ========================================
   GALERIE — ORDINATEUR
======================================== */

.cta-gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cta-gallery img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
  background: #005586;
  color: #fff;
  padding: 4rem 0 2rem;
}


/* ========================================
   PARTIE HAUTE
======================================== */

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

/* LISTES CABINETS */

.footer-col ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.75);
}

.footer-col ul li {
  font-size: 0.9rem;
  line-height: 1.6;
}


/* ========================================
   LOGO PARTENAIRE
======================================== */

.partner-logo {
  display: block;
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-top: 1.5rem;
  opacity: 0.95;
}


/* ========================================
   CTA FOOTER
======================================== */

.footer-cta {
  text-align: center;
}

.footer-button {
  font-family: Manrope, sans-serif;
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.2s ease;
}

.footer-button:hover {
  transform: scale(1.04);
}


/* ========================================
   PLAN DU SITE
======================================== */

.footer-middle {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer-middle h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #fff;
}

/* GRID 3 COLONNES */

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

/* TITRES DE COLONNES */

.footer-sitemap h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.25rem 0;
  line-height: 1.4;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links-title a:hover {
  color: yellow;
}


/* ========================================
   BAS DE PAGE
======================================== */

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}


/* ========================================
   RESPONSIVE — TABLETTES
======================================== */

@media (max-width: 1024px) {

  /* CONTACT */

  .cta-contact .container {
    max-width: 100%;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* FOOTER */

  .footer-top,
  .footer-middle,
  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer-col {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}


/* ========================================
   RESPONSIVE — MOBILES
======================================== */

@media (max-width: 767px) {

  /* SECTION CONTACT */

  .cta-contact {
    padding: 2rem 0 2.5rem;
  }

  .cta-contact .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .cta-left,
  .cta-right {
    width: 100%;
    min-width: 0;
  }

  .cta-left h2 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .cta-lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.2rem;
    text-align: center;
  }

  .cta-secondary {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cta-secondary .btn-secondary {
    display: inline-block;
    margin-top: 0.5rem;
  }

  /* FORMULAIRE */

  .cta-right,
  .cta-right .section,
  .cta-right .container,
  .cta-right .section-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .cta-right .container {
    padding: 0;
  }

  .cta-right h2 {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  .contact-form .form-consent {
    gap: 0.6rem;
  }

  .contact-form .form-consent label {
    font-size: 0.75rem;
  }

  /* GALERIE */

  .cta-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1.2rem 0.8rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cta-gallery::-webkit-scrollbar {
    display: none;
  }

  .cta-gallery img {
    flex: 0 0 85%;
    width: 85%;
    height: 220px;
    object-fit: cover;
    scroll-snap-align: center;
  }

  /* FOOTER — PARTIE HAUTE */

  .site-footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-top {
    padding: 0 1.2rem 2rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .footer-col {
    width: 100%;
    min-width: 0;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .footer-col h5 {
    font-size: 0.9rem;
  }

  .footer-col p {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  /* LOGO PARTENAIRE */

  .partner-logo {
    display: block;
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-top: 1rem;
  }

  /* BOUTON FOOTER */

  .footer-cta {
    text-align: left;
  }

  .footer-button {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1.3rem;
    text-align: center;
  }

  /* PLAN DU SITE */

  .footer-middle {
    padding: 2rem 1.2rem;
  }

  .footer-middle h4 {
    margin-bottom: 1.2rem;
  }

  .footer-sitemap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .footer-sitemap .footer-col {
    min-width: 0;
  }

  .footer-sitemap h5 {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-links li {
    margin: 0.4rem 0;
    line-height: 1.5;
  }

  .footer-links a {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  /* BAS DE PAGE */

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.5rem 1.2rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .footer-bottom .legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
  }

  .footer-bottom .legal a {
    display: inline-block;
  }
}


/* ========================================
   PETITS MOBILES
======================================== */

@media (max-width: 380px) {

  .cta-contact .container {
    padding: 0 1rem;
  }

  .cta-left h2 {
    font-size: 1.75rem;
  }

  .cta-button,
  .footer-button {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .footer-top,
  .footer-middle,
  .footer-bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-gallery {
    padding: 0 1rem;
  }
}
