/* AMPADOUSYSTEM ITALIE-PARMA — feuille de style */
:root {
  --ink: #1c130e; --paper: #fffaf0; --surface: #fff; --cream: #f4e7cd;
  --red: #c1272d; --red-deep: #8d171c; --gold: #f2b705; --brown: #6b3a1f;
  --muted: #6f5d4f; --line: #e7d6b6; --success: #247a4b; --sand: #e8d9bd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fff4dc; --paper: #17110d; --surface: #241a13; --cream: #2b2118;
    --red: #ff5a5f; --red-deep: #ff8a7a; --gold: #ffc93c; --brown: #e0b27f;
    --muted: #cbb9a6; --line: #453628; --success: #6fcf9b;
  }
  .btn-red, .cta-red { color: #1c130e !important; }
  .btn-ink { background: #fff4dc !important; color: #1c130e !important; }
  .field input, .field textarea, .field select, .check-box { background: #1c140f !important; }
  .stats > div, .benefits li, .contact-item { background: var(--surface) !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Nunito Sans", system-ui, sans-serif; line-height: 1.6; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: #1c130e; }
h1, h2, h3, p, ul, dl, figure, blockquote { margin: 0; }
.display { font-family: "Fraunces", Georgia, serif; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--surface); padding: .5rem 1rem; border-radius: 1rem; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

/* Icônes */
.ic { width: 24px; height: 24px; flex-shrink: 0; }
.ic-sm { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.ic-md { width: 26px; height: 26px; flex-shrink: 0; }
.ic-lg { width: 38px; height: 38px; display: block; }
.ic-xl { width: 46px; height: 46px; }
.red { color: var(--red); } .gold { color: var(--gold); } .green { color: var(--success); } .dark { color: #1c130e; } .white { color: #fff; }
.mt { margin-top: 1.25rem; } .mt-lg { margin-top: 2.5rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.brand-logo { width: 52px; height: 52px; }
.brand-name { display: block; font-size: 1.15rem; font-weight: 900; line-height: 1; letter-spacing: -.01em; }
.brand-sub { display: block; margin-top: .3rem; font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: var(--red); }
.brand-sub.gold { color: var(--gold); }
@media (min-width: 640px) { .brand-logo { width: 56px; height: 56px; } .brand-name { font-size: 1.5rem; } .brand-sub { font-size: .75rem; } }
.nav-desktop { display: none; gap: 1.25rem; font-size: .9rem; font-weight: 700; }
.nav-desktop a { text-decoration: none; }
.nav-desktop a:hover { color: var(--red); }
.nav-desktop a[aria-current] { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.menu-btn { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: .6rem; display: flex; cursor: pointer; }
.menu-btn .when-open, .menu-btn[aria-expanded="true"] .when-closed { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: flex; }
.nav-mobile { border-top: 1px solid var(--line); padding: .75rem 1rem; }
.nav-mobile a:not(.btn) { display: block; padding: .75rem; border-radius: .75rem; font-weight: 700; text-decoration: none; }
.nav-mobile a:not(.btn):hover, .nav-mobile a[aria-current] { background: var(--cream); }
.nav-mobile a[aria-current] { color: var(--red); }
.nav-mobile .btn { margin-top: .5rem; }
.hide-mobile { display: none !important; }
@media (min-width: 640px) { .hide-mobile { display: inline-flex !important; } }
@media (min-width: 1080px) { .nav-desktop { display: flex; } .menu-btn, .nav-mobile { display: none !important; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .9rem 1.5rem; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.5rem; font-weight: 900; }
.btn-block { display: flex; width: 100%; margin-top: 1.25rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193,39,45,.25); }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: #1c130e; color: #fff; }
.btn-gold { background: var(--gold); color: #000; font-weight: 900; margin-top: 1.25rem; align-self: flex-start; }
.btn-gold:hover { background: #fff; }
.btn-white { background: #fff; color: #c1272d; font-weight: 900; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline-red { border-color: var(--red); color: var(--red); }
.btn-row { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.small-btns { flex-direction: row; flex-wrap: wrap; margin-top: 1.5rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }
.center-row { justify-content: center; }
.link-red, .link-gold { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--red); text-decoration: none; width: fit-content; margin-top: 1.25rem; }
.link-gold { color: var(--gold); }
.link-red:hover, .link-gold:hover { text-decoration: underline; }

/* Fonds et sections */
.bg-cream { background: var(--cream); }
.bg-ink { background: #1c130e; color: #fff; }
.hero-pattern { background-image: radial-gradient(rgba(242,183,5,.32) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.section { padding: 3.5rem 0; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }
.section-head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.section-head .link-red, .section-head .link-gold { margin-top: 0; }
@media (min-width: 640px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.block { margin-top: 3.5rem; }
.eyebrow { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .24em; color: var(--red); }
.eyebrow.gold { color: var(--gold); }
.h-section { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-top: .6rem; }
.h-card { font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin-top: 1rem; margin-bottom: .5rem; }
.h-card-lg { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.15; margin-top: 1rem; margin-bottom: .6rem; }
.h-small { font-size: 1.2rem; font-weight: 700; }
.h-page { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; font-weight: 900; margin-top: .75rem; max-width: 56rem; }
.h-home { font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: .95; font-weight: 900; margin-top: 1.5rem; }
.lead { font-size: 1.125rem; line-height: 1.8; color: var(--muted); margin-top: 1rem; max-width: 40rem; }
.bg-ink .lead, .bg-ink .muted { color: var(--sand); }
.muted { color: var(--muted); }
.body { line-height: 1.9; margin-top: 1rem; }
.narrow { max-width: 48rem; }
.narrow-center { max-width: 36rem; margin: .5rem auto 0; }
.center { text-align: center; }
.small { font-size: .875rem; line-height: 1.6; }
.strong { font-weight: 900; }
.lg { font-size: 1.25rem; }
.sand { color: var(--sand); }
.grow { flex: 1; }
.note { margin-top: .75rem; font-size: .75rem; font-weight: 600; color: var(--muted); font-style: italic; }

/* Fil d'Ariane / entête de page */
.page-hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .page-hero { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 700; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: .25rem; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--ink); }
.pill-back { display: inline-flex; align-items: center; gap: .5rem; margin: 1.25rem 0 1.5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .875rem; font-weight: 800; text-decoration: none; }
.pill-back:hover { border-color: var(--red); }

/* Accueil */
.home-hero { display: grid; gap: 2.5rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.home-hero-text { text-align: center; }
.home-hero-text .lead { margin-left: auto; margin-right: auto; }
.home-hero-text .btn-row { justify-content: center; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); padding: .5rem 1rem; border-radius: 999px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--brown); box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.home-hero-logo { position: relative; width: 100%; max-width: 24rem; margin: 0 auto; }
.glow { position: absolute; inset: 1rem; border-radius: 50%; background: rgba(242,183,5,.4); filter: blur(32px); }
.hero-logo { position: relative; width: 100%; height: auto; filter: drop-shadow(0 25px 40px rgba(0,0,0,.3)); }
.hero-tag { position: relative; width: fit-content; margin: 1.25rem auto 0; text-align: center; background: var(--surface); padding: .75rem 1.25rem; border-radius: 1rem; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
@media (min-width: 1024px) {
  .home-hero { grid-template-columns: 1.15fr .85fr; padding-top: 4rem; padding-bottom: 4rem; }
  .home-hero-text { text-align: left; }
  .home-hero-text .lead { margin-left: 0; }
  .home-hero-text .btn-row { justify-content: flex-start; }
  .home-hero-logo { max-width: 28rem; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2.5rem; }
.stats > div { background: rgba(255,255,255,.8); border-radius: 1.5rem; padding: 1rem .5rem; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.stats dd { margin: 0; }
.stat-num { font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 900; color: var(--red); line-height: 1.1; }
.stat-label { margin-top: .25rem; font-size: .85rem; font-weight: 700; color: var(--muted); }
.stats-hero { max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .stats-hero { margin-left: 0; } }
.stats-big { margin-top: 1.5rem; }
.stats-big > div { background: var(--surface); padding: 1.25rem; }
.stats-big .stat-num { font-size: 2.4rem; }

/* Grilles et cartes */
.grid { display: grid; gap: 1.25rem; }
.gap-lg { gap: 2rem; } .gap-sm { gap: .75rem; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2.gap-sm { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border-radius: 1.75rem; }
.card p + p { margin-top: .75rem; }
.card-shadow { box-shadow: 0 18px 42px rgba(28,19,14,.11); }
.soft-shadow { box-shadow: 0 8px 24px rgba(28,19,14,.09); }
.bordered { border: 1px solid var(--line); border-radius: 1rem; }
.pad { padding: 1.5rem; } .pad-sm { padding: 1.25rem; } .pad-lg { padding: 1.5rem; }
@media (min-width: 640px) { .pad-lg { padding: 2rem; } }
.flex-col { display: flex; flex-direction: column; }
.row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.tag { display: inline-block; background: var(--cream); color: var(--brown); padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.big-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.checks { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .5rem; font-weight: 700; }
.icon-tile { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 1rem; }

.activity { overflow: hidden; display: flex; flex-direction: column; }
.activity-top { height: 9rem; display: flex; align-items: flex-end; justify-content: space-between; padding: 1.25rem; color: #fff; }
.badge-light { background: rgba(255,255,255,.2); padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.activity-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.activity-body .h-card { margin-top: 0; }
.meta { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; font-weight: 700; margin-top: 1rem; }
.meta + .meta { margin-top: .5rem; }

.card-dark { background: #2b2118; color: #fff; border-radius: 1.75rem; padding: 1.5rem; display: flex; flex-direction: column; }
.section:not(.bg-ink) .card-dark { background: #1c130e; }
.event-date { display: flex; align-items: center; gap: .5rem; color: var(--gold); font-size: .875rem; font-weight: 900; }
.event-place { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 700; color: var(--sand); }
.event-text { margin-top: .75rem; color: #d9c7a9; line-height: 1.75; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.2fr .8fr; }
  .split-team { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .split-form { grid-template-columns: .9fr 1.1fr; align-items: start; }
}
.quote { margin-top: 1rem; font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.5; }
.quote-by { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 800; }

.panel-ink { background: #1c130e; color: #fff; border-radius: 2rem; padding: 1.5rem; display: grid; gap: 1rem; align-content: center; }
@media (min-width: 640px) { .panel-ink { padding: 2rem; } }
.panel-ink .h-card { margin-top: 0; }
.tick-row { display: flex; gap: 1rem; }
.tick { display: flex; width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: #000; font-weight: 900; margin-top: .15rem; }
.box-cream { background: var(--cream); border-radius: 1.5rem; padding: 1.25rem; margin-top: 1.25rem; }
.box-cream.block { margin-top: 3.5rem; }
.box-dashed { margin-top: 1.25rem; border: 1px dashed var(--brown); border-radius: 1rem; padding: 1rem; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.box-dashed .link-red { margin-top: .75rem; }
.cta-red { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; background: var(--red); color: #fff; border-radius: 1.75rem; padding: 1.5rem; text-align: center; }
.cta-red .h-section { margin-top: 0; }
@media (min-width: 640px) { .cta-red { flex-direction: row; text-align: left; padding: 2rem; } }
.dots { list-style: none; padding: 0; display: grid; gap: .5rem; }
.dots li::before { content: "• "; }
.benefits { list-style: none; padding: 0; margin-top: 1.75rem; display: grid; gap: .75rem; }
.benefits li { display: flex; gap: .75rem; background: #fff; border-radius: 1rem; padding: .75rem 1rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.05); }

/* Formulaires */
.form { padding: 1.25rem; border-radius: 2rem; }
@media (min-width: 640px) { .form { padding: 1.75rem; } }
.form .h-card { margin-top: 0; }
.fit { height: fit-content; }
.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-top: 1rem; }
.form-grid .field { margin-top: 0; }
.field > span { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 800; }
.field b, .consent b { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 1rem; padding: .75rem 1rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(193,39,45,.12); }
.check-box { display: flex; align-items: center; gap: .75rem; min-height: 50px; border: 1px solid var(--line); background: #fff; border-radius: 1rem; padding: 0 1rem; font-size: .875rem; font-weight: 700; cursor: pointer; }
.check-box input, .consent input { width: 20px; height: 20px; accent-color: #c1272d; flex-shrink: 0; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: .85rem; color: var(--muted); cursor: pointer; }
.chosen { margin-top: .75rem; background: var(--cream); padding: .5rem .75rem; border-radius: .75rem; font-size: .875rem; font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-top: 1rem; border-radius: 1rem; padding: 1rem; font-size: .9rem; }
.alert.ok { background: #e8f3e8; color: #14432a; border: 1px solid #b9dcc4; }
.alert.err { background: #fde7e6; color: #6b0f13; border: 1px solid #f3b9b6; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* Contact */
.contact-list { display: grid; gap: .75rem; margin-top: 1.75rem; }
.contact-item { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border-radius: 1rem; padding: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--red); }

/* Pied de page */
.site-footer { background: #150e09; color: #fff; padding: 3rem 0 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { width: 56px; height: 56px; }
.footer-name { font-size: 1.25rem; font-weight: 900; line-height: 1; }
.footer-text { margin-top: 1rem; color: #d9c7a9; line-height: 1.75; max-width: 24rem; }
.footer-text.small { margin-top: .5rem; }
.footer-text a { text-decoration: none; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.footer-links a { color: #d9c7a9; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { background: rgba(255,255,255,.1); padding: .5rem .75rem; border-radius: 999px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.chip:hover { background: rgba(255,255,255,.2); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .875rem; color: #d9c7a9; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
