/* =========================================================
   Alo Tatiana — Feuille de style partagée
   One Big Goal LLC
   ========================================================= */

:root {
  /* Couleurs de marque */
  --ardoise: #373c40;
  --orange: #f05023;
  --blanc: #ffffff;
  --gris-clair: #f5f6f7;

  /* Nuances dérivées (ombres, survols, bordures) */
  --ardoise-fonce: #2b2f32;
  --ardoise-clair: #525961;
  --orange-fonce: #d13d14;
  --orange-pale: #fdeae4;
  --gris-bordure: #e3e5e7;
  --gris-texte: #5c6368;

  --ombre-sm: 0 1px 3px rgba(55, 60, 64, 0.08);
  --ombre-md: 0 6px 20px rgba(55, 60, 64, 0.10);
  --ombre-lg: 0 16px 40px rgba(55, 60, 64, 0.14);

  --rayon: 14px;
  --rayon-sm: 10px;
  --gouttiere: 16px;
  --largeur-max: 1140px;

  --police-titre: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --police-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--police-texte);
  color: var(--ardoise);
  background: var(--blanc);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  line-height: 1.2;
  color: var(--ardoise);
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--orange-fonce);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ardoise);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Conteneur ---------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--rayon-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primaire {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--ombre-sm);
}
.btn-primaire:hover { background: var(--orange-fonce); box-shadow: var(--ombre-md); }

.btn-secondaire {
  background: transparent;
  color: var(--ardoise);
  border-color: var(--gris-bordure);
}
.btn-secondaire:hover { border-color: var(--ardoise); background: var(--gris-clair); }

.btn-clair {
  background: #fff;
  color: var(--ardoise);
}
.btn-clair:hover { background: var(--gris-clair); }

.btn-contour-clair {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-contour-clair:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gris-bordure);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img { height: 30px; width: auto; display: block; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  color: var(--ardoise);
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.98rem;
}
.nav-menu a:hover { background: var(--gris-clair); text-decoration: none; }
.nav-menu a.actif { color: var(--orange-fonce); font-weight: 600; }

.nav-cta { margin-left: 6px; }
.nav-cta .btn { padding: 9px 18px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gris-bordure);
  border-radius: 8px;
  width: 44px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ardoise);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-grise { background: var(--gris-clair); }
.section-foncee {
  background: var(--ardoise);
  color: #fff;
}
.section-foncee h1,
.section-foncee h2,
.section-foncee h3 { color: #fff; }
.section-foncee p { color: rgba(255, 255, 255, 0.82); }

.section-entete {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-entete p { color: var(--gris-texte); font-size: 1.08rem; }
.section-foncee .section-entete p { color: rgba(255, 255, 255, 0.82); }

.surtitre {
  display: inline-block;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-fonce);
  margin-bottom: 10px;
}
.section-foncee .surtitre { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--gris-clair) 100%);
  padding: 72px 0 80px;
}
.hero-grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-logo { height: 54px; width: auto; margin-bottom: 20px; }
.hero-baseline {
  font-family: var(--police-titre);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gris-texte);
  font-size: 1rem;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero-accroche { font-size: 1.15rem; color: var(--gris-texte); max-width: 54ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--gris-texte);
}

/* Illustration chat du hero */
.hero-visuel {
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: 20px;
  box-shadow: var(--ombre-lg);
  padding: 20px;
}
.chat-barre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gris-bordure);
  margin-bottom: 16px;
}
.chat-barre .point {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gris-bordure);
}
.chat-barre .titre {
  margin-left: 6px;
  font-weight: 600;
  font-family: var(--police-titre);
  font-size: 0.9rem;
  color: var(--ardoise);
}
.chat-barre .badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2e7d46;
  background: #e6f4ea;
  padding: 3px 9px;
  border-radius: 20px;
}
.bulle {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.bulle-client {
  background: var(--gris-clair);
  color: var(--ardoise);
  border-bottom-left-radius: 4px;
}
.bulle-nadia {
  background: var(--orange);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.bulle-canal {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  display: block;
  margin-bottom: 3px;
}

/* ---------- Bandeau des canaux ---------- */
.canaux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.canal-puce {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: 40px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--ombre-sm);
}
.section-foncee .canal-puce {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.canal-puce svg { width: 22px; height: 22px; flex: none; }

/* ---------- Grilles de cartes ---------- */
.grille {
  display: grid;
  gap: 24px;
}
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }

.carte {
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 28px;
  box-shadow: var(--ombre-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-md); }
.carte h3 { margin-bottom: 8px; }
.carte p { color: var(--gris-texte); margin-bottom: 0; font-size: 0.98rem; }

.carte-icone {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-pale);
  color: var(--orange-fonce);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.carte-icone svg { width: 28px; height: 28px; }

/* ---------- Étapes « Comment ça marche » ---------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: etape;
}
.etape {
  position: relative;
  padding-top: 10px;
}
.etape-num {
  counter-increment: etape;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ardoise);
  color: #fff;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.etape-num::before { content: counter(etape); }
.etape h3 { margin-bottom: 6px; }
.etape p { color: var(--gris-texte); margin-bottom: 0; }

/* ---------- Section edge / offline ---------- */
.edge-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.edge-liste {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.edge-liste li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}
.edge-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.edge-carte {
  background: var(--ardoise-fonce);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px;
}
.edge-carte .statut {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
}
.pastille {
  width: 11px; height: 11px; border-radius: 50%;
  background: #35c15e;
  box-shadow: 0 0 0 4px rgba(53,193,94,0.25);
}
.edge-stat { margin-bottom: 16px; }
.edge-stat .valeur {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.edge-stat .label { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ---------- Appel à l'action ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 16ch; margin-inline: auto; }
.cta-final p { max-width: 54ch; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Tarifs ---------- */
.avertissement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--orange-pale);
  border: 1px solid #f6c3b1;
  color: #8a2d10;
  border-radius: var(--rayon-sm);
  padding: 16px 20px;
  max-width: 820px;
  margin: 0 auto 44px;
  font-size: 0.97rem;
}
.avertissement svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.avertissement strong { color: #7a2710; }

.tarifs-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 32px 28px;
  box-shadow: var(--ombre-sm);
}
.plan-vedette {
  border: 2px solid var(--orange);
  box-shadow: var(--ombre-md);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-cible { color: var(--gris-texte); font-size: 0.92rem; min-height: 42px; margin-bottom: 14px; }
.plan-prix {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ardoise);
  line-height: 1.1;
}
.plan-prix .unite { font-size: 0.9rem; font-weight: 500; color: var(--gris-texte); }
.plan-prix-note { font-size: 0.82rem; color: var(--gris-texte); margin: 6px 0 20px; }
.plan-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}
.plan-liste li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 0.96rem;
}
.plan-liste li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--orange-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d13d14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan .btn { width: 100%; }

.tarifs-note {
  text-align: center;
  color: var(--gris-texte);
  font-size: 0.95rem;
  margin-top: 36px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon-sm);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.faq-item p { color: var(--gris-texte); margin-bottom: 0; }

/* ---------- À propos ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.05rem; color: var(--ardoise); }
.prose h2 { margin-top: 44px; }

.nom-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.nom-lettre {
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon-sm);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--ombre-sm);
}
.nom-lettre .lettre {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 2rem;
  color: var(--orange-fonce);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.nom-lettre .mot { font-weight: 600; font-size: 0.95rem; }
.nom-lettre .trad { font-size: 0.82rem; color: var(--gris-texte); }

/* ---------- Valeurs ---------- */
.valeur-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.valeur-item h3 svg { width: 24px; height: 24px; color: var(--orange-fonce); flex: none; }

/* ---------- Contact ---------- */
.contact-grille {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: start;
}
.contact-infos .bloc {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-infos .bloc svg {
  width: 24px; height: 24px; color: var(--orange-fonce); flex: none; margin-top: 2px;
}
.contact-infos h3 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-infos p { color: var(--gris-texte); margin-bottom: 0; }

.formulaire {
  background: #fff;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre-sm);
}
.champ { margin-bottom: 18px; }
.champ label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 7px;
}
.champ input,
.champ textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ardoise);
  padding: 12px 14px;
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon-sm);
  background: var(--gris-clair);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240, 80, 35, 0.15);
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ .aide { font-size: 0.82rem; color: var(--gris-texte); margin-top: 6px; }
.formulaire .btn { width: 100%; margin-top: 6px; }
.form-confidentialite {
  font-size: 0.82rem;
  color: var(--gris-texte);
  margin-top: 14px;
  text-align: center;
}
.form-message {
  display: none;
  background: #e6f4ea;
  border: 1px solid #b6e0c2;
  color: #1f6b38;
  border-radius: var(--rayon-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-message.visible { display: block; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ardoise);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  font-size: 0.95rem;
}
.footer-grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 28px; margin-bottom: 14px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: #fff; }
.footer-desc { max-width: 34ch; }
.footer-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-baseline { color: rgba(255, 255, 255, 0.75); }

/* ---------- Utilitaires ---------- */
.texte-centre { text-align: center; }
.mt-0 { margin-top: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .hero-grille { grid-template-columns: 1fr; gap: 36px; }
  .hero-visuel { max-width: 460px; }
  .edge-grille { grid-template-columns: 1fr; gap: 32px; }
  .contact-grille { grid-template-columns: 1fr; gap: 32px; }
  .footer-grille { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-marque { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Menu mobile */
  .nav-toggle { display: inline-flex; }
  .nav-menu,
  .nav-cta {
    display: none;
  }
  .nav.ouvert .nav-menu {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--gris-bordure);
    box-shadow: var(--ombre-md);
    padding: 12px var(--gouttiere);
  }
  .nav.ouvert .nav-cta {
    display: block;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
    transform: translateY(100%);
    background: #fff;
    padding: 0 var(--gouttiere) 16px;
    box-shadow: var(--ombre-md);
  }
  .nav.ouvert .nav-cta .btn { width: 100%; }
  .nav-menu a { padding: 12px 14px; }
  .site-header { position: relative; }
}

@media (max-width: 760px) {
  .grille-3,
  .grille-4,
  .etapes,
  .tarifs-grille,
  .nom-grille { grid-template-columns: 1fr; }
  .grille-4 { gap: 20px; }
  .plan-vedette { order: -1; }
  .section { padding: 54px 0; }
  body { font-size: 16px; }
}

@media (max-width: 560px) {
  .grille-2 { grid-template-columns: 1fr; }
  .nom-grille { grid-template-columns: repeat(2, 1fr); }
  .footer-grille { grid-template-columns: 1fr; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
