/* ==========================================================
   STYLE GLOBAL — PROMOTION.NELLES
   ========================================================== */

:root {
  --accent: #FFD966;
  --secondary: #00B5B8;
  --background: #F9F6F5;
  --text: #333;
  --font-main: 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
}
img { max-width: 100%; height: auto; display: block; }

/* ==========================================================
   HEADER
   ========================================================== */
.main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 5%;
}
.logo { height: 54px; }
.main-nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color .3s ease;
}
.main-nav a:hover { color: var(--secondary); }

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}
.hero-overlay {
  background: rgba(0,0,0,0.35);
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 0 10%;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.hero-subtitle {
  margin-top: 12px;
  font-size: 1.3rem;
  max-width: 780px;
  text-shadow: 0 3px 9px rgba(0,0,0,.14);
}
.wave-bg {
  position: absolute;
  bottom: 0; left: 0; width: 200%;
  height: 160px;
  background: radial-gradient(ellipse at 50% 100%, var(--secondary), transparent 70%);
  opacity: 0.15;
  animation: waveMove 26s linear infinite;
}
@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================
   SECTIONS — TITRES & MISE EN PAGE
   ========================================================== */
section {
  padding: 90px 6%;
  text-align: center;
}
h2 {
  font-size: 1.9rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text);
}
p { line-height: 1.75; font-size: 1.05rem; color: #444; }

/* ==========================================================
   MISSION
   ========================================================== */
#mission { background: var(--background); }
#mission p {
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.85;
  font-size: 1.08rem;
  color: #3a3a3a;
  text-align: center;
}
#mission strong { color: var(--text); }

/* ==========================================================
   SAVOIR-FAIRE
   ========================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}
.skill {
  background: white;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.skill:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.skill img { height: 54px; margin: 0 auto 14px; }
.skill h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.skill p { font-size: .98rem; color: #555; }

/* ==========================================================
   TRANSITION TEXTE
   ========================================================== */
.transition-text {
  background: #fff;
  padding: 50px 10%;
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
}

/* ==========================================================
   NOS OFFRES
   ========================================================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}
.offer-card img {
  width: 100%;
  transition: transform .6s ease;
}
.offer-card:hover img { transform: scale(1.08); }
.offer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex; justify-content: center; align-items: center;
  opacity: 0;
  transition: opacity .4s ease;
}
.offer-card:hover .offer-overlay { opacity: 1; }
.offer-overlay h3 {
  font-size: 1.3rem;
  letter-spacing: .05em;
}

/* ==========================================================
   CONFIDENTIALITE & EXCELLENCE
   ========================================================== */
.confidentialite-section {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.confidentialite-text h2 {
  text-align: left;
  margin-bottom: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.confidentialite-text p {
  text-align: left;
  color: #555;
  line-height: 1.9;
  font-size: 1.05rem;
}
.confidentialite-section img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .confidentialite-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .confidentialite-text h2,
  .confidentialite-text p { text-align: center; }
}

/* ==========================================================
   CONCLUSION
   ========================================================== */
.conclusion {
  background: var(--background);
  padding: 60px 5%;
  font-size: 1.15rem;
  color: #333;
  font-style: italic;
}

/* ==========================================================
   CONTACT + FORMULAIRE
   ========================================================== */
.contact-section { background: var(--background); }
.contact-section p { max-width: 760px; margin: 0 auto 26px; }

.qr-contact { width: 350px; margin: 30px auto 10px; }
.btn-whatsapp {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  transition: background .25s ease;
}
.btn-whatsapp:hover { background: #009da0; }

.contact-form {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 680px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .95rem;
  color: #444;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,217,102,.25);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem; color: #555; margin: 8px 0 14px;
}
.form-consent input { margin-top: 3px; }
.btn-submit {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 12px 26px;
  border-radius: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn-submit:hover { background: #e2bf39; transform: translateY(-1px); }

/* ==========================================================
   CITATION
   ========================================================== */
.citation-section {
  background: white;
  padding: 90px 10%;
  text-align: center;
}
.citation-section blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: #333;
  margin-bottom: 18px;
}
.citation-section footer {
  font-size: 1rem;
  color: #666;
}

/* ==========================================================
   LOGOS — GROUPE NELLES
   ========================================================== */
.logos-section {
  background: var(--background);
  text-align: center;
  padding: 80px 5%;
}
.logos-section h2 {
  color: var(--accent);
  font-size: 1.6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
  position: relative;
  display: inline-block;
}
.logos-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}
.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}
.logos-grid img {
  height: 52px;
  opacity: 0.95;
  transition: transform .25s ease, opacity .25s ease;
}
.logos-grid img:hover { transform: scale(1.08); opacity: 1; }
@media (max-width: 768px) { .logos-grid img { height: 42px; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: #fff;
  text-align: center;
  padding: 30px 5%;
  font-size: .9rem;
  color: #555;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 6px;
}
.footer-links a:hover { text-decoration: underline; }

/* ==========================================================
   RESPONSIVE AJUSTEMENTS
   ========================================================== */
@media (max-width: 768px) {
  h2 { font-size: 1.6rem; }
  section { padding: 70px 5%; }
  .hero-subtitle { font-size: 1.1rem; }
}

:root{
  --turquoise: #00B5B8;     /* Nelles */
  --turquoise-700: #009496;  /* hover */
  --turquoise-800: #007f81;  /* active */
  --beige-bg: #F9F6F5;       /* fond Nelles éventuel */
  --text-dark: #1f2a37;
}

/* Reset léger pour les boutons */
button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* Cible précisément le bouton du formulaire de contact */
#contact-form button[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  padding: 0.85rem 1.25rem;
  min-width: 9.5rem;
  border-radius: 999px;            /* pastille élégante */
  background: var(--turquoise);
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;

  box-shadow: 0 6px 16px rgba(0,181,184,.25);
  transition: transform .08s ease, box-shadow .2s ease, background .15s ease;
  cursor: pointer;
}

/* Hover / focus / active */
#contact-form button[type="submit"]:hover{
  background: var(--turquoise-700);
  box-shadow: 0 8px 20px rgba(0,181,184,.32);
  transform: translateY(-1px);
}
#contact-form button[type="submit"]:active{
  background: var(--turquoise-800);
  transform: translateY(0);
}

/* Accessibilité focus */
#contact-form button[type="submit"]:focus-visible{
  outline: 3px solid rgba(0,181,184,.35);
  outline-offset: 2px;
}

/* État disabled */
#contact-form button[type="submit"]:disabled,
#contact-form button[type="submit"].is-loading{
  opacity: .65;
  cursor: not-allowed;
  box-shadow: none;
}

/* Spinner pour l’état “envoi en cours” (si tu utilises AJAX) */
#contact-form button[type="submit"].is-loading::before{
  content: "";
  width: 1em; height: 1em;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  border-top-color: transparent;
  display: inline-block;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile: bouton pleine largeur */
@media (max-width: 640px){
  #contact-form button[type="submit"]{
    width: 100%;
  }
}
