/*
Theme Name: ASL Services
Theme URI: https://alexslservices.com
Author: ASL Services
Description: Thème enfant de Twenty Twenty-Five pour le site d'ASL Services : styles du cabinet, polices hébergées localement, page d'accueil trilingue (FR/EN/ES) et mentions légales sous forme de compositions à insérer.
Template: twentytwentyfive
Version: 1.3.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asl-services
*/

/* =========================================================
   ASL Services — landing page
   À coller dans : Apparence > Éditeur > Styles > CSS additionnel
   (ou Apparence > Personnaliser > CSS additionnel)
   ========================================================= */
:root {
  --asl-navy: #16233b;
  --asl-navy-2: #22324f;
  --asl-accent: #b07a2f;
  --asl-accent-dark: #8f6122;
  --asl-ink: #1f2933;
  --asl-muted: #5b6573;
  --asl-bg-alt: #f6f3ee;
  --asl-line: #e4ded4;
  --asl-radius: 14px;
  --asl-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --asl-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Sections */
.asl-section {
  padding-top: clamp(56px, 8vw, 96px) !important;
  padding-bottom: clamp(56px, 8vw, 96px) !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-family: var(--asl-sans);
  color: var(--asl-ink);
}
.asl-section h1, .asl-section h2, .asl-section h3 {
  font-family: var(--asl-serif);
  color: var(--asl-navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.asl-section h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 0.6em; }
.asl-section h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0.2em 0 0.6em; }
.asl-section p, .asl-section li { font-size: 1.05rem; line-height: 1.65; }
.asl-center { text-align: center; }
.asl-sub { color: var(--asl-muted); font-size: 1.15rem !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.asl-small { color: var(--asl-muted); font-size: 0.95rem !important; }
.asl-alt { background: var(--asl-bg-alt); }

/* Hero */
.asl-hero { background: linear-gradient(180deg, #fbf9f5 0%, #f3eee6 100%); padding-top: 32px !important; }
.asl-lang { text-align: right; font-size: 0.9rem !important; letter-spacing: 0.04em; margin: 0 0 32px !important; color: var(--asl-muted); }
.asl-lang a { color: var(--asl-muted); text-decoration: none; padding: 4px 6px; }
.asl-lang a:hover { color: var(--asl-accent-dark); }
.asl-lang strong { color: var(--asl-navy); }
.asl-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem !important;
  font-weight: 600; color: var(--asl-accent-dark); margin-bottom: 0.6em !important;
}
.asl-h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem) !important; margin: 0 0 0.45em !important; }
.asl-lead { font-size: 1.2rem !important; color: var(--asl-muted); max-width: 560px; }
.asl-trust { font-size: 0.92rem !important; color: var(--asl-navy); font-weight: 500; margin-top: 28px !important; }
.asl-hero-cols { gap: clamp(32px, 5vw, 64px) !important; }

/* Boutons */
.asl-buttons { gap: 12px; margin-top: 28px !important; }
.asl-buttons .wp-block-button__link {
  background: var(--asl-navy); color: #fff; border: 2px solid var(--asl-navy);
  border-radius: 999px; padding: 14px 26px; font-family: var(--asl-sans);
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: background .2s, color .2s;
}
.asl-buttons .wp-block-button__link:hover { background: var(--asl-accent-dark); border-color: var(--asl-accent-dark); color: #fff; }
.asl-buttons .is-style-outline .wp-block-button__link { background: transparent; color: var(--asl-navy); }
.asl-buttons .is-style-outline .wp-block-button__link:hover { background: var(--asl-navy); color: #fff; border-color: var(--asl-navy); }

/* Images */
.asl-img img { border-radius: var(--asl-radius); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; box-shadow: 0 18px 40px rgba(22, 35, 59, 0.12); }
.asl-img-hero img { aspect-ratio: 5 / 4; }
.asl-img { margin: 0 !important; }

/* Blocs image + texte */
.asl-feature { gap: clamp(32px, 5vw, 72px) !important; margin-top: clamp(48px, 6vw, 80px) !important; }
.asl-section > .asl-feature:first-child { margin-top: 0 !important; }

/* Listes à coches */
.asl-checks { list-style: none; padding-left: 0 !important; margin-top: 1em; }
.asl-checks li { position: relative; padding-left: 32px; margin-bottom: 0.55em; }
.asl-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--asl-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Étapes numérotées */
.asl-steps { list-style: none; counter-reset: asl-step; padding-left: 0 !important; margin-top: 1.2em; }
.asl-steps li { counter-increment: asl-step; position: relative; padding-left: 56px; margin-bottom: 1.2em; }
.asl-steps li::before {
  content: counter(asl-step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--asl-navy); color: #fff; font-family: var(--asl-serif); font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.asl-steps strong { color: var(--asl-navy); }

/* Cartes */
.asl-cards { gap: 24px !important; margin-top: 32px !important; }
.asl-card {
  background: #fff; border: 1px solid var(--asl-line); border-radius: var(--asl-radius);
  padding: 28px 28px 20px !important; box-shadow: 0 6px 18px rgba(22, 35, 59, 0.05);
}
.asl-card h3 { font-size: 1.25rem !important; }
.asl-card p { color: var(--asl-muted); font-size: 1rem !important; }

/* Encadré chiffres du fondateur */
.asl-stats { padding: 8px 32px !important; }
.asl-stats p { margin: 0 !important; padding: 20px 0; border-bottom: 1px solid var(--asl-line); color: var(--asl-muted); font-size: 1rem !important; }
.asl-stats p:last-child { border-bottom: 0; }
.asl-stats strong { display: block; font-family: var(--asl-serif); font-weight: 600; font-size: 1.6rem; color: var(--asl-navy); line-height: 1.2; margin-bottom: 4px; }

/* Bandeau réseau (fond sombre) */
.asl-dark { background: var(--asl-navy); text-align: center; }
.asl-dark h2 { color: #fff !important; }
.asl-dark .asl-sub { color: #d5dbe5; }
.asl-dark .asl-small { color: #aab4c3; }

/* Contact */
.asl-contact { gap: clamp(32px, 5vw, 64px) !important; }
.asl-contact-card a { color: var(--asl-navy); font-weight: 500; }
.asl-contact-card p { color: var(--asl-ink) !important; }
.asl-form-col .wpcf7 input[type="text"],
.asl-form-col .wpcf7 input[type="email"],
.asl-form-col .wpcf7 input[type="tel"],
.asl-form-col .wpcf7 select,
.asl-form-col .wpcf7 textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--asl-line); border-radius: 10px;
  font: inherit; background: #fff; box-sizing: border-box;
}
.asl-form-col .wpcf7 textarea { min-height: 140px; }
.asl-form-col .wpcf7 label { display: block; font-weight: 500; margin-bottom: 14px; }
.asl-form-col .wpcf7-submit {
  background: var(--asl-navy); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 28px; font-weight: 600; cursor: pointer;
}
.asl-form-col .wpcf7-submit:hover { background: var(--asl-accent-dark); }
.asl-form-col .wpcf7-acceptance { font-size: 0.9rem; color: var(--asl-muted); }

/* Pied de page légal */
.asl-legal { background: #0f1a2d; padding: 24px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.asl-legal-text { color: #aab4c3; font-size: 0.85rem !important; text-align: center; margin: 0 !important; font-family: var(--asl-sans); }
.asl-legal-text a { color: #d5dbe5; }

/* Mobile */
@media (max-width: 781px) {
  .asl-feature-rev { flex-direction: column-reverse; align-items: stretch !important; }
  .asl-feature-rev > .wp-block-column { width: 100%; flex-basis: auto !important; }
  .asl-lang { text-align: left; }
  .asl-dark { text-align: left; }
}

/* ---- v1.3.0 ---- */
.asl-section > .asl-h1 { margin-left: auto !important; margin-right: auto !important; }
.asl-pagehead { padding-top: clamp(48px, 7vw, 88px) !important; padding-bottom: clamp(40px, 6vw, 72px) !important; }
.asl-pagehead .asl-h1 { font-size: clamp(2rem, 4vw, 3rem) !important; }
.asl-pagehead .asl-lead, .asl-pagehead .asl-eyebrow { max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
.asl-more { margin-top: 1em !important; }
.asl-more a { color: var(--asl-accent-dark); font-weight: 600; text-decoration: none; font-family: var(--asl-sans); }
.asl-more a:hover { text-decoration: underline; }
.asl-cards + .asl-cards { margin-top: 24px !important; }
.asl-card .asl-more { margin-bottom: 0 !important; }
.asl-buttons-center { justify-content: center; }
.asl-cta h2 { margin-bottom: 0.3em; }
.asl-mt { margin-top: clamp(48px, 6vw, 80px) !important; }
.asl-quote { font-style: italic; margin-top: 2em !important; }
.asl-section h3[id], .asl-section h2[id] { scroll-margin-top: 96px; }
