/* ================= POLICES LOCALES ================= */

/* --- Roboto Sans (texte courant) --- */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* --- Roboto Serif (titres & variantes) --- */
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif_120pt-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

/* ================= VARIABLES CSS ================= */
:root {
  --font-sans: 'Roboto', sans-serif;
  --font-serif: 'Roboto Serif', serif;
}



/* ================= VARIABLES GLOBALES ================= */
:root {
  --primary-blue: #0077C0;
  --light-blue: #9ad4e1; 
  --dark-blue: ##9ad4e1;
  --light-grey: #f8f9fa;
  --white: #ffffff;
  --text-color: #343a40;
  --text-muted: #6c757d;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  --border-radius: 24px;
}


/* ================= RESET ================= */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
	
Img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; color: var(--text-color); }

/* ================= MENU FLOTTANT SUR LE VISUEL ================= */
#overlay-menu {
  position: absolute;
  top: 5%;
  left: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2000;
  background: none;
  pointer-events: auto;
}

.overlay-logo Img {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
}

.overlay-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.overlay-links a {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
  position: relative;
  transition: all 0.3s ease;
}

.overlay-links a:hover {
  color: var(--primary-blue);
  opacity: 1;
}

.overlay-links li.active a {
 /* font-weight: 700;
  color: #ffffff;*/
}

.overlay-links li.active a::after {
  position: absolute;
  right: -22px;
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

/* ================= SECTIONS & TYPOGRAPHIE ================= */
.section-container {
  padding: 6rem 2rem;
  position: relative;
}

.content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

h1, .section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.2;
}
h1 { font-size: clamp(3rem, 5.5vw, 4.5rem); }
.section-title { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 3rem; }
.section-title.left-align { text-align: left; }

h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.large-text {
  font-size: 3rem;
  line-height: 1.7;
  font-weight: 600;
  max-width: 900px;
}

/* ================= HERO ================= */
/* --- HERO simple : menu + contenu, pas de JS --- */
#hero{
 /* position:relative;
  min-height:100vh;
  background-image:url('./../Img/pluie.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;*/
}
.hero-overlay{position:absolute; inset:0; background:rgba(13,47,75,0); z-index:1;}

.hero-inner{
  position:relative; z-index:2;
  display:flex; align-items:flex-start; gap:2.5rem; padding:0 2rem;
}

/* Colonne gauche (menu) */
.hero-menu{ width:220px; padding-top:1rem; }
.hero-menu .overlay-logo Img{ width:120px; height:auto; margin-bottom:1.5rem; filter:drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.hero-menu .overlay-links ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:1rem; }
.hero-menu .overlay-links a{ color:#424251; text-decoration:none; font-weight:500; text-shadow:0 3px 6px rgba(0,0,0,.5); }

/* Colonne droite : démarre SOUS le menu (sous “Contact”) */
.hero-content{
  max-width:1200px; text-align:left;
  margin-top:9rem;   /* ← AJUSTE CETTE VALEUR pour caler pile sous “Contact” */
  margin-left:0;   /* ← AJUSTE CETTE VALEUR pour caler pile sous “Contact” */
}

.hero-content p {
  text-align: left;
  margin-left: 0;
}


/* Titre en haut à droite */
.hero-brand{
  position:absolute; top:4%; right:5%;
  font-family:'MinionPro', serif; font-weight:normal;
  font-size:clamp(2.8rem,4vw,4.2rem); letter-spacing:.05em; color:#fff;
  text-shadow:0 4px 12px rgba(0,0,0,.4); z-index:3; pointer-events:none;
}

/* Texte du hero */
#hero h1,#hero p{ color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.5); }
#hero h1{ font-size:clamp(3rem,5vw,4.5rem); line-height:1.2; margin-bottom:1.5rem; }
#hero p{ font-size:1.15rem; margin-bottom:2rem; max-width:850px; }

/* (optionnel) responsive rapide */
@media (max-width:992px){
  .hero-inner{ flex-direction:column; }
  .hero-menu{ width:auto; }
  .hero-content{ margin-top:1rem; }
}


#hero .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  /*background-color: var(--white);*/
  color: var(--dark-blue);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--white);
}

#hero .cta-button:hover {
  transform: translateY(-3px);
  background-color: transparent;
  color: var(--white);
}



#contact-cta .cta-button {
 /* background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);*/
}
#contact-cta .cta-button:hover {
  /*background-color: var(--dark-blue);
  border-color: var(--dark-blue);*/
}

/* ================= ÉLÉMENTS SPÉCIFIQUES ================= */
.light-bg { background-color: var(--light-grey); }
.colored-banner {
  background-color: var(--light-blue);
  border-radius: var(--border-radius);
  margin: 0 2rem;
}


/* ================= SECTION À PROPOS (STYLE MAGAZINE) ================= */
.apropos-banner {
  background-color: var(--light-blue);
  color: var(--white);
  padding: 4rem 6rem;
  border-radius: 0;
}

.apropos-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
   align-items: center; /* ✅ Centre verticalement la colonne gauche */
  min-height: 350px;   /* ✅ Permet un vrai centrage vertical */
}

.apropos-left p,
.apropos-right p {
  font-family: 'Roboto Serif', serif;
  line-height: 1.8;
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
   
}

.apropos-left p {
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  max-width: 95%;

}

.apropos-right p {
  font-weight: 300;
  font-size: 1.15rem;
  opacity: 0.95;
}

.apropos-banner strong {
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.apropos-banner em {
  font-style: italic;
  font-weight: 300;
  color: #ffffff;
}

@media (max-width: 992px) {
  .apropos-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .apropos-left p {
    font-size: 1.3rem;
  }
  .apropos-right p {
    font-size: 1.1rem;
  }
}


.text-white,
.text-white p,
.text-white strong,
.colored-banner .section-title {
  color: var(--white) !important;
}
.text-white strong { color: var(--white); }

.two-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}
.stats-number {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--dark-blue);
  line-height: 1;
  font-weight: 700;
  margin: 1rem 0;
}
.image-frame {
  padding: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
}
.image-frame Img {
  border-radius: calc(var(--border-radius) - 1rem);
}
.text-block-left { text-align: left; }
.text-block-left p {
  max-width: 100%;
  margin: 0 0 1rem 0;
}

.cycle-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.cycle-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.cycle-column Img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.sector-card {
  background: var(--white);
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.sector-card:hover { transform: translateY(-10px); }
.sector-card Img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.sector-content {
  padding: 1.5rem;
  text-align: left;
  flex-grow: 1;
}

/* ================= FOOTER ================= */
footer {
  background-color: var(--light-blue);
  color: var(--white);
  padding: 5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  text-align: left;
  align-items: start;
}
.footer-logo {
  width: 220px;
 /* filter: brightness(0) invert(1);*/
  margin-bottom: 1rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer-col p {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
}
.footer-col:last-child { align-items: flex-end; }
.advisor-logo { max-width: 100px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ================= ANIMATIONS ================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .2s; }
.animate-on-scroll.delay-2 { transition-delay: .4s; }
.animate-on-scroll.delay-3 { transition-delay: .6s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .two-columns-grid, .cycle-grid-container { grid-template-columns: 1fr; }
  .text-block-left, .stats-text { text-align: center; }
  .section-title.left-align { text-align: center; }
}

@media (max-width: 768px) {
  #overlay-menu { left: 6%; top: 3%; }
  .overlay-logo Img { width: 90px; margin-bottom: 1.5rem; }
  .overlay-links a { font-size: 1rem; }
  h1 { font-size: 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col,
  .footer-col:last-child { align-items: center; }
  .footer-logo { margin: 0 auto 1rem; }
  .colored-banner { margin: 0; border-radius: 0; }
}

.hero-brand {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 50%; /* ajuste selon la taille souhaitée */
  height: auto;
  z-index: 2100;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
/* ================= SECTION : Répartir l’eau de pluie ================= */
.section-rainworld {
  background-color: var(--white);
  color: var(--dark-blue);
  padding: 5rem 2rem 6rem 2rem;
  text-align: center;
}

.section-rainworld .section-title {
  font-family: 'Roboto Serif', serif;
  font-weight: 400;            /* texte fin comme sur l’image */
  font-style: normal;
  font-size: 2rem;
  line-height: 1.5;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.section-rainworld .section-subtitle {
  font-family: 'Roboto Serif', serif;
  font-weight: 700;            /* texte fort : "Récupérez, stockez, utilisez !" */
  font-size: 1.6rem;
  color: var(--dark-blue);
  margin-bottom: 3rem;
}

.section-rainworld img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* SECTION LOGO ACTONOMY CENTRÉE */
.section-container.colored-banner .content-wrapper {
  text-align: center;
}

.section-container.colored-banner img {
  display: block;
  margin: 0 auto 3rem auto; /* centre horizontalement + espace sous l’image */
}

.section-container.colored-banner p {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 auto;
  max-width: 800px;
  color: #ffffff;
}