:root {
  --bleu: #0a2344;
  --orange: #f47321;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  color: var(--bleu);
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: var(--bleu);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ===== Header ===== */
.header {
  background-color: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-weight: bold;
  color: var(--orange);
  font-size: 1.8em;
}

.nav {
  display: flex;
  gap: 30px;
  font-weight: bold;
  align-items: center;
}

.nav a {
  color: var(--bleu);
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--orange);
}

/* ===== Dropdown Button ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  color: var(--bleu);
  font-size: 1em;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
/* ===== Dropdown Menu ===== */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 10;
  flex-direction: column;
  transition: all 0.3s ease;
}

.dropdown-content a {
  padding: 12px 20px;
  font-size: 0.95em;
  font-weight: 500;
  color: var(--bleu);
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
  color: var(--orange);
  padding-left: 24px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* ===== Hero Section ===== */
.hero {
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 74px); 
  padding: 0 40px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.95) 25%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0) 65%), url('../img/test.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.hero-content {
  max-width: 550px;
  z-index: 2;
  text-align: left;
}

.hero h1 {
  font-size: 3em;
  margin-top: 25%;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn-orange {
  background-color: var(--orange);
  color: white;
  padding: 15px 30px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
  display: inline-block;
  cursor: pointer;
}

.btn-orange:hover {
  background-color: #e56310;
}
/* ===== Services techniques ===== */
.services-techniques {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services-techniques h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--bleu);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.tech-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-card:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech-card h3 {
  color: var(--bleu);
  font-size: 1.3em;
  margin-bottom: 15px;
  text-align: center;
}

.tech-card p {
  font-size: 0.95em;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== Satisfaction ===== */
.satisfaction {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.satisfaction h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: var(--bleu);
}

.satisfaction p {
  font-size: 1.1em;
}

/* ===== Devis ===== */
.devis {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.devis h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.quote-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quote-form input,
.quote-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1em;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}
/* ===== Footer ===== */
.footer {
  background-color: var(--bleu);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  margin-top: auto;
}

.footer a {
  color: var(--orange);
}

/* ===== Page Layout Fix ===== */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ propos ===== */
.a-propos-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  line-height: 1.8;
  color: var(--bleu);
}

.a-propos-section .col {
  flex: 1 1 300px;
  min-width: 250px;
}

.section-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--bleu);
}

.section-subtitle {
  font-size: 1.4em;
  font-weight: bold;
  margin: 30px 0 15px;
  color: var(--bleu);
}

.partner-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 20px;
}

.partner-list li {
  margin-bottom: 8px;
  font-weight: bold;
}

.highlight {
  color: var(--orange);
}

.highlight-box {
  background-color: #f8f9fc;
  border-left: 4px solid var(--orange);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.engagement-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.engagement-list li {
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98em;
}

/* ===== Contact ===== */
.contact-section {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
}

.section-title-main {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--bleu);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(244, 115, 33, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-orange {
  margin-top: 10px;
  align-self: flex-start;
}

.contact-form .error {
  border-color: red;
}

.contact-form .error-message {
  color: red;
  font-size: 0.85em;
  margin-top: 5px;
  position: absolute;
  bottom: -18px;
  left: 0;
}

.char-counter {
  font-size: 0.85em;
  color: #666;
  text-align: right;
  margin-top: 5px;
}

.char-counter.warning {
  color: red;
}

/* Alternance image/texte pour les services */

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.service-row img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-row.left .col:nth-child(1) {
    order: 1;
}
.service-row.left .col:nth-child(2) {
    order: 2;
}

.service-row.right .col:nth-child(1) {
    order: 2;
}
.service-row.right .col:nth-child(2) {
    order: 1;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        text-align: center;
    }

    .service-row.left .col,
    .service-row.right .col {
        order: unset;
    }
}

/* --- Services AlternÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©s + Images Responsives --- */
.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service.left .col:first-child {
  order: 1;
}
.service.left .col:last-child {
  order: 2;
}

.service.right .col:first-child {
  order: 2;
}
.service.right .col:last-child {
  order: 1;
}
.service h2 {
  margin-bottom: 30px;
}

.service p {
  line-height: 20px;
}


.col {
  flex: 1 1 50%;
}

.img-wrapper {
  aspect-ratio: 16 / 10;
  max-width: 480px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Correction affichage services sur mobile */
@media (max-width: 768px) {
  .service {
    flex-direction: column;
    text-align: center;
  }

  .service.left .col,
  .service.right .col {
    order: unset;
  }

  .service .col:first-child {
    order: 1; /* L'image en premier */
  }

  .service .col:last-child {
    order: 2; /* Le texte aprÃƒÂ¨s */
  }

  .img-wrapper {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .col {
    width: 100%;
  }
}



.serv {
  text-align: center;
}
.col a {
  margin-top: 8px;
}

/* ===== MODALE SERVICE ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 35, 68, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: #0a2344;
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 1.05em;
  color: #333;
  line-height: 1.6;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.5em;
  cursor: pointer;
  color: #f47321;
}

/* ===== Mise en page a-propos.html ===== */

.a-propos-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  line-height: 1.8;
  color: var(--bleu);
}

.a-propos-section .section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
}

.a-propos-section .section-subtitle {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 20px;
  color: var(--bleu);
  text-align: center;
}

.engagements-partners-row {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.engagements-partners-row .col {
  flex: 1 1 45%;
  background-color: #f8f9fc;
  border-left: 4px solid var(--orange);
  padding: 20px;
  border-radius: 8px;
}

.engagement-list,
.partner-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.engagement-list li,
.partner-list li {
  font-weight: bold;
  margin-bottom: 8px;
}

/* Ã¢Å“â€¦ Responsive fix */
@media (max-width: 768px) {
  .engagements-partners-row {
    flex-direction: column !important;
    align-items: stretch;
  }

  .engagements-partners-row .col {
    flex: none !important;
    width: 100% !important;
    margin-bottom: 20px;
  }

  .a-propos-section .section-subtitle {
    text-align: left;
  }
}


.legal-page {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
  color: var(--bleu);
}

.legal-page h1 {
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--bleu);
  text-align: center;
}

.legal-page p {
  margin-bottom: 12px;
}

.legal-page strong {
  display: inline-block;
  min-width: 180px;
  font-weight: bold;
}


/* === Scroll Reveal Animation === */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-animate].show {
  opacity: 1;
  transform: none;
}

.mentions-legales {
  padding: 60px 20px;
  line-height: 1.8;
  font-size: 1.05em;
  max-width: 800px;
  margin: auto;
}

.mentions-legales h1 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.mentions-legales h2 {
  font-size: 1.3em;
  margin-top: 30px;
  color: var(--bleu);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
[data-animate].show {
  opacity: 1;
  transform: none;
}

/* Animation pour les cartes de services */
.tech-card.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.tech-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* Pour crÃƒÂ©er un effet dÃƒÂ©calÃƒÂ© */
.tech-grid .tech-card:nth-child(2) {
  transition-delay: 0.1s;
}

.tech-grid .tech-card:nth-child(3) {
  transition-delay: 0.2s;
}

.tech-grid .tech-card:nth-child(4) {
  transition-delay: 0.3s;
}

.tech-grid .tech-card:nth-child(5) {
  transition-delay: 0.4s;
}

.tech-grid .tech-card:nth-child(6) {
  transition-delay: 0.5s;

}

.delay-1 {
  transition-delay: 0s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.testimonials-carousel {
  padding: 60px 20px;
  background: #f9f9f9;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
}


.testimonial {
  flex: 0 0 25%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  opacity: 0.5;
  transform: scale(0.85);
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
  font-weight: bold;
}

.testimonial.left, .testimonial.right {
  opacity: 0.75;
  transform: scale(0.92);
}

.testimonial.hidden {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f47321;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel-arrow.left {
  left: -10px;
}

.carousel-arrow.right {
  right: -10px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
[data-animate].show {
  opacity: 1;
  transform: none;
}

/* === Carousel Avis (ultra smooth et pro) === */
.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 40px 20px;
}

/* Ajout des fonds en dÃ©gradÃ© gauche et droite */
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}


.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
  padding: 20px;
  overflow: hidden;
}

.review {
  flex: 0 0 25%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
  color: #333;
  opacity: 0.3;
  transform: scale(0.8) translateX(0);
  transition: 
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
    opacity 0.6s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 1;
}

.review.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  font-weight: bold;
  display: block;
  z-index: 4;
}

.review.side {
  opacity: 0.75;
  transform: scale(0.92) translateX(0);
  display: block;
  z-index: 3;
}

.review.side-far {
  opacity: 0.5;
  transform: scale(0.85) translateX(0);
  filter: blur(1px);
  display: block;
  z-index: 2;
}

.review.hidden {
  display: none;
}

.arrow {
  background: #f47321;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow.left {
  left: +10px; /* plus Ã©loignÃ© pour Ã©viter d'Ãªtre coupÃ© */
}

.arrow.right {
  right: +10px; /* pareil Ã  droite */
}


/* ===== Responsive Header ===== */
.header {
  background-color: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--bleu);
}

.nav {
  display: flex;
  gap: 30px;
  font-weight: bold;
  align-items: center;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: white;
    border-top: 1px solid #eee;
    padding: 20px 0;
    gap: 20px;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 10px 20px;
  }
}


/* Nouveau style pour les avis enrichis */
.review-header {
  margin-bottom: 10px;
}
.review-pseudo {
  font-weight: bold;
  color: #0a2344;
}
.review-stars {
  margin: 5px 0;
  color: #f47321;
  font-size: 1.2em;
}
.review-title {
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px 0;
  color: #0a2344;
}
.review-text {
  font-size: 0.95em;
  color: #555;
  margin-top: 10px;
}

/* Contact Page Specific Styles */

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}
.contact-info {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
}
.contact-form {
  flex: 1 1 45%;
}
.contact-info h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #0a2344;
}
.contact-info p {
  margin: 10px 0;
  font-size: 1em;
}

.contact-maps {
  margin-top: 30px;
}
.tabs {
  text-align: center;
}
.tab-button {
  padding: 10px 20px;
  margin: 0 5px;
  background: #0a2344;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.tab-button.active, .tab-button:hover {
  background: #f47321;
}
.tab-content {
  display: none;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-in-out;
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-section {
  max-width: 1300px; /* Avant tu n'avais rien = défaut 1100px */
  margin: 0 auto; /* Centre la section */
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .carousel {
    display: flex;
    overflow-x: hidden;
    justify-content: center;
    scroll-behavior: smooth;
  }

  .carousel .review {
    min-width: 90%;
    max-width: 90%;
    margin: 0 auto;
    transform: none !important;
    opacity: 0.5;
    transition: all 0.4s ease;
  }

  .carousel .review.active {
    opacity: 1;
    transform: scale(1.05);
  }
}
.call-button {
  display: inline-flex;
  align-items: center;
  margin-left: 20px;
}

.phone-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.call-button:hover .phone-icon {
  transform: scale(1.1);
}


@media (max-width: 768px) {
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0; /* plus de padding horizontal */
    background-size: cover;
    background-position: center;
    background-image: url('../img/test.jpg');
    min-height: 100vh;
    position: relative;
  }

  .hero-content {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .hero h1 {
    padding-top: 30px;
    font-size: 2em;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .btn-orange {
    font-size: 0.95em;
    padding: 12px 24px;
    margin-bottom: 30px;
  }
}


.two-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.two-columns .devis-image {
  flex: 1 1 400px;
  max-width: 400px;
  text-align: center;
}

.two-columns .devis-image img {
  max-width: 100%;
  height: auto;
}

.two-columns .quote-form {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }
  
}

.devis-image {
  display: flex;
  align-items: end;
  justify-content: center;
}

.devis-image img {
  max-height: 480px;
  margin-bottom: -95px; /* colle visuellement au footer */
  display: block;
}

@media (max-width: 768px) {
  .devis-image {
    display: none;
  }
}

.reviews-alternate {
  max-width: 1000px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 20px;
}

.review-block {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  padding: 30px 40px;
  max-width: 600px;
  text-align: left;
}

.review-block.left {
  margin-right: auto;
}

.review-block.right {
  margin-left: auto;
}

.review-name {
  font-weight: bold;
  color: var(--bleu);
  font-size: 1.1em;
  margin-bottom: 5px;
}

.review-title {
  font-weight: bold;
  font-size: 1.2em;
  color: var(--bleu);
  margin-bottom: 10px;
}

.review-text {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .review-block {
    margin: auto !important;
    width: 100%;
  }
}


.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: auto;
  padding: 40px 20px;
}

.review-pair {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  transition: transform 0.6s ease;
}

.review-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  padding: 30px;
  width: 48%;
  min-height: 180px;
  transition: all 0.4s ease;
}

.review-card .review-name {
  font-weight: bold;
  color: var(--bleu);
  font-size: 1.1em;
  margin-bottom: 8px;
}

.review-card .review-title {
  font-weight: bold;
  font-size: 1.2em;
  color: var(--bleu);
  margin-bottom: 10px;
}

.review-card .review-text {
  font-size: 1em;
  color: #333;
  line-height: 1.5;
}

.arrow {
  background: #f47321;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 10;
}
