/* Box Yffiniac — identité visuelle inspirée du visuel publicitaire :
   vert principal, fond sombre pour le hero, accent rouge pour le prix,
   bandeau jaune pour "ouverture prochaine". */

:root {
  --green-600: #1a7a3c;
  --green-700: #145c2d;
  --green-100: #e6f4ea;
  --ink-900: #12161a;
  --ink-800: #1c2126;
  --ink-700: #2a3138;
  --paper: #ffffff;
  --paper-muted: #f6f8f7;
  --text-body: #2a3138;
  --text-muted: #5b6570;
  --red-600: #d92b2b;
  --yellow-400: #f3d90a;
  --radius: 14px;
  --shadow-md: 0 8px 24px rgba(18, 22, 26, 0.12);
  --shadow-sm: 0 2px 8px rgba(18, 22, 26, 0.08);
  --max-width: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow-400);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
}

.btn-primary::after {
  content: "\2192";
  font-weight: 800;
}

/* Séparateur "volet roulant" — discret clin d'œil au garde-meuble entre deux sections */
.shutter-divider {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--green-600) 0px,
    var(--green-600) 16px,
    var(--yellow-400) 16px,
    var(--yellow-400) 32px
  );
}

/* Bandeau annonce */
.announce-bar {
  background: var(--yellow-400);
  color: var(--ink-900);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  text-transform: uppercase;
}

/* Header */
.site-header {
  background: var(--ink-900);
  color: var(--paper);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--paper);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.75rem;
  color: #a9b2ba;
}

.header-cta {
  display: none;
}

@media (min-width: 720px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: var(--paper);
  padding: 56px 0 64px;
}

.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(26, 122, 60, 0.25);
  color: #8fe0ab;
  border: 1px solid rgba(143, 224, 171, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero h1 .accent {
  color: var(--green-600);
  background: var(--paper);
  padding: 0 6px;
  border-radius: 6px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cdd4d9;
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: #8fe0ab;
  font-weight: 600;
  margin: 0 0 24px;
}

.place-highlight {
  color: #8fe0ab;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: #a9b2ba;
}

.hero-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust {
  padding: 0;
  margin: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Visuel publicitaire réel — image fournie, jamais recréée ni déformée */
.ad-visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  background: var(--ink-700);
  aspect-ratio: 1 / 1;
}

.ad-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink-700);
}

.badge-opening {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--yellow-400);
  color: var(--ink-900);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 999px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  z-index: 2;
}

.hero-visual > .price-note {
  text-align: center;
  color: #a9b2ba;
  margin: 14px 0 0;
}

.hero-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e8eb;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}

.feature-icon {
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-alt {
  background: var(--paper-muted);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  color: var(--green-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

/* Tarifs */
.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid #e6e9eb;
  border-top: 4px solid var(--green-600);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.price-card::after {
  content: "📦";
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.3rem;
  opacity: 0.15;
}

.price-card--highlight {
  border-top-color: var(--yellow-400);
  box-shadow: var(--shadow-md);
}

.price-card-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-400);
  color: var(--ink-900);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
}

.price-card .size {
  font-weight: 700;
  color: var(--text-body);
}

.price-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green-700);
}

.price-card .price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card .note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* Usages */
.usage-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.usage-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  border: 1px solid #e6e9eb;
}

.usage-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}

.usage-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.usage-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Ouverture prochaine */
.timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 32px;
}

.timeline-step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--green-600);
  box-shadow: var(--shadow-sm);
}

.timeline-step .step-index {
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-step h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Formulaire */
.form-wrapper {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #e6e9eb;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #d5dade;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-body);
  background: var(--paper);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-consent input {
  margin-top: 3px;
}

.form-submit {
  margin-top: 28px;
  text-align: center;
}

.form-submit .btn {
  width: 100%;
  max-width: 320px;
}

.form-error {
  color: var(--red-600);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.field-invalid input,
.field-invalid select {
  border-color: var(--red-600);
}

.field-invalid .form-error {
  display: block;
}

.form-status {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  color: var(--red-600);
}

.form-status.loading {
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid #e6e9eb;
  border-radius: 10px;
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--green-700);
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--ink-900);
  color: #a9b2ba;
  padding: 40px 0;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: #cdd4d9;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-900);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 50;
}

.sticky-cta .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

body {
  padding-bottom: 76px;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

/* Confirmation page */
.confirm-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.confirm-card {
  max-width: 520px;
}

.confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.confirm-card h1 {
  margin: 0 0 12px;
}

.confirm-card p {
  color: var(--text-muted);
  margin: 0 0 24px;
}
