/* =================================================================
   Ty Ar Mor — Feuille de style
   Palette : crème + bleu pétrole + turquoise (inspiré du site Lovable)
   ================================================================= */

:root {
  --cream:      #faf8f3;
  --cream-2:    #f2ece1;
  --sand:       #e5dbca;
  --ink:        #1b2530;
  --ink-soft:   #47535e;
  --petrol:     #14414f;
  --petrol-dk:  #0e333d;
  --turquoise:  #3f9c9a;
  --white:      #ffffff;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 18px 45px -25px rgba(14, 51, 63, .45);
  --shadow-sm: 0 8px 24px -16px rgba(14, 51, 63, .5);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--petrol); text-decoration: none; transition: color .2s; }
a:hover { color: var(--turquoise); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--ink); margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: 1.4rem; }

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

.skip-link { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; color:#fff; }

.kicker { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 600; color: var(--turquoise); margin: 0 0 .8em; }
.kicker.light { color: #8fd0ce; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; font-weight: 600; color: #cfe4e2; margin: 0 0 1.2em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  padding: 14px 30px; border-radius: 40px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s; letter-spacing: .01em;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-dk); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); }
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.header-right { display: flex; align-items: center; gap: 22px; }
.lang-switch { display: flex; gap: 7px; align-items: center; }
.lang-switch a { display: inline-flex; width: 25px; height: 17px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(27,37,48,.18); opacity: .5; transition: opacity .2s, transform .2s, box-shadow .2s; }
.lang-switch a:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch a.active { opacity: 1; box-shadow: 0 0 0 2px var(--turquoise); }
.lang-switch .flag { width: 100%; height: 100%; display: block; }
.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-list a:hover { color: var(--turquoise); }
.nav-cta { background: var(--petrol); color: #fff !important; padding: 9px 22px; border-radius: 40px; }
.nav-cta:hover { background: var(--petrol-dk); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background-size: cover; background-position: center 62%; color: #fff;
}
.hero-inner { max-width: 760px; padding-block: 120px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; margin-bottom: .4em; }
.hero-lead { font-size: 1.18rem; color: #f2f0ea; max-width: 620px; margin-bottom: 2em; font-weight: 400; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.6rem; opacity: .8; animation: bob 2s infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--petrol); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); }
.section-dark .section-intro { color: #d7e5e3; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prose p { color: var(--ink-soft); margin: 0 0 1.1em; }
.prose p strong { color: var(--ink); }
.media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* Stats */
.stats { list-style: none; margin: 2em 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.stats li { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.stats span { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; color: var(--petrol); line-height: 1; }

/* ---------- Esprit (4 cartes) ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mood { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.mood h3 { color: var(--petrol); margin-bottom: .4em; }
.mood p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Équipements ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.equip-col h3 { font-size: 1.25rem; color: var(--petrol); padding-bottom: .5em; border-bottom: 2px solid var(--turquoise); margin-bottom: .8em; display: inline-block; }
.equip-col ul { list-style: none; margin: 0; padding: 0; }
.equip-col li { padding: 8px 0 8px 22px; position: relative; color: var(--ink-soft); font-size: .96rem; border-bottom: 1px solid var(--sand); }
.equip-col li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--turquoise); border-radius: 50%; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Autour (POI) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.poi { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.poi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.poi img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.poi-body { padding: 22px 24px 26px; }
.poi-body h3 { color: var(--petrol); margin-bottom: .35em; }
.poi-body p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Tarifs ---------- */
.pricing { max-width: 760px; margin-inline: auto; }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pricing-table th, .pricing-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--sand); }
.pricing-table thead th { background: var(--petrol); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.pricing-table thead th span { display: block; font-weight: 400; font-size: .72rem; opacity: .8; text-transform: none; letter-spacing: 0; }
.pricing-table td:first-child { font-weight: 500; color: var(--ink); }
.pricing-table td { color: var(--ink-soft); }
.pricing-table td:not(:first-child) { font-family: var(--font-serif); font-size: 1.3rem; color: var(--petrol); white-space: nowrap; }
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table tbody tr.high { background: #eef6f5; }
.pricing-table tbody tr.high td:not(:first-child) { color: var(--petrol-dk); font-weight: 600; }
.pricing-extras { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pricing-extras li { background: var(--white); border: 1px solid var(--sand); border-radius: 40px; padding: 9px 20px; font-size: .95rem; color: var(--ink-soft); }
.pricing-extras li span { color: var(--petrol); font-weight: 600; }
.pricing-note { text-align: center; margin-top: 22px; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 560px) {
  .pricing-table th, .pricing-table td { padding: 12px 12px; }
  .pricing-table td:not(:first-child) { font-size: 1.1rem; }
  .pricing-table thead th { font-size: .72rem; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-serif); font-size: 1.2rem; color: var(--petrol); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-weight: 400; font-size: 1.6rem; color: var(--turquoise); transition: transform .2s; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }
.faq details p a { color: var(--petrol); }

/* ---------- Réserver ---------- */
.reserve { align-items: start; }
.reserve-form .section-intro { color: #d7e5e3; margin-bottom: 2em; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reserve-form .field-row:nth-of-type(2) { grid-template-columns: 1fr 1fr 1fr; }
.field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; color: #b9d4d2; font-weight: 600; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--turquoise); border-color: transparent; background: rgba(255,255,255,.12); }
.field input::placeholder { color: #9fbdbb; }
.date-hint { font-size: .85rem; color: #b9d4d2; margin: -4px 0 16px; display: flex; align-items: center; gap: 7px; }
.date-hint::before { content: "📅"; }
.hp { position: absolute; left: -9999px; }
.form-note { min-height: 1.2em; font-size: .95rem; margin: 12px 0 0; }
.form-note.ok { color: #a9e8c4; }
.form-note.err { color: #ffc2b8; }
.form-fallback { font-size: .92rem; color: #b9d4d2; margin-top: 14px; }
.form-fallback a { color: #fff; text-decoration: underline; }

.reserve-info { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px 34px; }
.reserve-info h3 { margin-bottom: 1em; }
.reserve-info dl { margin: 0; }
.reserve-info dt { font-weight: 600; color: #8fd0ce; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 16px; }
.reserve-info dt:first-child { margin-top: 0; }
.reserve-info dd { margin: 4px 0 0; color: #e4efee; font-size: .98rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--petrol-dk); color: #cbdbd9; padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand-name { color: #fff; font-size: 1.7rem; }
.footer-brand p { margin: 12px 0 0; font-size: .95rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1em; }
.footer-col p { margin: 0 0 .6em; }
.footer-col a, .footer-brand a { color: #cbdbd9; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; font-size: .82rem; color: #8fa9a7; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 24, 29, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 22px; right: 22px; font-size: 1.8rem; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    padding: 8px 0; align-items: stretch; transform: translateY(-140%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { border-bottom: 1px solid var(--sand); }
  .nav-list a { display: block; padding: 15px 24px; }
  .nav-cta { border-radius: 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 .media { order: -1; }
  .reserve .reserve-info { order: 2; }
  .cards-4, .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 88vh; }
  .hero-inner { padding-block: 90px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cards-4, .equip-grid, .cards-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .field-row, .reserve-form .field-row:nth-of-type(2) { grid-template-columns: 1fr; }
  .footer-inner, .footer-bottom { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .header-right { gap: 12px; }
  .lang-switch { gap: 5px; }
  .lang-switch a { width: 23px; height: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* =================================================================
   Cartes "Autour" cliquables + pages thématiques
   ================================================================= */
.poi { display: block; color: inherit; text-decoration: none; }
.poi-more { display: inline-block; margin-top: 14px; color: var(--turquoise); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.poi:hover .poi-more { color: var(--petrol); }

/* Sous-hero des pages thématiques */
.subhero { position: relative; min-height: 48vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; }
.subhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,28,34,.2), rgba(12,28,34,.74)); }
.subhero .container { position: relative; z-index: 1; padding-block: 46px; }
.subhero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0; max-width: 900px; }
.breadcrumb { font-size: .82rem; letter-spacing: .03em; margin-bottom: 14px; color: #dfeae9; }
.breadcrumb a { color: #dfeae9; text-decoration: underline; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #a9c4c2; }

/* Corps d'article */
.article-wrap { max-width: 780px; margin-inline: auto; }
.article-lead { font-size: 1.2rem; color: var(--ink); margin: 0 0 1.6em; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--petrol); margin: 1.7em 0 .5em; }
.article h3 { font-size: 1.2rem; color: var(--ink); margin: 1.4em 0 .4em; }
.article p { color: var(--ink-soft); margin: 0 0 1.1em; }
.article ul { color: var(--ink-soft); padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article a { color: var(--petrol); text-decoration: underline; }
.article a:hover { color: var(--turquoise); }
.article-figure { margin: 2em 0; }
.article-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.article-figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .6em; text-align: center; }

.infobox { background: var(--cream-2); border: 1px solid var(--sand); border-left: 4px solid var(--turquoise); border-radius: var(--radius); padding: 24px 26px; margin: 2em 0; }
.infobox h3 { margin: 0 0 .7em; color: var(--petrol); font-size: 1.1rem; }
.infobox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.infobox dt { font-weight: 600; color: var(--ink); font-size: .92rem; }
.infobox dd { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* Bandeau d'appel à réserver */
.cta-band { background: var(--petrol); color: #fff; text-align: center; padding: clamp(48px, 7vw, 84px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e5e3; max-width: 560px; margin: 0 auto 1.6em; }

/* Autres pages à découvrir */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card { display: block; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.mini-card span { display: block; padding: 14px 18px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--petrol); }
@media (max-width: 760px) { .mini-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-cards { grid-template-columns: 1fr; } }
