/* ==========================================================================
   Alure Plaisance — styles de page
   S'appuie sur les variables définies dans ap.css (navy / crème / laiton)

   Version : 0.6.0
   ========================================================================== */

:root {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--creme);
  font-weight: 300;
}

h1, h2, h3, h4, .ap-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ap-eyebrow {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laiton-dark);
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
}

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ==========================================================================
   Signature — liseré vague (écho du logo)
   ========================================================================== */

.ap-wave-divider {
  width: 100%;
  height: 40px;
  margin: 0 auto;
}

.ap-wave-divider svg path {
  stroke: var(--laiton);
  stroke-width: 1.5;
  fill: none;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.ap-navbar {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.ap-navbar .nav-link {
  color: var(--creme) !important;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin: 0 14px;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.ap-navbar .nav-link:hover {
  opacity: 1;
  color: var(--laiton-light) !important;
}

.ap-lang-switch {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--creme);
}

.ap-lang-switch a {
  color: var(--creme);
  opacity: 0.6;
  text-decoration: none;
  padding: 2px 4px;
}

.ap-lang-switch a.active {
  opacity: 1;
  color: var(--laiton-light);
  font-weight: 500;
}

.ap-lang-switch .divider {
  opacity: 0.4;
  margin: 0 2px;
}

.ap-btn-laiton {
  background: var(--laiton);
  color: var(--navy) !important;
  border: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.ap-btn-laiton:hover {
  background: var(--laiton-light);
  color: var(--navy);
}

.ap-btn-outline {
  background: transparent;
  color: var(--creme);
  border: 1px solid var(--laiton);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ap-btn-outline:hover {
  background: rgba(176,141,87,0.15);
  color: var(--creme);
  border-color: var(--laiton-light);
}

/* ==========================================================================
   Hero — carousel plein écran (ou vidéo en fond)
   ========================================================================== */

.ap-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--creme);
  padding: 0;
}

.ap-hero-carousel,
.ap-hero-carousel .carousel-inner,
.ap-hero-carousel .carousel-item {
  height: 100vh;
  min-height: 620px;
}

.ap-hero-carousel .carousel-item img,
.ap-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Alternative : vidéo de fond — décommenter le bloc HTML .ap-hero-video dans index.php */
.ap-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,32,60,0.3) 0%, rgba(18,32,60,0.12) 45%, rgba(18,32,60,0.45) 100%);
  z-index: 2;
  pointer-events: none;
}

.ap-hero-carousel .carousel-item {
  position: relative;
}

.ap-hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.ap-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  /* Contour net (pas de flou diffus) pour détacher le texte même sur un
     ciel très clair, sans avoir à assombrir toute la photo */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.85),
    0 0 2px rgba(0,0,0,0.7),
    0 2px 10px rgba(0,0,0,0.4);
}

.ap-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--creme);
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   Services
   ========================================================================== */

.ap-service-card {
  background: #fff;
  border: 1px solid var(--creme-dark);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,42,74,0.08);
}

.ap-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--laiton-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 20px;
}

.ap-service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.ap-service-card p {
  font-size: 14.5px;
  color: var(--text-on-creme-muted);
  margin: 0;
}

/* R002 : cartes services cliquables (Brokerage/Charter/Management/Entretien) */
.ap-service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ap-service-icon i {
  font-size: 22px;
  line-height: 1;
}

/* ==========================================================================
   Charter (fond navy)
   ========================================================================== */

.ap-section-navy {
  background: var(--navy);
  color: var(--creme);
}

.ap-section-navy .ap-eyebrow {
  color: var(--laiton-light);
}

.ap-section-navy p {
  color: var(--text-on-navy-muted);
}

.ap-charter-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(245,240,230,0.08);
}

.ap-charter-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ap-charter-body {
  padding: 22px 24px;
}

.ap-charter-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.ap-charter-meta {
  font-size: 13px;
  color: var(--text-on-navy-muted);
  margin-bottom: 14px;
}

.ap-charter-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--laiton-light);
}

.ap-charter-price small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-on-navy-muted);
}

/* ==========================================================================
   Boats — vignettes
   ========================================================================== */

.ap-boat-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--creme-dark);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-boat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,42,74,0.1);
}

.ap-boat-img-wrap {
  position: relative;
  overflow: hidden;
}

.ap-boat-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ap-boat-card:hover .ap-boat-img-wrap img {
  transform: scale(1.06);
}

.ap-boat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--laiton);
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.ap-boat-body {
  padding: 24px;
}

.ap-boat-body h3 {
  font-size: 21px;
  margin-bottom: 4px;
}

.ap-boat-type {
  font-size: 13px;
  color: var(--laiton-dark);
  margin-bottom: 14px;
}

.ap-boat-specs {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-on-creme-muted);
  margin-bottom: 18px;
  border-top: 1px solid var(--creme-dark);
  padding-top: 14px;
}

.ap-boat-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.ap-testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ap-testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 26px;
}

.ap-testimonial-quote::before {
  content: '\201C';
  color: var(--laiton);
  font-size: 2.5rem;
  line-height: 0;
  display: block;
  margin-bottom: 14px;
}

.ap-testimonial-author {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--laiton-dark);
}

.ap-testimonial-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--laiton);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.4;
}

.ap-testimonial-carousel .carousel-indicators .active {
  opacity: 1;
}

/* Par défaut, Bootstrap place les indicateurs en position absolute en bas
   du carousel, ce qui les fait chevaucher le texte du témoignage.
   On les repasse en flux normal, sous le contenu. */
.ap-testimonial-carousel {
  padding-bottom: 10px;
}

.ap-testimonial-carousel .carousel-indicators {
  position: static;
  margin: 36px 0 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.ap-faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--creme-dark);
}

.ap-faq-accordion .accordion-item:first-of-type,
.ap-faq-accordion .accordion-item:last-of-type {
  border-radius: 0;
}

.ap-faq-accordion .accordion-button {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  padding: 22px 4px;
  box-shadow: none;
}

.ap-faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--laiton-dark);
  box-shadow: none;
}

.ap-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.ap-faq-accordion .accordion-button::after {
  filter: sepia(1) saturate(3) hue-rotate(0deg);
  opacity: 0.6;
}

.ap-faq-accordion .accordion-body {
  padding: 0 4px 24px;
  color: var(--text-on-creme-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.ap-contact-form .form-control {
  background: var(--creme);
  border: 1px solid var(--creme-dark);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--navy);
}

.ap-contact-form .form-control:focus {
  border-color: var(--laiton);
  box-shadow: 0 0 0 0.2rem rgba(176,141,87,0.15);
}

.ap-contact-form label {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-on-navy-muted);
  margin-bottom: 6px;
}

.ap-contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.ap-contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--laiton-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.ap-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--creme-dark);
}

.ap-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ap-footer {
  background: var(--navy-dark);
  color: var(--text-on-navy-muted);
  padding: 80px 0 30px;
  font-size: 14px;
}

.ap-footer-title {
  color: var(--creme);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.ap-footer-links li {
  margin-bottom: 10px;
}

.ap-footer-links a {
  color: var(--text-on-navy-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-footer-links a:hover {
  color: var(--laiton-light);
}

.ap-footer-tagline {
  max-width: 280px;
  margin-bottom: 20px;
}

.ap-social {
  display: flex;
  gap: 12px;
}

.ap-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,230,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creme);
  font-size: 11px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ap-social a:hover {
  border-color: var(--laiton);
  color: var(--laiton-light);
}

.ap-footer-divider {
  border-color: rgba(245,240,230,0.12);
  margin: 40px 0 24px;
}

.ap-footer-bottom {
  font-size: 12.5px;
  color: rgba(245,240,230,0.5);
}

.ap-footer-credit a {
  color: rgba(245,240,230,0.6);
}

/* ==========================================================================
   Bouton flottant — retour en haut
   ========================================================================== */

.ap-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--laiton-light);
  border: 1px solid rgba(245,240,230,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(18,32,60,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, visibility 0.25s;
}

.ap-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ap-back-to-top:hover {
  background: var(--laiton);
  color: var(--navy);
}

@media (max-width: 576px) {
  .ap-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   Actualités
   ========================================================================== */

.ap-filter-pill {
  background: #fff;
  border: 1px solid var(--creme-dark);
  color: var(--text-on-creme-muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.ap-filter-pill:hover {
  border-color: var(--laiton);
  color: var(--navy);
}

.ap-filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--creme);
}

.ap-article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--creme-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,42,74,0.1);
  color: inherit;
}

.ap-article-img-wrap {
  position: relative;
  overflow: hidden;
}

.ap-article-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ap-article-card:hover .ap-article-img-wrap img {
  transform: scale(1.06);
}

.ap-article-body {
  padding: 24px;
}

.ap-article-body h3 {
  font-size: 19px;
  margin: 10px 0 10px;
  line-height: 1.3;
}

.ap-article-excerpt {
  font-size: 14px;
  color: var(--text-on-creme-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.ap-article-readmore {
  font-size: 13px;
  color: var(--laiton-dark);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.ap-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
}

.ap-article-content p {
  margin-bottom: 22px;
}

.ap-article-content h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.ap-article-content h3 {
  font-size: 20px;
  margin: 32px 0 14px;
}

/* R002/R003 : listes à puces "check" (Management, Entretien, Société) */
.ap-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.ap-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-on-creme-muted);
}

.ap-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--laiton);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
