/* Page d'accueil (index.html) */

/* Haut de page */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 72px; padding: 100px 0 92px; align-items: end; }
.eyebrow { margin-bottom: 19px; }
h1 { margin: 0; max-width: 720px; font: normal clamp(45px, 6.3vw, 76px)/1.02 var(--serif); letter-spacing: -.055em; }
h1 span { color: #667b4f; }
.intro { max-width: 600px; margin: 25px 0 0; color: #555d54; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.quiet-link { font-size: 14px; border-bottom: 1px solid #9da399; padding-bottom: 3px; }
.hero-aside { align-self: end; }
.hero-photo { margin: 0 0 24px; }
.hero-photo img { display: block; width: 100%; height: 225px; object-fit: cover; object-position: center 48%; }
.quick-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quick-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.quick-list span { color: var(--muted); }

/* Sections */
.section { padding: 68px 0; border-top: 1px solid var(--line); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
h2 { margin: 0; font: normal clamp(32px, 4vw, 45px)/1.1 var(--serif); letter-spacing: -.04em; }
.section-note { max-width: 400px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Tarifs */
#offres { background: var(--green); color: #f4f5ee; }
#offres .section-subtitle { color: var(--lime); }
#offres .section-note { color: #c9d1c8; }
.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.offer { min-width: 0; overflow: hidden; padding: 23px 20px 20px; border: 1px solid rgba(255,255,255,.19); border-radius: 9px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: 0 18px 32px rgba(0,0,0,.15); backdrop-filter: blur(9px); transform: rotate(var(--turn)); transition: transform .35s ease, background .25s, border-color .25s, box-shadow .25s; }
.offer:nth-child(1) { --turn: -1deg; }
.offer:nth-child(2) { --turn: .3deg; }
.offer:nth-child(3) { --turn: 1deg; }
.offer-list:hover .offer { transform: rotate(0); }
.offer:hover { transform: translateY(-5px) rotate(0) !important; border-color: rgba(221,239,197,.55); background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.055)); box-shadow: 0 24px 40px rgba(0,0,0,.23); }
.offer-photo { margin: -23px -20px 19px; }
.offer-photo img { display: block; width: 100%; height: 128px; object-fit: cover; }
.offer-name { min-height: 58px; margin: 0; color: #fff; font: normal 23px/1.2 var(--serif); }
.offer-index { display: block; margin-bottom: 7px; color: #c9d4c5; font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
/* La ligne « À partir de » est réservée sur chaque carte pour garder les prix alignés */
.offer-pricing { position: relative; margin-top: 12px; padding-top: 22px; }
.offer-from { position: absolute; top: 0; left: 0; margin: 0; color: #e3edcf; font-size: 15px; line-height: 22px; }
.offer-price { margin: 0; color: #fff; font-size: 27px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.offer-price small { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.offer-note { min-height: 21px; margin: 6px 0 0; color: #c9d1c8; font-size: 13px; line-height: 1.6; }
.offer ul { min-height: 214px; margin: 17px 0; padding: 13px 0 0 17px; border-top: 1px solid rgba(255,255,255,.15); color: #e8ede5; font-size: 14px; line-height: 1.8; }
.offer-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid #8e9d87; color: #e3edcf; font-size: 14px; font-weight: 700; white-space: nowrap; }
.offer-tax { margin: 20px 0 0; color: #c9d1c8; font-size: 13px; }

/* À propos */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.about-copy { max-width: 640px; color: #535b53; font-size: 16px; line-height: 1.8; }
.about-copy p { margin: 0 0 14px; }
.about-copy strong { color: var(--ink); }

/* Contact */
.contact { background: #e7eadf; padding: 58px 0; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-text { margin: 12px 0 0; max-width: 520px; color: #586054; font-size: 15px; }
.contact .button { flex: 0 0 auto; }

/* Trois cartes étroites : la photo et les textes restent lisibles */
@media (max-width: 1000px) {
  .hero { gap: 44px; }
  .offer { padding-left: 16px; padding-right: 16px; }
  .offer-photo { margin-left: -16px; margin-right: -16px; }
  .offer-link { white-space: normal; }
}

@media (max-width: 760px) {
  .hero { display: block; padding: 66px 0 60px; }
  h1 { font-size: clamp(45px, 11vw, 66px); }
  .intro { font-size: 16px; }
  .hero-aside { margin-top: 42px; }
  .hero-photo { margin-bottom: 22px; }
  .hero-photo img { height: 240px; }
  .section { padding: 54px 0; }
  .section-top { display: block; }
  .section-note { margin-top: 14px; }
  .offer-list { grid-template-columns: 1fr; gap: 12px; }
  .offer { padding: 19px; transform: none; }
  .offer:hover { transform: translateY(-3px) !important; }
  .offer-photo { margin: -19px -19px 17px; }
  .offer-photo img { height: 180px; }
  .offer-name { min-height: 0; }
  .offer-pricing { padding-top: 0; }
  .offer-from { position: static; }
  .offer-price { font-size: 25px; }
  .offer ul { min-height: 0; margin-top: 14px; }
  .offer-link { margin-top: 3px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .contact-row { display: block; }
  .contact .button { margin-top: 22px; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
}
