/* ========================================================= */
/* 🟨 01 — ROOT, RESET & BASE */
/* ========================================================= */
:root {
  --gris-clair: #EDE7E2;
  --jaune: #EECA85;
  --moutarde: #E0B257;
  --ciel: #B7D0ED;
  --marine: rgb(59, 76, 105);
  --marine3: #3C4C6A;
  --black: #0e0e0e;

  --font-main: 'PT Sans', sans-serif;
  --font-script: 'Claire Palmer Script', cursive;

  --font-size-xxxl: 10rem;
  --font-size-xxl: 5rem;
  --font-size-xl: 3.5rem;
  --font-size-lg: 2.5rem;
  --font-size-md: 1.8rem;
  --font-size-mm: 1.45rem;
  --font-size-sm: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: var(--font-main);
  overflow: hidden;
  max-width: 100vw;
}

img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

h1 {
  font-size: 5rem;
  font-weight: 600;
  letter-spacing: -0.01rem;
  line-height: 1.25;
}

p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
}

section {
  position: relative;
  max-width: 100vw;
  min-height: 50svh;
  width: 100vw;
  background-color: var(--gris-clair);
  color: var(--black);
}


/* ========================================================= */
/* 🟦 02 — SECTION HERO */
/* ========================================================= */
#hero {
  background-color: var(--marine3);
  color: var(--jaune);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.logo {
  width: auto;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  animation: pulse 4s infinite;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 0 10px rgba(230, 179, 37, 0.5));
}

.logo-subtitle {
  font-family: 'Dancing Script', cursive;
  font-weight: 100;
  font-style: italic;
  font-size: var(--font-size-xxl);
  margin-top: 8vh;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(230, 179, 37, 0.5);
}

.hero-tagline {
  font-size: var(--font-size-sm);
  font-style: normal;
  max-width: 80vw;
  line-height: 1.6;
  margin-top: 2vh;
  letter-spacing: 6px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Responsive HERO */
@media (max-width: 768px) {
  .logo { width: 200px; height: 200px; }
  .logo-subtitle { font-size: 2.5rem; }
  .hero-tagline { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .logo { width: 180px; height: 180px; }
  .logo-subtitle { font-size: 2.2rem; }
  .hero-tagline { font-size: 1rem; }
}


/* ========================================================= */
/* 🟧 03 — SPACERS (classique, jaune, marine, ciel) */
/* ========================================================= */
.spacer-classique {
  height: 17.5vh;
  max-height: 17.5vh;
  background-color: var(--gris-clair);
}

.spacer-CV-jaune-container,
.spacer-CV-marine-container,
.spacer-CV-ciel-container {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem;
  background-color: var(--gris-clair);
}

.spacer-CV-jaune-container { align-items: flex-start; }
.spacer-CV-marine-container,
.spacer-CV-ciel-container { align-items: flex-end; }

.spacer-line,
.spacer-line-marine,
.spacer-line-ciel {
  flex: 1;
  height: 2px;
  opacity: 1;
  margin-inline: 3.5rem;
}

.spacer-line   { background-color: var(--jaune); }
.spacer-line-marine { background-color: var(--marine); }
.spacer-line-ciel   { background-color: var(--ciel); }

.spacer-icon,
.spacer-icon-marine,
.spacer-icon-ciel {
  height: 100px;
  width: auto;
}

.spacer-icon-marine { transform: scaleY(-1); }

/* ========================================================= */
/* 🟪 04 — SECTION ÉQUIPE : QUI SOMMES-NOUS ? */
/* ========================================================= */
.team-about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gris-clair);
  padding-inline: 2vw;
  flex-wrap: wrap;
  width: 100vw;
  height: 80vh;
}

.team-about-title {
  flex: 1;
  max-width: 500px;
}

.team-about-title h2 {
  font-size: var(--font-size-xxxl);
  color: var(--moutarde);
  line-height: 1.1;
  margin: 0;
}

.mediaqueries-h2 {
    display: none;
  }

.container-button-about {
  display: flex;
  flex-direction: column;
  height: 85%;
}

.team-abouts {
  flex: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.team-about-list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
  width: 540px;
  height: 540px;
  overflow: hidden;
  border-radius: 50px;
  transform: scale(0.98);
}

.team-about-list img {
  transition: transform 0.5s ease-in-out;
}

.team-about-list img:hover {
  transform: scale(1.20);
}

.team-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-about-name {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  font-size: var(--font-size-xxl);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.team-about-name .sun-icon {
  width: 40px;
  height: auto;
  margin-top: 0.3rem;
}

/* (Suite : BOUTON “L’ÉQUIPE”) */
.btn-about-ctner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.team-about-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--moutarde);
  border-radius: 10rem;
  padding: 1.2rem 2.5rem;
  gap: 1rem;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: bold;
  font-size: var(--font-size-sm);
  color: white;
  transition: background-color 0.3s ease;
  position: relative;
}

.team-about-button .label {
  font-size: var(--font-size-md);
  letter-spacing: 1px;
}

.team-about-button .circle {
  width: 3rem;
  height: 3rem;
  background-color: var(--jaune);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.arrow-wrapper {
  position: relative;
  width: 23px;
  height: 23px;
}

.arrow {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.arrow-front {
  z-index: 2;
}

.arrow-back {
  z-index: 1;
  transform: translate(-100%, 100%);
  opacity: 0;
}

/* Hover animation pour bouton flèche */
.team-about-button:hover .arrow-front {
  transform: translate(150%, -150%);
  opacity: 0;
}

.team-about-button:hover .arrow-back {
  transform: translate(0%, 0%);
  opacity: 1;
}

/* ========================================================= */
/* 🟦 05 — SECTION LIENS : DÉMARCHE & EXPERTISE */
/* ========================================================= */

.sect-t47X {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: var(--gris-clair);
}

.bx-A98u {
  flex: 1 1 650px;
  max-width: 650px;
  border-radius: 2rem;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  color: white;
  font-family: var(--font-main);
}

.bx-YmR4 {
  background-color: var(--moutarde);
}

.bx-Kz61 {
  background-color: var(--marine);
}

.cnt-W91f h3 {
  font-size: var(--font-size-xxl);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.cnt-W91f p {
  font-size: var(--font-size-sm);
  margin-top: 1.5rem;
  text-transform: uppercase;
}

/* Bouton circulaire contenant une flèche */
.ico-M2sX {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--jaune);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bx-Kz61 .ico-M2sX {
  background-color: var(--ciel);
}

/* Flèche stylisée dans le cercle */
.fancy-arrow-btn {
  all: unset;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.fancy-arrow-btn .arrow-wrapper {
  position: relative;
  width: 23px;
  height: 23px;
}

.fancy-arrow-btn .arrow {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.fancy-arrow-btn .arrow-front {
  z-index: 2;
}

.fancy-arrow-btn .arrow-back {
  z-index: 1;
  transform: translate(-100%, 100%);
  opacity: 0;
}

.fancy-arrow-btn:hover .arrow-front {
  transform: translate(150%, -150%);
  opacity: 0;
}

.fancy-arrow-btn:hover .arrow-back {
  transform: translate(0%, 0%);
  opacity: 1;
}

.arrow-shape-marine {
  fill: var(--marine);
}

.arrow-shape-moutarde {
  fill: white;
}

/* ========================================================= */
/* 🟨 06 — SECTION PRÉSENTATION DE LA DÉMARCHE */
/* ========================================================= */

.presentation-section {
  background-color: var(--gris-clair);
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  font-family: var(--font-main);
}

.presentation-intro {
  color: var(--jaune);
  font-size: var(--font-size-lg);
  line-height: 1.6;
  font-weight: 400;
  text-align: left;
  max-width: 72.5vw;
  margin: 0 auto 2rem;
  text-transform: uppercase;
}

.presentation-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding-inline-start: 15rem;
  gap: 5rem;
  margin-bottom: 5rem;
}

.presentation-text {
  flex: 1;
  max-width: 800px;
  color: var(--marine);
}

.presentation-text h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.presentation-text p {
  font-size: var(--font-size-lg);
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.presentation-image {
  flex: 1;
  max-width: 60%;
}

.presentation-image img {
  width: 60vw;
  max-height: 75vh;
  display: block;
  transition:  transform 0.3s ease;
}

.presentation-image img:hover {
  transform: scale(1.05);
}

.presentation-conclusion {
  text-align: center;
  color: var(--marine);
  font-size: var(--font-size-lg);
  font-weight: 400;
  text-transform: uppercase;
  max-width: 50vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.presentation-conclusion p {
  font-size: var(--font-size-lg);
  color: var(--marine);
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
}

.presentation-sun {
  width: 45px;
  height: auto;
}

/* ========================================================= */
/* 🟦 07 — SECTION EXPERTISE */
/* ========================================================= */

.expertise-section-container {
  height: auto;
  position: relative;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.expertise-section-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-main);
  font-size: var(--font-size-xxl);
  font-weight: 900;
  width: 100vw;
  color: var(--marine3);
  text-transform: uppercase;
}

.expertise-section-description {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--black);
}

.expertise-cards-container {
  position: relative;
  min-height: 97.5vh;
  width: 100%;
  perspective: 2000px;
}

/* Carte animée (flip) */
.expertise-card-item {
  width: 280px;
  height: 380px;
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  perspective: 1500px;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  cursor: pointer;
}

.expertise-card-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform: rotateY(0deg);
}

.expertise-card-face-front,
.expertise-card-face-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.expertise-card-face-front {
  background: white;
  color: var(--black);
  transform: rotateY(180deg);
  z-index: 2;
}

.expertise-card-face-back {
  background: var(--marine3);
  transform: rotateY(0deg);
}

.expertise-card-item:hover .expertise-card-face-back,
.expertise-card-item:hover .expertise-card-face-front {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.expertise-card-back-image {
  max-width: 120px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.expertise-card-item:hover .expertise-card-back-image {
  transform: scale(1.1);
}

.expertise-card-back-description {
  position: absolute;
  font-weight: 100;
  font-family: var(--font-script);
  color: var(--ciel);
  bottom: 2vh;
}

.expertise-card-title-text {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  transition: color 0.3s ease;
}

.expertise-card-item:hover .expertise-card-title-text {
  color: var(--jaune);
}

.expertise-card-description {
  font-size: var(--font-size-sm);
  color: #444;
  text-align: center;
  line-height: 1.5;
}

.expertise-card-divider {
  width: 60%;
  height: 1px;
  background: var(--gris-clair);
  margin: 15px 0;
}

.expertise-card-item:hover .expertise-card-divider {
  background: var(--moutarde);
}

/* Bouton EN SAVOIR PLUS (marine-style) */
.container-center {
  position: relative;
  width: 100vw;
  top: -26.5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.team-about-button.marine-style {
  background-color: var(--marine);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
}

.team-about-button.marine-style .circle {
  background-color: var(--ciel);
  overflow: visible;
}

.team-about-button.marine-style:hover .arrow-front {
  transform: translate(150%, -150%);
  opacity: 0;
}

.team-about-button.marine-style:hover .arrow-back {
  transform: translate(0%, 0%);
  opacity: 1;
}

/* Responsive EXPERTISE */
@media (max-width: 1025px) {
  .expertise-section-container {
    max-height: 100vh;
    padding: 50px 0;
  }

  .expertise-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    transform: none !important;
    perspective: none;
    top: 0vh;
  }

  .expertise-card-item {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    margin: 10px 0;
  }

  .container-center {
    position: relative;
    bottom: 0;
    top: 0;

  }

  .btn-about-ctner {
    bottom: 0;
    top: 0;
    margin-top: 0;
    padding: 0;
  }
}


@media (max-width: 768px) {
  .expertise-section-container {
    max-height: 275vh;
    height: auto;
    padding: 50px 0;
  }

  .expertise-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    transform: none !important;
    perspective: none;
    top: 0;
  }

  .expertise-card-item {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    margin: 10px 0;
  }

  .container-center {
    position: relative;
    bottom: 0;
    top: 0;

  }
}


/* ========================================================= */
/* 🟫 08 — SECTION MODULES SLIDER (CARDS) */
/* ========================================================= */

.cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25svh;
}

.card-marquee {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  overflow: hidden;
}

.marquee {
  display: none;
}

.marquee h1 {
  white-space: nowrap;
  font-size: 10vw;
  font-weight: 600;
  margin-right: 30px;
}

.card {
  position: relative;
  width: 100vw;
  height: 100svh;
  padding: 1.5em;
}

.card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.card-img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 150px;
  overflow: hidden;
}

.card-img img {
  transform: scale(2);
}

.card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.card-title {
  color: var(--gris-clair);
}

.h1-second-color {
  color: var(--moutarde);
}

.second-color {
  background-color: var(--gris-clair) !important;
}

.second-color:hover {
  background-color: var(--jaune) !important;
}

.card-content .card-title {
  width: 100%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 900;
  color: var(--gris-clair);
}

.card-content .card-description {
  text-align: center;
  width: 80%;
  margin-bottom: 3em;
  position: relative;
  transform: translateX(40px);
  opacity: 0;
}

.char {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.char span {
  transform: translateX(100%);
  display: inline-block;
  will-change: transform;
}

.card-desc-objectif {
  font-weight: 500;
  font-size: var(--font-size-md);
  margin-bottom: 1em;
  color: var(--gris-clair);
  text-shadow: 2px -1px 30px rgba(0,0,0,0.78);
}

.card-content .card-description p {
  line-height: 1.5;
}

.card-desc-benefit {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
  margin: 2em 0;
  flex-wrap: wrap;
  width: 100%;
  padding-inline: 20%;
}

.card-desc-benefit-item {
  position: relative;
  width: 200px;
  height: 200px;
  background-color: var(--gris-clair);
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-desc-benefit-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25%;
  transition: all 0.4s ease;
  z-index: 1;
}

.card-desc-benefit-item p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: var(--black);
  padding: 0 1em;
}

.card-desc-benefit-item:hover {
  background-color: var(--ciel);
}

.card-desc-benefit-item:hover img {
  transform: scale(0.5) translateY(-50%);
  opacity: 1;
}

.card-desc-benefit-item:hover p {
  opacity: 1;
  transform: translateY(10%);
}

.know-more-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.team-about-button.ciel-style {
  background-color: var(--ciel);
  color: var(--marine);
}

.team-about-button.ciel-style .circle {
  background-color: var(--gris-clair);
  position: relative;
  overflow: hidden;
}

.team-about-button.ciel-style:hover .arrow-front {
  transform: translate(150%, -150%);
  opacity: 0;
}

.team-about-button.ciel-style:hover .arrow-back {
  transform: translate(0%, 0%);
  opacity: 1;
}

/* ========== MEDIA QUERIES RESPONSIVES ========== */

@media (max-width: 1400px) {
  .card-title h1 {
    font-size: var(--font-size-xl);
    margin: 0;
    padding: 0;
    line-height: 92%;
  }

  .card-desc-benefit-item {
    width: 130px;
    height: 150px;
  }

  .card-desc-benefit-item p{
    font-size: 0.75rem;
  }

  .card-desc-objectif {
    font-size: var(--font-size-mm);
    color: white;
  }

}

@media screen and (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .card-title h1 {
    font-size: var(--font-size-xxl);
  }

  .card-desc-objectif {
    font-size: var(--font-size-lg);
    margin-bottom: 10vh;
  }

  .card-desc-benefit {
    padding-inline: 10%;
    justify-content: center;
    gap: 3em;
  }

  .card-desc-benefit-item {
    width: 145px;
    height: 150px;
  }

  .card-content .card-description {
    width: 90%;
    margin-bottom: 3em;
    transform: none;
  }

  .card-desc-benefit-item p {
    font-size: var(--font-size-mm);
  }

  .card-desc-benefit-item:hover img {
    opacity: 0;
  }

  .card-desc-benefit-item:hover p {
    transform: translateY(0%);
  }
}

@media screen and (max-width: 768px) {
  .card-title h1 {
    font-size: var(--font-size-xxl);
    margin-top: -20vh;
  }

  .card-desc-objectif {
    font-size: var(--font-size-xl);
    margin-bottom: 10vh;
  }
  .card-desc-benefit {
    flex-direction: column;
    align-items: center;
    padding-inline: 5%;
    gap: 1.4em;
    margin-bottom: 3em;
  }

  .card-desc-benefit-item {
    width: 95%;
    height: auto;
    padding: 1em;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1em;
  }

  .card-desc-benefit-item img {
    left: 1.5vw;
    width: 48px;
    height: 48px;
    padding: 0;
    position: relative;
  }

  .card-desc-benefit-item p {
    opacity: 1;
    transform: none;
    position: relative;
  }

  .card-desc-benefit-item:hover img {
    opacity: 1;
    transform: translateY(0%);
    transform: scale(1.25);
  }
}

@media screen and (max-width: 480px) {
  .card-title h1 {
    font-size: var(--font-size-xl)
  }

  .card-desc-objectif {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    margin-bottom: 0.5rem;
    width: 100%;
    color: white;
  }

  .card-desc-benefit {
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }

  .card-desc-benefit-item {
    width: 100%;
  }

  .card-desc-benefit-item p {
    font-size: 0.8rem;
    padding: 0;
  }

  .know-more-button-wrapper {
    margin-top: 1.5rem; 
  }

  .card-desc-benefit-item img {
    left: 1.5vw;
    width: 25px;
    height: 25px;
    padding: 0;
    position: relative;
  }

  .card-desc-benefit-item:hover img {
    transform: scale(1.75);
  }
}

/* ========================================================= */
/* 🟨 09 — SECTION OUTRO (APPEL À L’ACTION FINAL) */
/* ========================================================= */

.outro {
  height: 100svh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.outro h1 {
  width: 60%;
  text-align: center;
  line-height: 1.1;
  color: var(--marine);
}

/* Bouton EN SAVOIR PLUS (flèche avec animation marine) */
.arrow-btn-redirect {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  background: none;
  font-size: 2.5rem;
  color: var(--gris-clair);
}

.team-about-button.ciel-style:hover .arrow-front {
  transform: translate(150%, -150%);
  opacity: 0;
}

.team-about-button.ciel-style:hover .arrow-back {
  transform: translate(0%, 0%);
  opacity: 1;
}

.arrow-shape-marine {
  fill: var(--marine);
}

/* ========================================================= */
/* 🟦 10 — SECTION TÉMOIGNAGES CLIENTS */
/* ========================================================= */

.testimonial-section {
  background-color: var(--gris-clair);
  padding: 6rem 2rem;
  font-family: var(--font-main);
}

.testimonial-title {
  text-align: center;
  color: var(--marine);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 5rem;
  text-transform: uppercase;
}

.testimonial-section h4 {
  position: absolute;
  width: 100vw;
  text-align: center;
  font-size: var(--font-size-md);
  margin-top: 2.5rem;
  font-weight: 400;
  color: var(--marine);
}

.testimonial-row {
  display: grid;
  grid-template-columns: 1fr 230px 2fr;
  align-items: center;
  gap: 15rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-left {
  text-align: left;
  color: var(--black);
}

.testimonial-number {
  font-size: var(--font-size-sm);
  color: var(--marine);
  margin: 0 0 0.5rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  margin: 0;
}

.testimonial-company {
  font-size: var(--font-size-sm);
  font-weight: 400;
  margin: 0.2rem 0;
  color: var(--marine3);
}

.testimonial-logo {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.testimonial-text {
  font-size: var(--font-size-sm);
  color: var(--black);
  line-height: 1.6;
  text-align: left;
}

/* Responsive témoignages */
@media (max-width: 900px) {
  .testimonial-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-left {
    margin-bottom: 1rem;
    text-align: center;
  }

  .testimonial-text {
    text-align: center;
    margin-top: 1rem;
  }

  .testimonial-logo {
    margin: 1.5rem auto;
  }
}

/* ========================================================= */
/* 🟫 11 — SECTION FORMULAIRE DE CONTACT */
/* ========================================================= */

.contact-form-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  background-color: var(--gris-clair);
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 1000;
}

.contact-form-images {
  position: relative;
  width: 33%;
  height: 100vh;
  overflow: hidden;
}

.contact-form-images .img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleY(-1);
  z-index: 0;
}

.contact-form-images .img-overlay {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.contact-form-content {
  padding: 4rem;
  width: 67%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1001;
}

.contact-form-container * {
  pointer-events: auto !important;
}

.contact-form-content h2 {
  font-size: var(--font-size-xl);
  font-weight: bold;
  margin-bottom: 4rem;
  color: var(--marine);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-row input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--marine);
  padding: 0.5rem;
  background-color: transparent;
  color: var(--marine);
  font-size: 0.95rem;
}

.input-row input:focus {
  outline: none;
  border-bottom-color: var(--ciel);
}

/* Zone de texte */
.textarea-group {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.textarea-group textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--marine);
  padding: 0.5rem;
  resize: vertical;
  background-color: transparent;
  color: var(--marine);
  font-size: 0.95rem;
}

.textarea-group textarea::placeholder {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.textarea-group textarea:focus::placeholder {
  opacity: 0;
}

/* Checkboxes */
.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--marine3);
}

.checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--marine);
  cursor: pointer;
}

.checkboxes input[type='checkbox'] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--marine);
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.checkboxes input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid var(--marine);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Bouton envoyer */
.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.form-submit button {
  background-color: transparent;
  border: 2px solid var(--marine);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  color: var(--marine);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit button:hover {
  background-color: var(--marine);
  color: #faf5e0;
  border-color: var(--gris-clair);
}

/* ========================================================= */
/* 🟩 12 — SECTION FOOTER (PIED DE PAGE) */
/* ========================================================= */

.footer {
  background: #111;
  color: var(--gris-clair);
  font-family: 'Inter', sans-serif;
  padding: 4rem 2rem 2rem;
}

.footer a {
  color: var(--gris-clair);
  opacity: 0.85;
  text-decoration: none;
  font-size: 1rem;
}

.footer a:hover {
  opacity: 1;
  color: white;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo-col {
  flex: 1 1 220px;
  text-align: center;
}

.footer-logo {
  width: 15vw;
  height: auto;
  object-fit: contain;
}

.footer-info-col {
  flex: 1 1 200px;
  text-align: left;
  cursor:context-menu;
}

.footer-info-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-info-col p {
  font-size: 0.95rem;
  margin: 0.4rem 0;
  transition: opacity 0.4s ease-in-out, transform 0.2s ease-in-out;
  cursor: pointer;
}

/* Séparateur horizontal */
.footer-divider {
  height: 1px;
  background: #333;
  margin: 2rem 0;
}

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

.footer-note {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* Menu de navigation arrondi */
.footer-nav {
  display: inline-flex;
  background: var(--gris-clair);
  border-radius: 999px;
  overflow: hidden;
  padding: 5px;
  margin: 0 auto 1.2rem;
  flex-wrap: wrap;
  transition: opacity 0.4s ease-in-out, transform 0.2s ease-in-out;
  cursor: pointer;
}

.footer-nav-item {
  background: transparent;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #111;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 999px;
  transition: opacity 0.4s ease-in-out, transform 0.2s ease-in-out;
  cursor: pointer;
}

.footer-nav-item.active {
  background: var(--marine);
  color: white;
}

.footer-nav-item:hover {
  background: var(--ciel);
  color: var(--black);
  transition: opacity 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Crédit site */
.footer-credit {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  transition: opacity 0.4s ease-in-out, transform 0.2s ease-in-out;
}

.footer-credit:hover {
  cursor: pointer;
  opacity: 1;
  transform: scale(1.01);
}



/* ========================================================= */
/* 📱 13 — MEDIA QUERIES GÉNÉRALES */
/* ========================================================= */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .intro h1,
  .outro h1 {
    width: 100%;
  }


  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-info-col,
  .footer-logo-col {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}


/* TEST RESPONSIVE */ 

/* =============== RESPONSIVE ADAPTATIONS =============== */
@media (max-width: 1760px) {
  .logo {
    width: 100%;
    height: 100%;
  }

  .team-about-section {
    height: auto;
  }


  .mediaqueries-h2 {
    display: flex;
  }

  .desktop-h2 {
    display: none;
  }

  .team-about-title h2{
    width: 95vw;
    margin-bottom: 3.5rem;    
    font-size: var(--font-size-xxxl);
  }

  .team-about-button {
    margin-top: 1.75rem;
  }

  .team-about-list {
    width: 50%;
    height: 50vw;
  }
  
  .presentation-content {
    padding-inline-start: 5rem;
    display: flex;
    flex-direction: column;
  }

  .presentation-content img{
    width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    left: 0;
  }

  .presentation-conclusion img{
    width: 15vw;
  }

  .outro h1 {
    width: 95vw;
  }

  .testimonial-row {
    grid-template-columns: 25vw 20vw 25vw;
    gap: 10vw
  }

  .contact-form-images .img-overlay {
    display: none;
  }
}

@media (max-width: 1440px) {
  .logo {
    width: 100%;
    height: 100%;
  }

  .team-about-section {
    height: auto;
  }

  .mediaqueries-h2 {
    display: flex;
  }

  .desktop-h2 {
    display: none;
  }

  .team-about-title h2{
    width: 95vw;
    margin-bottom: 3.5rem;    
    font-size: var(--font-size-xxxl);
  }

  .team-about-button {
    margin-top: 1.75rem;
  }

  .team-about-list {
    width: 50%;
    height: 50vw;
  }
  
  .presentation-content {
    padding-inline-start: 5rem;
    display: flex;
    flex-direction: column;
  }

  .presentation-content img{
    width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    left: 0;
  }

  .presentation-conclusion img{
    width: 15vw;
  }

  .outro h1 {
    width: 95vw;
  }

  .testimonial-row {
    grid-template-columns: 25vw 20vw 25vw;
    gap: 10vw
  }

  .contact-form-images .img-main {
    transform: scaleY(1);
  }

  .contact-form-images .img-overlay {
    display: none;
  }
}

@media (max-width: 1200px) {

  .logo {
    width: 100%;
    height: 100%;
  }

  .team-about-section {
    height: auto;
  }

  .spacer-1-section-header {
    height: 10vh;
  }

  .mediaqueries-h2 {
    display: flex;
  }

  .desktop-h2 {
    display: none;
  }

  .team-about-title h2{
    width: 95vw;
    margin-bottom: 3.5rem;    
    font-size: var(--font-size-xxxl);
  }

  .team-about-button {
    margin-top: 1.75rem;
  }

  .team-about-list {
    width: 50%;
    height: 50vw;
  }
  
  .presentation-content {
    padding-inline-start: 5rem;
    display: flex;
    flex-direction: column;
  }

  .presentation-content img{
    width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    left: 0;
  }

  .presentation-conclusion img{
    width: 15vw;
  }

  .outro h1 {
    width: 95vw;
  }

  .testimonial-row {
    grid-template-columns: 25vw 20vw 25vw;
    gap: 10vw
  }

  .contact-form-images .img-overlay {
    display: none;
  }
}

@media (max-width: 992px) {
  :root {
    --font-size-xxxl: 7rem;
    --font-size-xxl: 4rem;
    --font-size-xl: 2.5rem;
    --font-size-lg: 2rem;
  }
  
  .team-about-section {
    flex-direction: column;
    height: auto;
    width: 100vw;
    padding: 4rem 2rem;
  }

  .team-about-title {
    max-width: 90vw;
  }

  .desktop-h2 {
    display: none;
  }
  
  .mediaqueries-h2 {
    display: flex;
    justify-content: start;
    align-items: start;
    left: 0;
    width: 100vw;
    font-size: 0px;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  
  .team-about-list {
    width: 400px;
    height: 400px;
  }
  
  .bx-A98u {
    min-height: 27.5vh;
  }

  .presentation-content {
    flex-direction: column;
    padding-inline-start: 0;
    text-align: center;
  }
  
  .presentation-image {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100vw;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-xxxl: 5rem;
    --font-size-xxl: 3rem;
    --font-size-xl: 2rem;
    --font-size-lg: 1.5rem;
  }
  
  .logo {
    width: 100vw;
  }
  
  .spacer-CV-jaune-container,
  .spacer-CV-marine-container,
  .spacer-CV-ciel-container {
    padding: 1.5rem;
  }
  
  .spacer-line,
  .spacer-line-marine,
  .spacer-line-ciel {
    margin-inline: 1rem;
  }

  .btn-about-ctner { 
    margin: 1vh;
    margin-bottom: 0;
  }

  .team-about-button {
    margin-top: 0;
    margin: 0;
  }

  .team-about-title {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    font-size: 10rem;
    margin: 0;
    top: 0;
    left: 0;
    max-width: 100vw;
    width: 100%;
  }

  .team-about-list {
    width: 50vw;
    gap: 0;
  }

  .team-abouts {
    gap: 2rem;
    width: 90vw;
    margin: 0;
    padding: 0;
  }
  
  .container-button-about {
    height: auto;
  }
  
  .contact-form-container {
    flex-direction: column;
    height: auto;
  }
  
  .contact-form-images,
  .contact-form-content {
    width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    width: 50vw;
  }
}

@media (max-width: 576px) {
  :root {
    --font-size-xxxl: 3.5rem;
    --font-size-xxl: 2.5rem;
    --font-size-xl: 1.8rem;
    --font-size-lg: 1.2rem;
    --font-size-md: 1.1rem;
  }

  .team-about-section {
    padding-inline: 0;
  }
  
  .team-about-list {
    width: 45vw;
    height: 25vh;
    margin-top: 0;
  }

  .team-abouts {
    display: flex;
    justify-content: center;
    width: 100vw;
    gap: 2vw;
  }

  .team-about-title {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    font-size: 10rem;
    padding-left: 2rem;
    margin: 0;
    top: 0;
    left: 0;
    max-width: 100vw;
    width: 100%;
  }
  
  .bx-A98u {
    min-width: 100%;
  }
  
  .input-row {
    flex-direction: column;
    gap: 0;
  }

  .testimonial-logo {
    width: 100px;
    height: 100px;
  }

  .testimonial-row {
    grid-template-columns: 5vw 15vw 35vw;
    gap: 15vw;
    padding-inline: 0;
  }

  .contact-form-images {
    position: relative;
    width: 100vw;
    height: 33.3vh;
    overflow: hidden;
  }
  

}

/* Orientation paysage */
@media (max-height: 500px) and (orientation: landscape) {
  .logo {
    height: 80vh;
  }
  
  section {
    min-height: 100vh;
  }
}


/* ===========================
   🔁 RESPONSIVE DESIGN
   =========================== */

/* TABLETTE portrait et petits laptops */


/* SMARTPHONES grands (iPhone X, Pixel, etc.) */
@media screen and (max-width: 768px) {

  
}

/* SMARTPHONES petits (≤ 480px) */
@media screen and (max-width: 480px) {
  .contact-form-images {
    height: 25vh;
  }

  .contact-form-images .img-overlay {
    display: none;
  }

  .contact-form-content h2 {
    font-size: var(--font-size-md);
  }

  .contact-form-content {
    padding: 1.5rem 1rem;
  }

  .checkboxes {
    font-size: 0.75rem;
  }

  .checkboxes input[type='checkbox'] {
    width: 14px;
    height: 14px;
  }

  .form-submit button {
    font-size: 0.95rem;
    padding: 0.9rem;
  }
  .contact-form-container {
    flex-direction: column;
    height: auto;
  }

  .contact-form-images {
    width: 100%;
    height: 35vh;
  }

  .contact-form-images .img-overlay {
    width: 40%;
    height: auto;
    top: 50%;
    left: 30%;
    transform: translate(-30%, -50%);
  }

  .contact-form-content {
    width: 100%;
    padding: 2.5rem 2rem;
  }

  .input-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-submit {
    justify-content: center;
  }
  .contact-form-images {
    height: 30vh;
  }

  .contact-form-images .img-overlay {
    width: 50%;
    top: 50%;
    left: 25%;
  }

  .contact-form-content h2 {
    font-size: var(--font-size-lg);
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .contact-form-content {
    padding: 2rem 1.5rem;
  }

  input,
  textarea {
    font-size: 0.9rem;
  }

  .form-submit button {
    width: 100%;
    padding: 1rem;
  }
}

/* ==========================================================================
   🌐 ULTRA RESPONSIVE BREAKPOINTS — CAP VISION
   ========================================================================== */

/* Smartphones très petits (iPhone SE, Fold fermé) */
@media screen and (max-width: 380px) {
  html { font-size: 14px; }
  .hero-title, h1, h2 { font-size: 1.8rem !important; }
}

/* Smartphones standards (jusqu'à iPhone 14 Pro Max) */
@media screen and (min-width: 381px) and (max-width: 480px) {
  html { font-size: 15px; }
  .hero-title, h1, h2 { font-size: 2rem !important; }
  .grid, .row { flex-direction: column; gap: 1.5rem; }
  .card { width: 100% !important; }
}

/* Mobiles larges et tablettes en mode portrait */
@media screen and (min-width: 481px) and (max-width: 768px) {
  html { font-size: 16px; }
  .header, .section, .footer { padding: 2rem 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Tablettes et petits laptops */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  html { font-size: 17px; }
  .container { padding: 0 3rem; }
  .section-title { font-size: 2.5rem; }
  .image-right, .image-left { width: 100%; max-width: 100%; }
}

/* Écrans standards et large (desktop, iMac, UltraWide) */
@media screen and (min-width: 1025px) {
  html { font-size: 18px; }
  .hero-title { font-size: 4rem; }
}

/* ===================== */
/* 🌍 UNIVERSAL BREAKPOINTS - HIGH PRECISION */
/* ===================== */

/* iPhone 16 */
@media screen and (width: 393px) and (height: 852px) {
  html { font-size: 15.5px; }
}

/* iPhone SE - XS */
@media screen and (max-width: 375px) {
  html { font-size: 14px; }
}

/* iPhone XR - 12 - 14 Pro */
@media screen and (min-width: 376px) and (max-width: 430px) {
  html { font-size: 15.5px; }
  .hero-title, h1 { font-size: 2rem !important; }
}

/* Google Pixel, Galaxy S8+, S20 Ultra, A51/71 */
@media screen and (min-width: 431px) and (max-width: 600px) {
  html { font-size: 16px; }
  .section, .container { padding: 0 1rem; }
}

/* iPad Mini / Air / Pro Portrait */
@media screen and (min-width: 601px) and (max-width: 834px) and (orientation: portrait) {
  html { font-size: 17px; }
  .section-title { font-size: 2.4rem; }
}

/* iPad Pro / Surface Pro Landscape */
@media screen and (min-width: 835px) and (max-width: 1100px) {
  html { font-size: 18px; }
}

/* Foldables & Duo (narrow) */
@media screen and (max-width: 540px) and (max-height: 720px) {
  html { font-size: 15px; }
  .container, .section { padding: 0.5rem; }
}

/* Laptops 13"-15" */
@media screen and (min-width: 1101px) and (max-width: 1439px) {
  html { font-size: 18px; }
}

/* HD Screens / Macbook 16" / iMac */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
  html { font-size: 19px; }
  .hero-title { font-size: 4.5rem; }
  .card-title h1 {
    font-size: var(--font-size-xl);
    margin: 0;
    padding: 0;
    line-height: 92%;
  }

  .card-desc-benefit-item {
    width: 170px;
    height: 180px;
  }

  .card-desc-benefit-item p{
    font-size: 0.75rem;
  }

  .card-desc-objectif {
    font-size: var(--font-size-mm);
    color: white;
  }
}


/* === 🔧 1. Téléphones < 360px (iPhone SE, Galaxy A01, etc.) === */
@media screen and (max-width: 359px) {

  .team-name::after {
    display: none; /* supprimer "Sunrise" */
  }

  .team-name {
    font-size: 1.4rem;
    margin: 0 auto;
  }
}

/* === 🔧 2. Section "NOTRE FORCE ?" pour < 768px === */
@media screen and (max-width: 767px) {
  .notre-force-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .notre-force-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .notre-force-container p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .notre-force-container img {
    width: 100vw;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }
}

/* === 🔧 3. Bouton "EN SAVOIR PLUS" : unifier l’apparence mobile/tablette === */
@media screen and (max-width: 1024px) {
  .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #b7d0ed;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }

  .cta-button svg {
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
  }

  .cta-button .icon-circle {
    background-color: #f2eae4;
    border-radius: 50%;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* === 🔧 4. Carrés avec pictos (engagement durable, etc.) sur tablettes/foldables === */
@media screen and (max-width: 1024px) {
  .engagement-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .engagement-block .picto {
    width: 80px !important;
    height: 80px !important;
    font-size: 1.5rem;
  }

  .engagement-block h3 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  .engagement-block p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 1919px) {
  .card-title h1 {
    font-size: var(--font-size-xl);
    margin: 0;
    padding: 0;
    line-height: 85%;
  }
}