/* AgriWeb 2.0 — page d'accueil (logiciel uniquement). */
.aw-section { padding-block: 88px; }
.aw-section-intro { color: var(--muted); max-width: 62ch; margin: 14px 0 0; font-size: 1.05rem; }
h2 + .aw-fonctions, h2 + .aw-modules { margin-top: 36px; }

/* Héros */
.aw-hero { padding: 64px 0 56px; overflow: hidden; }
.aw-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.aw-hero h1 .aw-main { display: block; font-size: 1.05em; margin-top: 6px; }
.aw-intro { font-size: 1.12rem; color: #4f453c; margin: 22px 0 28px; max-width: 54ch; }
.aw-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.aw-garanties { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.aw-garanties li, .aw-liste li { display: flex; gap: 8px; align-items: flex-start; }
.aw-garanties svg, .aw-liste svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.aw-hero-visuel { position: relative; padding: 0 0 36px 0; }
.aw-ecran { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(42,34,28,.35); }
.aw-ecran img { display: block; width: 100%; height: auto; }
.aw-ecran-barre { display: flex; gap: 6px; padding: 9px 12px; background: var(--papier-2); border-bottom: 1px solid var(--line); }
.aw-ecran-barre i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-fort); }
.aw-telephone { position: absolute; right: -14px; bottom: 0; width: 26%; margin: 0; border: 6px solid var(--terre); border-radius: 26px; overflow: hidden; background: var(--terre); box-shadow: 0 24px 50px -20px rgba(42,34,28,.5); }
.aw-telephone img { display: block; width: 100%; height: auto; border-radius: 19px; }
.aw-mention { position: absolute; left: 4px; bottom: 6px; margin: 0; font-size: .78rem; color: var(--muted); }

/* Bandeau métiers */
.aw-metiers { border-block: 1px solid var(--line); background: var(--papier-2); padding: 18px 0; }
.aw-metiers .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.aw-metiers span { font-family: var(--main); font-size: 1.5rem; color: var(--green); line-height: 1; }
.aw-metiers ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.aw-metiers li { font-weight: 600; font-size: .95rem; }
.aw-metiers li + li::before { content: "·"; margin-right: 22px; color: var(--line-fort); }

/* Fonctions */
.aw-fonctions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aw-fonction { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.aw-fonction h3 { margin: 16px 0 8px; }
.aw-fonction p { color: var(--muted); font-size: .96rem; }
.aw-icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--green); }
.aw-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Zooms produit */
.aw-zoom { padding-block: 72px; }
.aw-zoom-inverse { background: var(--papier-2); border-block: 1px solid var(--line); }
.aw-zoom-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.aw-zoom-inverse .aw-zoom-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.aw-liste { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.aw-liste span { color: #4f453c; }
.aw-liste strong { color: var(--ink); }

/* Méthode (bandeau brun) */
.aw-methode { background: var(--terre); color: #e9dfd0; padding-block: 80px; }
.aw-methode h2 { color: #fff; }
.aw-methode .aw-surtitre { color: #b9a993; }
.aw-etapes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.aw-etapes li { border-top: 1px solid #e08a6a; padding-top: 18px; }
.aw-etapes .aw-main { color: #e08a6a; font-size: 1.8rem; }
.aw-etapes h3 { color: #fff; font-family: var(--titres); margin: 8px 0 6px; }
.aw-etapes p { color: #d8c8b4; font-size: .95rem; }

/* Modules */
.aw-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.aw-module { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.aw-module:hover { border-color: var(--green); transform: translateY(-2px); }
.aw-module svg { flex: none; width: 24px; height: 24px; color: var(--green); }
.aw-module strong { display: block; font-size: .98rem; }
.aw-module small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.aw-module.is-development { opacity: .6; }

/* Tarifs */
.aw-tarifs { padding-block: 88px; background: var(--papier-2); border-block: 1px solid var(--line); }
.aw-formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.aw-formule { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.aw-formule-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.aw-formule-tete .aw-main { font-size: 1.25rem; color: #e08a6a; }
.aw-formule-sous { color: var(--muted); font-size: .92rem; margin: 6px 0 18px; }
.aw-prix { font-family: var(--texte); font-size: 2.2rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
.aw-prix small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.aw-formule ul { margin: 0 0 24px; padding-left: 18px; display: grid; gap: 6px; font-size: .95rem; flex: 1; }
.aw-formule .button { width: 100%; }
.aw-formule.vedette { background: var(--terre); border-color: var(--terre); color: #e9dfd0; }
.aw-formule.vedette h3, .aw-formule.vedette .aw-prix { color: #fff; }
.aw-formule.vedette .aw-formule-sous, .aw-formule.vedette .aw-prix small { color: #d8c8b4; }
.aw-formule.vedette .button { background: #e08a6a; border-color: #e08a6a; color: var(--terre); }
.aw-formule.vedette .button:hover { background: #f0a283; border-color: #f0a283; }
.aw-note { color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* FAQ */
.aw-faq { max-width: 820px; }
.aw-faq h2 { margin-bottom: 24px; }
.aw-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.aw-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style-position: inside; }
.aw-faq details p { padding: 0 22px 18px; color: #4f453c; }

/* Appel final */
.aw-cta { background: var(--green); color: #fff; padding-block: 64px; }
.aw-cta h2 { color: #fff; }
.aw-cta h2 .aw-main { color: var(--lime); }
.aw-cta p { color: #e6efe0; margin: 10px 0 14px; max-width: 52ch; }
.aw-cta-grille { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.aw-cta-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Tablette */
@media (max-width: 1024px) {
  .aw-hero-grille, .aw-zoom-grille, .aw-zoom-inverse .aw-zoom-grille { grid-template-columns: 1fr; gap: 36px; }
  .aw-zoom-inverse .aw-ecran { order: -1; }
  .aw-fonctions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-formules { grid-template-columns: 1fr; max-width: 520px; }
  .aw-telephone { right: 0; width: 24%; }
}
/* Téléphone */
@media (max-width: 600px) {
  .aw-hero { padding: 36px 0 40px; }
  .aw-intro { font-size: 1.02rem; }
  .aw-boutons .button { width: 100%; }
  .aw-section, .aw-tarifs { padding-block: 60px; }
  .aw-zoom, .aw-methode { padding-block: 56px; }
  .aw-fonctions, .aw-etapes { grid-template-columns: 1fr; }
  .aw-hero-visuel { padding-bottom: 28px; }
  .aw-telephone { width: 30%; border-width: 4px; border-radius: 18px; right: 4px; }
  .aw-telephone img { border-radius: 14px; }
  .aw-metiers li + li::before { display: none; }
  .aw-metiers ul { gap: 4px 14px; }
  .aw-cta-grille .aw-boutons { width: 100%; }
}
