/*
Theme Name:   Casa Octopus Child
Theme URI:    https://casa-octopus.com
Description:  Thème enfant basé sur Hello Elementor — Villa de luxe Méditerranée
Author:       Casa Octopus
Template:     hello-elementor
Version:      1.0.0
Text Domain:  casa-octopus
*/

/* ─── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --co-teal:    #4A9FA7;
  --co-teal-dk: #3a8a92;
  --co-beige:   #F1EFE4;
  --co-dark:    #2e2e2e;
  --co-gray:    #6b6b6b;
  --co-white:   #ffffff;
}

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--co-beige);
  color: var(--co-dark);
  font-size: 15px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--co-dark);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }

p { color: var(--co-gray); line-height: 1.9; }

a { color: var(--co-teal); }

/* ─── ELEMENTOR GLOBAL OVERRIDES ────────────────────────────────── */
.elementor-section {
  background-color: var(--co-beige);
}

.elementor-section.section-white {
  background-color: var(--co-white) !important;
}

.elementor-section.section-dark {
  background-color: var(--co-dark) !important;
}

.elementor-section.section-teal {
  background-color: var(--co-teal) !important;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.elementor-button.btn-primary,
.btn-primary {
  background-color: var(--co-teal) !important;
  color: var(--co-white) !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 13px 32px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: background .25s !important;
}

.elementor-button.btn-primary:hover,
.btn-primary:hover {
  background-color: var(--co-teal-dk) !important;
}

.elementor-button.btn-secondary,
.btn-secondary {
  background-color: transparent !important;
  color: var(--co-teal) !important;
  border: 1px solid var(--co-teal) !important;
  border-radius: 3px !important;
  padding: 12px 32px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: all .25s !important;
}

.elementor-button.btn-secondary:hover,
.btn-secondary:hover {
  background-color: var(--co-teal) !important;
  color: var(--co-white) !important;
}

.elementor-button.btn-outline-white {
  background-color: transparent !important;
  color: var(--co-white) !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  border-radius: 3px !important;
  padding: 12px 32px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: all .25s !important;
}

.elementor-button.btn-outline-white:hover {
  background-color: rgba(255,255,255,.12) !important;
}

/* ─── SECTION TAG ───────────────────────────────────────────────── */
.co-section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--co-teal);
  margin-bottom: 16px;
}

/* ─── ARROW LINK ────────────────────────────────────────────────── */
.co-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--co-teal);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 24px;
  transition: gap .25s;
}

.co-arrow-link::after { content: '→'; font-size: 14px; }
.co-arrow-link:hover  { gap: 16px; }

/* ─── FEATURE CARDS ─────────────────────────────────────────────── */
.co-feature-card {
  background: var(--co-white);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s;
}

.co-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.07);
}

.co-feature-card .co-icon {
  width: 48px;
  height: 48px;
  background: rgba(74,159,167,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* ─── STAT ITEMS ────────────────────────────────────────────────── */
.co-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.co-stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(74,159,167,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.co-stat-label { font-size: 12px; color: var(--co-gray); letter-spacing: 1px; }
.co-stat-value { font-size: 15px; font-weight: 600; color: var(--co-dark); }

/* ─── SERVICE ITEMS ─────────────────────────────────────────────── */
.co-service-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.co-service-icon {
  width: 48px;
  height: 48px;
  background: rgba(74,159,167,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── ACTIVITY CARDS ────────────────────────────────────────────── */
.co-activity-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 24px 20px;
  transition: background .25s;
}

.co-activity-card:hover { background: rgba(74,159,167,.15); }

.co-activity-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--co-white);
  margin-bottom: 6px;
}

.co-activity-card p { font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ─── BLOCKQUOTE ────────────────────────────────────────────────── */
.co-blockquote {
  border-left: 3px solid var(--co-teal);
  margin: 28px 0;
  padding: 16px 24px;
  background: rgba(74,159,167,.05);
  border-radius: 0 4px 4px 0;
}

.co-blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--co-dark);
  line-height: 1.7;
}

/* ─── TESTIMONIAL SECTION ───────────────────────────────────────── */
.co-testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--co-white);
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.5;
  text-align: center;
}

.co-testimonial-author {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header,
.elementor-location-header {
  background: var(--co-beige) !important;
  border-bottom: 1px solid rgba(74,159,167,.15);
  position: sticky !important;
  top: 0;
  z-index: 100;
}

/* Nav links */
.elementor-nav-menu a {
  color: var(--co-teal) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: opacity .2s !important;
}

.elementor-nav-menu a:hover { opacity: .65 !important; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.elementor-location-footer {
  background-color: var(--co-dark) !important;
  color: rgba(255,255,255,.65) !important;
}

.elementor-location-footer h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--co-white);
  letter-spacing: 1px;
}

.elementor-location-footer a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}

.elementor-location-footer a:hover { color: var(--co-teal); }

/* ─── MAP PLACEHOLDER ───────────────────────────────────────────── */
.co-map-wrap .elementor-google-maps iframe {
  border-radius: 4px;
  border: 1px solid rgba(74,159,167,.2);
}

/* ─── HERO SECTION ──────────────────────────────────────────────── */
.co-hero-section {
  background-color: var(--co-dark) !important;
  min-height: 580px;
}

.co-hero-section .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(28px, 4.5vw, 46px) !important;
  font-weight: 300 !important;
  color: var(--co-white) !important;
  line-height: 1.2 !important;
}

/* ─── IMAGE OVERLAY BADGES ──────────────────────────────────────── */
.co-badge {
  background: var(--co-teal);
  color: var(--co-white);
  padding: 20px 24px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(74,159,167,.35);
}

.co-badge .co-badge-num {
  font-size: 28px;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.co-badge .co-badge-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .85;
}

/* ─── DIVIDER ───────────────────────────────────────────────────── */
.co-divider {
  width: 48px;
  height: 2px;
  background: var(--co-teal);
  margin: 20px 0;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .co-feature-card { padding: 28px 24px; }
}

@media (max-width: 767px) {
  .co-service-item { flex-direction: column; }
  .co-stat { flex-direction: column; text-align: center; }
}
