/* =========================================================
   Lisca — Location de bateaux à Figari, Corse du Sud
   Design system : Méditerranée (bleu profond, sable, corail)
   ========================================================= */

:root {
  --color-sea-deep: #0a3a56;
  --color-sea: #0f6690;
  --color-sea-light: #4bb4d6;
  --color-sand: #f6efe1;
  --color-sand-dark: #e8dabd;
  --color-ink: #0e2230;
  --color-ink-soft: #3c5364;
  --color-white: #ffffff;
  --color-accent: #de6b3f;
  --color-accent-dark: #c1552e;

  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-btn: 8px;
  --shadow: 0 10px 30px rgba(10, 58, 86, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 58, 86, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-sea-deep);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--color-sea); text-decoration: none; }
a:hover { color: var(--color-accent); }

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

.section { padding: 88px 0; }
.section--sand { background: var(--color-sand); }
.section--sea { background: linear-gradient(160deg, var(--color-sea-deep), var(--color-sea)); color: var(--color-white); }
.section--sea h1, .section--sea h2, .section--sea h3, .section--sea h4 { color: var(--color-white); }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(222, 107, 63, 0.12);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  transform: skewX(-10deg);
}
.section--sea .eyebrow { color: var(--color-white); background: rgba(255,255,255,0.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary { background: var(--color-accent); color: var(--color-white); box-shadow: 0 8px 20px rgba(222,107,63,0.35); }
.btn-primary:hover { background: var(--color-accent-dark); color: var(--color-white); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: var(--color-white); color: var(--color-sea-deep); }
.btn-light:hover { background: var(--color-sand); color: var(--color-sea-deep); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(10,58,86,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--color-sea-deep);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.logo span { color: var(--color-accent); }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-sea-deep);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a.is-active { color: var(--color-accent-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { padding: 11px 22px; }
.header-phone {
  display: none;
  font-weight: 700;
  color: var(--color-sea-deep);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--color-white);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 24px;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--color-sand-dark); }
  .header-actions .btn-outline { display: none; }
}
@media (min-width: 1100px) {
  .header-phone { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(6,20,30,0.62), rgba(6,20,30,0.5) 45%, rgba(6,20,30,0.85)), var(--color-sea-deep);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 32%, 100% 100%);
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { padding: 140px 0 110px; max-width: 720px; }
.hero h1, .hero h2, .hero h3 { color: var(--color-white); text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero p.lead, .hero-badge { text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero .eyebrow { background: rgba(255,255,255,0.18); color: var(--color-white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-badge { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-white); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  color: var(--color-white);
  background: linear-gradient(160deg, var(--color-sea-deep), var(--color-sea));
  text-align: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 54px;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.page-hero h1, .page-hero h2, .page-hero h3 { color: var(--color-white); }
.page-hero .eyebrow { background: rgba(255,255,255,0.16); color: var(--color-white); }
.page-hero p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,0.9); }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--color-white); }

/* ---------- Placeholder media ---------- */
.ph-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.ph-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--color-accent); }

/* Boat cards */
.boat-card figure { aspect-ratio: 4 / 3; margin: 0; }
.boat-card figure img { width: 100%; height: 100%; object-fit: cover; }
.boat-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.boat-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sea);
  background: rgba(15,102,144,0.1);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  transform: skewX(-10deg);
}
.boat-card h3 { margin-bottom: 6px; }
.boat-card .tagline { color: var(--color-ink-soft); font-size: 0.95rem; margin-bottom: 16px; }
.boat-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}
.boat-specs li strong { display: block; color: var(--color-ink); font-size: 0.95rem; }
.boat-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--color-sand-dark);
}
.price-from { font-size: 0.82rem; color: var(--color-ink-soft); }
.price-from strong { display: block; font-size: 1.25rem; color: var(--color-sea-deep); font-family: var(--font-display); }

/* Destination cards */
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dest-card:hover img { transform: scale(1.06); }
.dest-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,32,45,0.85) 0%, rgba(10,32,45,0.1) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: var(--color-white);
}
.dest-card-overlay .distance {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-accent);
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 10px;
  transform: skewX(-10deg);
}
.dest-card-overlay h3 { color: var(--color-white); margin-bottom: 4px; }
.dest-card-overlay p { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin: 0; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-accent);
  padding-top: 2px;
  min-width: 28px;
}
.feature-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(15,102,144,0.1);
  color: var(--color-sea);
  display: flex; align-items: center; justify-content: center;
}
.feature-item p { color: var(--color-ink-soft); font-size: 0.94rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--color-white); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* ---------- Boat detail page ---------- */
.boat-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  padding: 150px 0 70px;
}
@media (max-width: 900px) { .boat-hero { grid-template-columns: 1fr; padding-top: 120px; } }
.boat-gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.boat-gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.boat-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.boat-thumbs figure { margin: 0; width: 100%; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.boat-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--color-sand-dark); font-size: 0.95rem; }
.spec-table th { width: 44%; color: var(--color-ink-soft); font-weight: 600; }

.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--color-sand-dark); text-align: left; }
.price-table thead th { background: var(--color-sand); color: var(--color-sea-deep); font-family: var(--font-display); font-weight: 700; }
.price-table td.amount, .price-table th.amount { text-align: right; font-weight: 700; color: var(--color-sea-deep); }

.tag-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.tag-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.tag-list li::before { content: "✓"; color: var(--color-sea); font-weight: 700; }

.notice-box {
  background: var(--color-sand);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  margin: 24px 0;
}

.sticky-cta {
  position: sticky;
  top: 110px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.sticky-cta .price-from { margin-bottom: 18px; }
.sticky-cta ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 0.88rem; color: var(--color-ink-soft); }
.sticky-cta ul li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--color-sand-dark); }
.sticky-cta ul li::before { content: "✓"; color: var(--color-sea); font-weight: 700; }

.boat-nav-strip {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 28px 0; border-top: 1px solid var(--color-sand-dark); margin-top: 40px;
}
.boat-nav-strip a { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 20px; }
.contact-info-list li { display: flex; gap: 14px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-sand-dark);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--color-white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form { background: var(--color-sand); padding: 36px; border-radius: var(--radius); }

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-sand-dark); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-sea-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; color: var(--color-ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 24px; }

.cta-band--photo {
  position: relative;
  background: linear-gradient(160deg, rgba(10,32,45,0.75), rgba(10,58,86,0.55)), var(--color-sea-deep) center/cover;
  background-image: linear-gradient(160deg, rgba(10,32,45,0.78), rgba(10,58,86,0.6)), url("/assets/img/cta-roccapina.jpg");
  background-size: cover;
  background-position: center 70%;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.75); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--color-white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer .logo { color: var(--color-white); }
.site-footer .logo small { color: rgba(255,255,255,0.6); }
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--color-white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-white); color: var(--color-ink); padding: 12px 18px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }
