@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Couleurs principales */
  --color-primary: #232323;
  --color-white: #ffffff;
  --color-light-grey: #f2f2f2;
  --color-bg: #fafafa;
  --color-border: #dddddd;

  /* Overlay et effets */
  --color-overlay: rgba(0,0,0,0.45);

  /* Accent (CTA / hover / liens) */
  --color-accent: #d59a9B;  

  /* Typographie globale */
  --font-main: 'Montserrat', sans-serif;
  --font-thin: 200;
  --font-regular: 400;
  --font-bold: 700;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 200;
  color: var(--color-primary);
  background: var(--color-white);
  transition: background 0.3s, color 0.3s;
}

.cta-button{
  background: var(--color-primary);
  color:var(--color-white);
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 50px;
}
.cta-button:hover{
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* HEADER */
.main-header {
  position: absolute;             
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 2000;

  transition:
    top 0.45s ease,
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Quand le header est dans le HERO */
.main-header.in-hero {
  position: absolute;
  background: white-transparent;
  backdrop-filter: none;
}

/* Quand il devient fixe après scroll */
.main-header.fixed {
  position: fixed;
  top: 15px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Disparition quand on scroll down */
.main-header.hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

/* Réapparition + blur */
.main-header.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* LOGO */
.logo img {
  height: 42px;
  background: var(--color-white);
  border-radius: 8px 0 8px 0;
  padding: 10px;
}
.main-header .lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header .lang-switch a {
  display: inline-block;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-white);
  border-radius: 20px;
  font-weight: var(--font-regular);
  font-size: 0.85rem;
  color: var(--color-white);
  opacity: 0.9;
  transition: all 0.25s ease;
}

/* Hover */
.main-header .lang-switch a:hover {
  opacity: 1;
}

/* Active */
.main-header .lang-switch a.active {
  background: var(--color-white);
  color: var(--color-primary);
  opacity: 1;
}

/* IMPORTANT : couleur bascule automatiquement en mode “fixed” */
.main-header.fixed .lang-switch a {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.main-header.fixed .lang-switch a.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* HAMBURGER — blanc dans le hero */
.main-header.in-hero .hamburger span {
  background: var(--color-white) !important;
}

/* HAMBURGER — noir en mode fixe */
.main-header.fixed .hamburger span {
  background: var(--color-primary) !important;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;        /* espace entre hamburger et langues */
  margin-right: 30px;
  flex-direction: row !important; /* force côte à côte */
}
.hamburger {
  width: 35px;
  height: 20px;
  display: flex;
  border: none;
  background: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 3px;
  transition: background 0.3s;
}


/* DARK MODE */
/* .dark-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.3s;
  will-change: color;
  margin-right: 30px;
} */

/* MENU LATÉRAL */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 3500;
  padding-top: 80px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}
.side-menu.open { right: 0; }

.side-menu ul { list-style: none; padding: 0; }
.side-menu li { margin: 1.5rem 0; text-align: center; }
.side-menu a {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 600;
}

.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3000;
}
.side-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  font-size: 2rem;
  cursor: pointer;
  color: #232323;
}

/* LANGUES */
/* Conteneur langues dans l’overlay */
.side-menu .lang-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 30px;
}

.side-menu .lang-switch a {
  display: inline-block;
  color: #232323;
  text-decoration: none;
  border: 1px solid #232323;
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  transition: 0.25s;
}

.side-menu .lang-switch a:hover {
  opacity: 1;
}

.side-menu .lang-switch a.active {
  background: #232323;
  color: #fff;
  opacity: 1;
}


.side-menu-logo {
  width: 100%;
  text-align: center;
  margin-top: 500px;
  padding-bottom: 10px;
}

.side-menu-logo img {
  width: 80px;        /* taille réduite */
  height: auto;
  display: block;
  margin: 0 auto;     /* centre horizontalement */
  opacity: 0.9;
}


/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; 
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 800px;
  border: 8px solid #fff; 
  border-radius: 30px 30px 0px 30px; 
  overflow: hidden;
  background: url("assets/header_photo.png") center center no-repeat;
  background-size: cover;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* Bloc gauche */
.hero-left {
  position: absolute;
  bottom: 60px; 
  left: 30px; 
  color: var(--color-white);
  max-width: 650px;
}

.hero-left h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero-left .cta-button {
  display: inline-block;
  margin-top: 100px; 
  border-radius: 40px;
  padding: 0.9rem 1.4rem;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight:var(--font-regular);
  transition: background 0.2s, color 0.2s;
  background-color: var(--color-white);
  color: var(--color-primary);
}

.hero-left .cta-button:hover{
  background-color: var(--color-accent);
  color: var(--color-white);
}


/* Bloc droit (encart gris collé en bas à droite) */
.hero-right-box {
  position: absolute;
  right: 0; 
  bottom: 0; 
  background: var(--color-bg);
  padding: 2rem 2.2rem;
  border-radius: 25px 0px 0px 0px; 
  max-width: 400px;
  font-size: 1.05rem;
  line-height: 1.6;
  border-top: 15px solid var(--color-white);
  border-left: 15px solid var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-right-box h2{
  font-weight: var(--font-regular);
}

/* SECTION METHODS */
.methods {
  padding: 30px 0;
}

.methods-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1%; /* même marge que le hero */
}

.methods h2 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 30px;
  color: var(--color-primary);
}

/* ENCADRÉ GLOBAL */
.methods-grid {
  border: 1px solid var(--color-primary);
  background: #F4F1E8;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* GRILLE DES CARTES */
.methods-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: space-between;
}

/* CARTES */
.method-card {
  position: relative;
  background: none;
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  min-height: 300px;
}

.method-card .icon {
  width: 35px;
  height: 35px;
  margin-bottom: 25px;
}

.method-card .icon img {
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

.method-card h3 {
  font-size: 1.4rem;
  font-weight: var(--font-regular);
  line-height: 1.2;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  /* overflow: hidden; */
  word-wrap: break-word;
  min-height: 3.2rem;
}

.method-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #232323;
}

/* HOVER */
.method-card:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.method-card:hover h3,
.method-card:hover p {
  color: var(--color-white);
}

.method-card:hover .icon img {
  filter: invert(100%) brightness(200%);
}

/* CTA + CHEVRONS */
.methods-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.methods-footer .cta-button {
  border-radius: 40px;
  padding: 0.9rem 1.4rem;
  margin-top: 40px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: var(--font-regular);
  transition: background 0.2s, color 0.2s;
}

.methods-footer .cta-button:hover {
  background: transparent;
  border: 1px solid #000;
}

.scroll-top {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.scroll-top img {
  width: 36px;
  height: auto;
  transition: filter 0.3s ease;
  filter: invert(0%) sepia(100%) saturate(0%) hue-rotate(0deg);
}

.scroll-top:hover img {
  filter: invert(48%) sepia(20%) saturate(500%) hue-rotate(330deg);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* SECTION SOLUTIONS */
.solutions {
  background: #fff; 
  padding: 30px 0;
}

.solutions-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%; 
}

.solutions h2 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 30px;
  color: var(--color-primary);
  text-align: left;
}

/* GRILLE DES CARTES */
.solutions-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  justify-content: space-between;
}

/* CARTES */
.solution-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  height: 100%;
  min-height: 350px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.solution-card img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 50%;
  max-height: 400px;
}

.solution-card h3 {
  font-size: 1.3rem;
  font-weight: var(--font-regular);
  margin: 20px 20px 10px 20px;
  line-height: 1.2;
}

.solution-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #232323;
  margin: 0 20px 20px 20px;
}

/* HOVER */
.solution-card:hover {
  background: #D59A9B; 
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.solution-card:hover h3,
.solution-card:hover p {
  color: #fff;
}

/* FOOTER CTA + FLECHES */
.solutions-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.solutions-footer .cta-button {
  border-radius: 40px;
  padding: 0.9rem 1.4rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.solutions-footer .cta-button:hover {
  background: transparent;
  border: 1px solid #000;
}

.solutions-footer .scroll-top {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.solutions-footer .scroll-top img {
  width: 36px;
  height: auto;
}

.solutions-footer .scroll-top:hover {
  transform: translateY(-4px);
}

/* SECTION À PROPOS */
.about {
  padding: 30px 0;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%; /* aligné avec le reste du site */
}

.about h2 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 30px;
  color: var(--color-primary);
}

/* Image à gauche / texte à droite */
.about-content {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Colonne de texte */
.about-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Blocs individuels */
.about-block {
  /* margin-bottom: 5px; */
  padding: 10px 10px;
  border-radius: 20px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.title-row img {
  width: 36px;
  height: 36px;
  transition: filter 0.3s ease;
}

.title-row h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.about-block:hover {
  background: #D59A9B; /* saumon */
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.about-block h3{
  font-weight: var(--font-regular);
}
.about-block p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}



/* Footer CTA */
.about-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.about-footer .cta-button {
  background: var(--color-primary);
  color:var(--color-white);
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 50px;
}

.cta-button:hover {
  background: transparent;
  color: black;
  border: 1px solid black;
}

.scroll-top img {
  width: 32px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.scroll-top img:hover {
  transform: translateY(-4px);
}

/* contact */
/* ----- SECTION CONTACT ----- */

.contact {
  padding: 80px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2.4rem;
  margin-left: 3%;
  margin: 0 auto 40px auto;
}

/* CONTENEUR PRINCIPAL */
.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

/* COLONNE GAUCHE */
.contact-left {
  width: 55%;
}

.contact-subtitle {
  font-size: 1.9rem;
  font-weight: var(--font-regular);
  margin-bottom: 30px;
}


/* 2 colonnes pour les infos */
.contact-info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 100px;
}

/* Bloc info */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;  
}

.info-item a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: var(--font-regular);
}

.info-icon {
  width: 26px;
  height: 26px;
  margin-right: 20px;
}

.info-content p {
  margin: 0px 0;
  font-weight: var(--font-regular);
}

.divider {
  border: none;
  border-top: 1px solid #ccc;
  width: 80%;
  margin: 1px 0;
}

/* COLONNE DROITE (FORMULAIRE) */
.contact-right {
  width: 40%;
  background: #F4F1E8;
  padding: 30px;
  border-radius: 10px;
}

.contact-right label {
  font-weight: var(--font-regular);
  margin-top: 15px;
  display: block;
}

.form-title{
  font-size: 2.1rem;
  font-weight: 500;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 10px;
  margin-top: 1px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #fff;
}

.contact-right textarea{
  height: 80px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-wrapper label {
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}


.btn-submit {
  margin: 20px auto 0;
  display: block;
  width: 80%;
  padding: 0.9rem 1.4rem;
  font-size: 1.1rem;
  cursor: pointer;
  background: #000;
  color: #fff;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-submit:hover {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

/* ----- MESSAGE SUCCÈS ----- */
.form-success {
  background: #e2ffd9;
  padding: 12px;
  border-left: 4px solid #27ae60;
  margin-bottom: 20px;
}

/*          FOOTER               */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 3%;
  font-size: 0.95rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ----- PARTIE GAUCHE ----- */

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  margin: 0;
  font-weight: 500;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ----- PARTIE DROITE ----- */

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-item a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: var(--font-thin);
}

.footer-icon {
  width: 22px;
  height: 22px;
}

.linkedin:hover span {
  text-decoration: underline;
}


/* legal */

.hero-legal {
  position: relative;
  width: 93%;
  margin: auto;
  margin-top: 13px;
  height: 65px;                 /* hauteur que tu veux */
  display: flex;
  align-items: center;          /* centre verticalement le texte */
  border-radius: 50px; 
  background: var(--color-accent);
  overflow: hidden;
  color: #fff;
}

/* texte interne – plus propre */
.hero-legal h1{
  text-align: center;
}
.hero-legal h2,
.hero-legal p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.95rem;
  max-width: 90%;
  margin: 20px 3%;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #6b7280; /* muted */
}
.breadcrumb li a {
  color: #374151;
  text-decoration: none;
}
.breadcrumb li + li::before {
  content: "›";
  display: inline-block;
  margin: 0 8px;
  color: #d1d5db;
  font-weight: 600;
  transform: translateY(-1px);
}

/* Container + doc spacing (réglages mineurs) */
.doc {
  max-width: 92%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: justify;
}

.doc .text {
  margin-bottom: 18px;
  white-space: pre-wrap;
  line-height: 1.55;
}

/* Accessibility focus for breadcrumb links */
.breadcrumb a:focus,
.breadcrumb a:hover {
  text-decoration: underline;
  outline: none;
}

.doc {
  padding: 20px 0;
  text-align: justify;
  max-width: 90%;
  margin: 0 auto;
}

/* Small devices: compact breadcrumb */


