/*
Theme Name: Bateaux-Taxi Porquerolles
Theme URI: https://bateaux-taxi.com
Author: Recréation
Description: Thème WordPress cloné du site Bateaux-Taxi Porquerolles — transferts privés vers les îles d’Hyères. Formulaire de réservation envoyé par wp_mail.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bateaux-taxi
License: GNU General Public License v2 or later
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --gold: #e8b923;
  --gold-bright: #f5d04a;
  --navy: #07131d;
  --navy-2: #0c2233;
  --sea: #134056;
  --sand: #f4efe6;
  --cream: #fbf8f2;
  --white: #ffffff;
  --ink: #15202b;
  --muted: #5b6770;
  --line: rgba(232, 185, 35, 0.28);
  --shadow: 0 18px 50px rgba(7, 19, 29, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(7, 19, 29, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #000;
  flex-shrink: 0;
}
.logo a, .logo .custom-logo-link { display: block; width: 100%; height: 100%; }
.logo img, .logo .custom-logo { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--gold-bright); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 0;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #163044; color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero img.bg, .page-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,19,29,.35) 0%, rgba(7,19,29,.55) 55%, rgba(7,19,29,.78) 100%);
}
.hero-inner, .page-hero-inner { position: relative; z-index: 2; padding: 140px 20px 80px; }
.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(46px, 8vw, 92px);
  letter-spacing: .08em;
  line-height: 1;
}
.hero p.tagline {
  margin-top: 12px;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: .04em;
  opacity: .95;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: end start;
  color: #fff;
}
.page-hero-inner { padding: 160px 0 48px; }
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 6vw, 64px);
}
.page-hero p { opacity: .9; margin-top: 8px; }

/* Banner */
.alert-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
}
.alert-banner strong { color: var(--gold-bright); letter-spacing: .08em; }
.alert-banner p { max-width: 720px; margin: 8px auto 16px; opacity: .9; }

/* Sections */
section { padding: 80px 0; }
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lead { color: var(--muted); max-width: 720px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.split img { width: 100%; height: 460px; object-fit: cover; }
.checklist { list-style: none; margin: 22px 0 28px; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-family: "Playfair Display", serif; font-size: 26px; }
.card p { color: var(--muted); margin: 8px 0 18px; flex: 1; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  padding: 26px 22px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.feature h3 { font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Prices */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.price-table th, .price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.price-table th { background: var(--navy); color: #fff; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid #e6e0d6; }
.faq-item h3 {
  font-size: 17px;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item h3::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 24px; }
.faq-item.open h3::after { content: "–"; }
.faq-item .answer { display: none; padding: 0 0 18px; color: var(--muted); }
.faq-item.open .answer { display: block; }
.faq-group { margin-top: 36px; }
.faq-group h2 { font-family: "Playfair Display", serif; font-size: 26px; margin-bottom: 6px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8d0c4;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 14px; font-size: 14px; }
.form-status.success { background: #e7f6ec; color: #1a7a3c; }
.form-status.error { background: #fdecea; color: #9b1c1c; }
button[disabled] { opacity: .65; cursor: wait; }
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
}
.contact-info {
  background: var(--navy);
  color: #fff;
  padding: 36px 32px;
}
.contact-info h2 { font-family: "Playfair Display", serif; margin-bottom: 14px; }
.contact-info p { opacity: .85; margin-bottom: 14px; }
.contact-info a { color: var(--gold-bright); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d7dde2;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.site-footer h4 { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-bottom: 14px; }
.site-footer a:hover { color: var(--gold-bright); }
.legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  font-size: 12px;
  opacity: .7;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--sea) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-family: "Playfair Display", serif; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

@media (max-width: 900px) {
  .split, .cards, .features, .contact-wrap, .footer-grid, .form-grid, .two-col { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 28px;
    transform: translateX(110%);
    transition: transform .25s;
  }
  .nav.open { transform: translateX(0); }
  .menu-toggle { display: grid; place-items: center; }
  .logo { width: 68px; height: 68px; }
  .split img { height: 280px; }
}

