/* Direction Atlas océanique — shared by the French and Spanish sites. */
.atlas-site {
  --bg: #04121c;
  --bg2: #071b29;
  --text: #f2efe5;
  --muted: #b3c9ce;
  --card: #0d2a38;
  --card2: #143746;
  --stroke: #325261;
  --accent: #46c9c1;
  --accent2: #46c9c1;
  --shadow: none;
  --radius: 4px;
  --max: 1220px;
  background: #04121c;
  color: var(--text);
}
.atlas-site::before { content: none; }
.atlas-site a:focus-visible,
.atlas-site button:focus-visible { outline: 3px solid #79e6dc; outline-offset: 4px; }
.atlas-site .container { width: min(var(--max), calc(100% - 48px)); }

/* Masthead */
.atlas-site .site-header { background: #071b29f2; border-color: var(--stroke); }
.atlas-site .header-inner { min-height: 76px; padding: 10px 0; gap: 24px; }
.atlas-site .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: .96rem; letter-spacing: .035em; text-transform: uppercase; }
.atlas-site .brand > span:last-child { font-size: inherit; }
.atlas-site .brand-icon,
.atlas-site .brand-badge { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--accent); border-radius: 50%; background: none; box-shadow: none; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.atlas-site .nav { align-items: center; justify-content: flex-end; gap: 16px; }
.atlas-site .nav a { width: auto; border: 0; border-radius: 0; padding: 9px 0; color: #d6e4e5; font-size: .88rem; }
.atlas-site .nav a:hover,
.atlas-site .nav a:focus-visible,
.atlas-site .nav a.active,
.atlas-site .nav a.bouton_encours { color: var(--accent); background: none; }
.atlas-site .nav .lang-link { margin-left: 4px; border: 1px solid var(--stroke); border-radius: 20px; padding: 7px 12px; font-weight: 700; }
.atlas-site .nav .lang-link:hover { border-color: var(--accent); }
.atlas-site .menu-btn { color: var(--text); border: 1px solid var(--stroke); border-radius: 3px; background: var(--card); font-weight: 700; }

/* Home hero, using the original illustration without a frame or caption. */
.atlas-site .hero { padding: 0; border-bottom: 1px solid var(--stroke); background: radial-gradient(circle at 80% 40%, #1b5361 0, #0d3242 31%, #071b29 70%); }
.atlas-site .hero::before { content: ""; position: absolute; inset: 0; height: auto; background: repeating-linear-gradient(0deg, transparent 0 59px, #ffffff09 60px 61px), repeating-linear-gradient(90deg, transparent 0 59px, #ffffff09 60px 61px); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); filter: none; }
.atlas-site .hero-inner { position: relative; display: grid; grid-template-columns: 46% minmax(0, 54%); min-height: 570px; gap: 22px; align-items: center; }
.atlas-site .hero-copy { padding: 68px 0 76px; z-index: 1; }
.atlas-site .kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.atlas-site .kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.atlas-site .hero h1 { max-width: 660px; margin: 0 0 26px; font: 400 clamp(3.35rem, 6vw, 5.75rem)/.99 Georgia, serif; letter-spacing: -.055em; }
.atlas-site .hero h1 em { color: var(--accent); font-style: normal; }
.atlas-site .hero .lead { max-width: 540px; margin: 0; color: #c9dade; font-size: 1.12rem; line-height: 1.75; }
.atlas-site .cta-row { gap: 12px; margin-top: 32px; }
.atlas-site .hero .btn { min-height: 48px; border: 1px solid var(--accent); border-radius: 3px; padding: 11px 18px; background: var(--accent); color: #062530; font-size: .9rem; font-weight: 750; box-shadow: none; }
.atlas-site .hero .btn.ghost { border-color: #88adb5; background: transparent; color: var(--text); }
.atlas-site .hero .btn:hover { transform: translateY(-2px); border-color: #8af2e8; background: #8af2e8; }
.atlas-site .hero .btn.ghost:hover { background: #ffffff15; color: var(--text); }
.atlas-site .hero-image { min-width: 0; margin: 0; }
.atlas-site .hero-image img { display: block; width: 100%; height: auto; max-height: 500px; object-fit: contain; }

/* Article layout and legacy content */
.atlas-site .layout { grid-template-columns: 250px minmax(0, 1fr); gap: 38px; padding: 52px 0 78px; }
.atlas-site .content { padding: 0; }
.atlas-site .content h1,
.atlas-site .content h2,
.atlas-site .content h3 { color: var(--text); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
.atlas-site .content h1 { font-size: clamp(2.2rem, 3.4vw, 3.6rem); line-height: 1.12; margin-bottom: 26px; }
.atlas-site .content h2 { font-size: clamp(1.65rem, 2.4vw, 2.35rem); line-height: 1.18; margin-top: 38px; }
.atlas-site .content h3 { font-size: 1.35rem; }
.atlas-site .prose { max-width: 80ch; }
.atlas-site .texte_normal { font-size: 1.02rem; line-height: 1.8; }
.atlas-site .texte_normal a { color: #79e6dc; text-decoration-color: #79e6dc88; }
.atlas-site .breadcrumbs { color: #b6cbd0; font-size: .9rem; opacity: 1; margin-bottom: 22px; }
.atlas-site .breadcrumbs a { color: #d3e6e8; }
.atlas-site .sidebar { top: 96px; }
.atlas-site .sidebar .side-card,
.atlas-site .sidebar .panel { padding: 20px 16px; border: 1px solid var(--stroke); border-radius: 4px; background: #092330; box-shadow: none; }
.atlas-site .sidebar .titre_menu { border-radius: 0; border-bottom: 1px solid var(--stroke); padding: 8px 4px 12px; background: none; color: var(--accent); font-size: .86rem; letter-spacing: .1em; }
.atlas-site .sidebar a { border-radius: 3px; color: #c4d5d8; }
.atlas-site .sidebar a:hover,
.atlas-site .sidebar .lien_menu_encours { background: #143746; border-color: var(--stroke); color: var(--text); }
.atlas-site .sidebar a::before { background: var(--accent); }
.atlas-site .home-cta-card,
.atlas-site .read-more-card { border-radius: 4px; background: var(--card); box-shadow: none; }
.atlas-site .home-cta-card:hover,
.atlas-site .read-more-card:hover { border-color: var(--accent); background: var(--card2); }
.atlas-site .home-cta-k,
.atlas-site .rm-k { color: var(--accent); font-size: .88rem; font-weight: 700; }
.atlas-site .home-cta-t,
.atlas-site .rm-t { font: 400 1.45rem/1.2 Georgia, serif; }
.atlas-site .read-more { border-radius: 4px; background: #092330; }
.atlas-site .read-more-title { font: 400 1.7rem Georgia, serif; }
.atlas-site .footer,
.atlas-site .site-footer { border-top: 1px solid var(--stroke); background: #071b29; }
.atlas-site .footer-inner,
.atlas-site .site-footer .container { color: #c0d3d6; font-size: .9rem; opacity: 1; }
.atlas-site .footer a,
.atlas-site .site-footer a { color: #d6e4e5; }

@media (max-width: 1050px) {
  .atlas-site .header-inner { flex-wrap: wrap; }
  .atlas-site .nav { flex: 1 0 100%; justify-content: flex-start; }
  .atlas-site .hero-inner { min-height: 0; }
}
@media (max-width: 760px) {
  .atlas-site .container { width: calc(100% - 32px); }
  .atlas-site .header-inner { flex-wrap: nowrap; min-height: 68px; }
  .atlas-site .brand { font-size: .82rem; }
  .atlas-site .brand-icon,
  .atlas-site .brand-badge { width: 30px; height: 30px; flex-basis: 30px; }
  .atlas-site .menu-btn { display: inline-flex; margin-left: auto; }
  .atlas-site .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 18px; border-bottom: 1px solid var(--stroke); background: #071b29; }
  .atlas-site .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .atlas-site .nav a { width: 100%; padding: 10px; }
  .atlas-site .nav .lang-link { margin: 10px 0 0; width: fit-content; }
  .atlas-site .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .atlas-site .hero-copy { padding: 60px 0 18px; }
  .atlas-site .hero h1 { font-size: clamp(3.1rem, 10vw, 5rem); }
  .atlas-site .hero .lead { font-size: 1rem; }
  .atlas-site .hero-image { padding: 0 0 36px; }
  .atlas-site .hero-image img { max-height: 340px; }
  .atlas-site .layout { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 56px; }
  .atlas-site .sidebar { position: static; }
  .atlas-site .content { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-site .hero .btn { transition: none; }
}
