/* ====== Syneria Brand Theme (Light) ====== */
:root {
  --brand: #19544e;       /* Vert principal */
  --accent: #d97d5a;      /* Terracotta pour accents émotionnels */
  --text: #3a3a3a;        /* Gris (texte) */
  --text-muted: #5a5a5a;  /* Gris adouci */
  --bg: #f8f8f5;          /* Blanc crème (fond) */
  --bg-soft: #eef3ef;     /* Légère teinte respirante */
  --card: #ffffff;
  --soft: #f2f6f4;        /* Variante douce/mintée */
  --highlight: #dfa93e;   /* Jaune (appels à l’attention) */
  --mint: #90c0ad;        /* Menthe pour surfaces secondaires */

  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}

/*Effet de défilement smooth*/
html {
  scroll-behavior: smooth;
}

/* Typography */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0 0 10px;
}
h1 { 
  font-size: clamp(32px, 5vw, 48px); 
  line-height: 1.1; 
}

h2 { 
  font-size: clamp(24px, 3.2vw, 32px); 
  line-height: 1.2; 
}

h3 { 
  font-size: clamp(18px, 2.4vw, 22px); 
  line-height: 1.25; 
}

p { 
  margin: 0 0 12px; 
  text-align: center; margin-top: 24px;
}
a { 
  color: inherit; 
  text-decoration: none; 
}

/* Layout */
.container { 
  width: min(1120px, 92vw); 
  margin: 0 auto; 
}
.section { 
  padding: 56px 0; 
}
.section-soft { 
  background: linear-gradient(0deg, rgba(144,192,173,0.10), rgba(144,192,173,0.10)); 
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
 /* backdrop-filter: blur(8px);*/
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  /*justify-content: flex-end; /* tout pousse vers la droite */
  gap: 20px;                 /* espace entre le logo et le bouton */
  padding: 14px 32px;
  width: 100%;
}

.nav-inner .btn-primary{ margin-left: auto; } /* pousse le bouton à droite */


.site-title {
  font-family: "Montserrat", sans-serif;
  font-size:30px;
  font-weight: 700;
  color: var(--brand);
  margin: 0;                 /* supprime le décalage vertical par défaut */
  padding-left: 32px; /* marge interne à gauche */
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;                 /* espace entre bouton et logo */
}

.nav-links {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 20px; /* Espace entre le logo et les liens */
}

.nav-links-centered {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-grow: 1; /* Prend tout l'espace disponible entre le logo et le bouton */
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
}

.nav .btn-primary {
  margin-right: 24px;
  color: #fff;
}

.nav .btn-primary {
  margin-right: 24px; /* espace entre le bord droit et le bouton */
}

.nav-links a:hover {
  color: var(--brand);
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 2px;
}

/* Conteneur du logo */
.logo {
  display: flex;
  align-items: center;
  margin-left: 24px; /* Marge à gauche pour éloigner du bord */
  margin-right: 20px; /* Espace entre le logo et les liens */
}

/* Logo image - Responsive et évolutif */
.logo-image {
  height: clamp(44px, 6vw, 52px);
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

@media(min-width: 1024px) {
  .logo-img {
    height: 40px;
  }
}
/* Transition entre sections */
.section { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: .6s ease; 
}
.section.visible { 
  opacity: 1; 
  transform: translateY(0); }

/* Hero */
.hero { 
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* hauteur minimum = toute la fenêtre */
  background: var(--bg-soft);
  text-align: center;
}

.hero-main{
  width: min(1120px, 92vw); /* largeur max et responsive */
  margin: 0 auto;           /* centre horizontalement */
  padding: 0 24px;          /* espace gauche/droite */
  text-align: center;       /* centre le texte à l'intérieur */
}

.hero-main h1{ 
  max-width: 980px; 
  margin: 0 auto 14px; 
}
.hero-main p{  
  max-width: 720px; 
  margin: 0 auto 18px; 
}

.hero-main .btn-primary {
  margin-left: 24px;
  margin-top: 18px;
}

.hero-card {
  background: var(--card);
  width: min(1120px, 92vw);
  margin: 0px auto ;
  padding: 0 24px;
  border-radius: var(--radius);
  box-shadow: none;
  border: none;
  
}
.why .container {
  width: min(1120px, 92vw); /* largeur max et responsive */
  margin: 0 auto;           /* centre horizontalement */
  padding: 0 24px;          /* espace gauche/droite */
  text-align: center;       /* centre le texte à l'intérieur */
}

.tag { 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  padding:6px 10px;
  border-radius: 999px; 
  border:1px solid rgba(0,0,0,.06); 
  background: #ffffff; 
  color: var(--text-muted); 
  font-size: 14px; 
}
.hero p { 
  color: var(--text); 
}
.accent { 
  color: var(--accent); 
}
.hero-card { 
  background: var(--card); 
  padding: 22px; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  border:1px solid rgba(0,0,0,.06); 
}
.muted { 
  color: var(--text-muted); 
}
.badge { 
  display:block; 
  margin-top: 10px; 
  color: var(--card); 
  font-size: 14px; 
}

/* Buttons */
.btn { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  gap:10px; padding: 12px 16px; 
  border-radius: 12px; 
  font-weight: 700; 
  cursor: pointer; 
  transition: .18s ease; 
}
.btn-primary { 
  background: var(--brand); 
  color: #fff; 
  border: 1px solid var(--brand); 
}
.btn-primary:hover { 
  filter: brightness(0.95); 
}
.btn-outline { 
  background: transparent; 
  color: var(--brand); 
  border: 2px solid var(--brand); 
}
.btn-outline:hover { 
  background: rgba(25,84,78,0.06); 
}

/* Cards & grids */
.grid { 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 18px; 
}
.card { 
  background: var(--card); 
  border: 1px solid rgba(0,0,0,.06); 
  border-radius: var(--radius); 
  padding: 22px; 
  box-shadow: var(--shadow); 
}
.card-note { 
  background: #fff7e8; 
  border-color: #ffe4b3; 
}
.steps { 
  display:grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 14px; 
}
.step { 
  background: var(--card); 
  border: 1px solid rgba(0,0,0,.06); 
  border-radius: var(--radius); 
  padding: 18px; 
}
.step b { 
  color: var(--highlight); 
  font-weight: 800; 
}

/* Contact */
.contact { 
 /* display:none;*/
  display:grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 22px; 
}
form { 
  background: var(--card); 
  border: 1px solid rgba(0,0,0,.08); 
  border-radius: var(--radius); 
  padding: 22px; 
  box-shadow: var(--shadow);
}
label { 
  display:block; 
  margin: 12px 0 6px; 
  font-weight:600; 
  color: var(--text); 
}
input, textarea, select { 
  width: 100%; 
  padding: 12px 2px; 
  border-radius: 12px; 
  border:1px solid rgba(0,0,0,.16); 
  background: #fff; 
  color: var(--text); 
  outline: none; 
  font: inherit;
 }
textarea { 
  min-height: 120px; 
  resize: vertical; }
input:focus, textarea:focus, select:focus { 
  box-shadow: 0 0 0 3px rgba(25,84,78,.18); 
  border-color: var(--brand); 
}

.form-actions { 
  display:flex; gap: 10px; align-items:center; margin-top:14px;
 }

/* Footer 

/* Pied de page avec vague verte */
/* ===== Footer vague ===== */
.footer-wave{
  position: relative;
  color: #fff;
  background: var(--brand);
  margin-top: 40px;
}

/* Vague supérieure qui sépare le contenu blanc et le footer vert */
.footer-wave .wave-top{
  display: block;
  width: 100%;
  height: 110px;         /* ajuste l'épaisseur de la vague */
  margin-top: -1px;      /* évite un fin liseré blanc sur certains écrans */
}

/* Grille 3 colonnes (titre/emails — réseaux — newsletter) */
.footer-wrap{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  padding: 24px 0 36px;
  align-items: center;
}

.footer-col{ 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}
.footer-title{ 
  font-weight: 800; 
  letter-spacing:.5px; 
}

/* Liens + icônes */
.footer-info a{ 
  color:#fff; 
  opacity:.95;
 }
.footer-info a:hover{ 
  text-decoration: underline; 
}

.footer-social{ 
 display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 18px;
  margin: 12px 0;
}
.footer-social a img{
  width: 50px;
  height: 50px; 
  filter: invert(1); /* icônes blanches sur fond vert */
  display:block;
}

/* Newsletter */
.footer-newsletter{ 
  align-items: flex-start; 
  gap: 8px; 
}
.nl-label{ 
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 14px;
  white-space: nowrap; /* empêche le retour à la ligne */
}

.nl-form{ 
  display:flex; 
  align-items:center; 
  gap:10px; 
}

.nl-form input{
  width: 160px;
  height: 24px;                 /* <- ultra fin */
  padding: 4px 10px;
  font-size: 13px;
  border: none;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--text);
  line-height: 1;
}

.nl-btn{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--highlight);  /* tu peux mettre une couleur bleue si tu veux le ton Messenger */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}

/* effet au survol : petite impulsion vers l'avant */
.nl-btn:hover {
  transform: translateX(2px) scale(1.05);
  filter: brightness(1.1);
}

/* effet "envoi" subtil à l’appui */
.nl-btn:active {
  transform: translateX(4px) scale(0.95);
}

.nl-btn-link {
  display: inline-block;
  background: var(--highlight);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s ease;
}

.nl-btn-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* Bas de page */
.footer-legal{ 
  background: rgba(0,0,0,.08); }
.footer-legal-inner{
  display:flex; 
  justify-content: space-between; 
  align-items:center;
  font-size: 14px; 
  color: #f1f1f1; 
  padding: 12px 0;
}
.footer-wave {
  position: relative;
  overflow: hidden; /* évite que la vague dépasse */
}
.footer-newsletter form {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 6px;
}

.footer-newsletter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-newsletter .nl-btn-link {
  margin: 0; /* supprime tout décalage vertical */
}

.btn:hover, .nl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  filter: brightness(1.05);
}
.btn, .nl-btn { transition: all .2s ease; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-social {
    justify-content: center;
    margin: 12px 0;
  }
}
/* Pour les options non sélectionnables */
select:invalid {
  color: rgba(0,0,0,0.4); /* texte plus gris tant qu'aucune vraie option n'est choisie */
}

option[disabled] {
  color: rgba(0,0,0,0.4);
}

/* Accessibilité */
.sr-only {
  position: absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Conteneur du logo + menu */
.logo-wrap {
  margin-left: 0px;
  margin-right: 64px;
  /*position: relative;
  display: flex;
  align-items: center;
  margin-left: 24px; /* comme avant */
  /*z-index: 60;       /* au-dessus de la nav */
}

/* Le bouton-logo (remplace l'ancien .logo) */
.logo-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Animation : rotation au hover/focus */
.logo-image {
  height: clamp(44px, 6vw, 52px);
  width: auto;
  transition: transform .25s ease;
  transform-origin: 50% 50%;
}
.logo-wrap:hover .logo-image,
.logo-trigger:focus-visible .logo-image,
.logo-wrap:focus-within .logo-image {
  transform: rotate(90deg) scale(1.02);
}

/* Le menu déroulé près du logo */
.logo-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;                     /* colle au bord droit du logo */
  left: auto;                   /* on supprime la contrainte gauche */
  transform: translateX(50%) translateY(8px) scale(.98); /* recentre le menu */
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 8px;
  min-width: 220px;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 100;
}

/* Ouverture au hover clavier/souris */
.logo-wrap:hover .logo-menu,
.logo-wrap:focus-within .logo-menu,
.logo-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Items du menu */
.logo-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.logo-menu a:hover {
  background: var(--bg-soft);
}
.logo-menu a.cta {
  color: #fff;
  background: var(--brand);
  text-align: center;
  margin-top: 6px;
}
.logo-menu a.cta:hover {
  filter: brightness(.95);
}

/* Responsive: centre le menu si besoin */
@media (max-width: 900px){
  .nav-inner {
    justify-content: flex-end;
    gap: 14px;
  }
  .logo-menu { left: 50%; transform: translate(-50%, 8px) scale(.98); }
  .logo-wrap:hover .logo-menu,
  .logo-wrap:focus-within .logo-menu,
  .logo-menu.is-open { 
    transform: translateX(50%) translateY(0) scale(1);
  pointer-events: auto;
  }
}

/* ===== Popup newsletter ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  width: min(500px, 90%);
  max-height: 90vh;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--brand);
  font-weight: bold;
  transition: .2s ease;
}
.close-modal:hover {
  transform: scale(1.1);
  color: var(--accent);
}

.newsletter-frame {
  width: 100%;
  height: 420px;
  border: none;
  overflow: hidden;
  border-radius: 12px;
}
.step svg {
  margin-bottom: 12px;
  color: var(--accent);
}



/* Bouton centré pour la section "Exemples de projets" */
.examples-cta {
  text-align: center;
  margin-top: 24px;
}

.examples-cta .btn {
  /* Styles existants du bouton (à adapter si besoin) */
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.examples-cta .btn:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

#examples .container {
  display: none;
}

#Coordonnées p, 
#Coordonnées h2, 
#Coordonnées a {
  text-align: left;
}
