/*
Theme Name: Campus Italie
Theme URI: https://campusitalia.com
Author: Campus Italie
Description: Institut d'études supérieures — Langue italienne, orientation universitaire, coworking Vita Work.
Version: 3.0
*/

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

:root {
  --primary:   #01152E;
  --secondary: #C9A84C;
  --light:     #F8F4EE;
  --dark:      #2D2D2D;
  --pearl:     #F0EDE8;
  --muted:     #6B7280;
  --white:     #FFFFFF;
  --radius:    14px;
  --shadow:    0 4px 24px rgba(1,21,46,.10);
  --transition: .3s ease;
  --font-main: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--dark); background: var(--white); line-height: 1.7; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: #444; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title span {
  display: block; font-family: var(--font-main); font-size: .82rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: .5rem;
}
.section-title p { max-width: 600px; margin: .75rem auto 0; color: var(--muted); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); font-family: var(--font-main);
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #010e1f; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #b08a38; transform: translateY(-2px); }
.btn-outline   { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-ghost     { border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ── HEADER ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 16px rgba(1,21,46,.08);
  transition: var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 30px rgba(1,21,46,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.site-logo { display: flex; align-items: center; gap: .75rem; }
.site-logo img { height: 58px; width: auto; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary); font-weight: 700; }
.logo-name span { color: var(--secondary); }
.logo-sub { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.main-nav ul { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  font-weight: 500; font-size: .88rem; color: var(--dark);
  position: relative; padding-bottom: 4px; transition: color var(--transition);
}
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--secondary); transition: width var(--transition); }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }
.main-nav .btn { margin-left: .5rem; padding: .6rem 1.3rem; font-size: .85rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(to right, rgba(1,21,46,.95) 0%, rgba(1,21,46,.75) 60%, rgba(1,21,46,.45) 100%),
              url('assets/hero-bg.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding-top: 90px; position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.5);
  color: var(--secondary); padding: .4rem 1.1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; margin-bottom: 1.25rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content h1 em { color: var(--secondary); font-style: normal; }
.hero-content p { font-size: 1.05rem; opacity: .88; color: #fff; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-tel { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 1.25rem; }
.hero-tel a { color: var(--secondary); font-weight: 600; }

.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: 50%; width: 380px; height: 380px; object-fit: cover; border: 6px solid rgba(201,168,76,.4); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.hero-img-wrap::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px dashed rgba(201,168,76,.3); animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.stat-card { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 1rem 1.5rem; text-align: center; color: #fff; }
.stat-card .num { font-size: 1.8rem; font-weight: 700; color: var(--secondary); display: block; }
.stat-card .lbl { font-size: .75rem; opacity: .8; }

/* ── ABOUT ── */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 50%; width: 340px; height: 340px; object-fit: cover; border: 6px solid var(--secondary); }
.about-img::before { content: ''; position: absolute; top: -15px; left: -15px; right: 15px; bottom: 15px; border: 3px solid var(--primary); border-radius: 50%; opacity: .2; }
.about-content span { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--secondary); margin-bottom: .5rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .75rem; }
.about-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .93rem; }
.about-list li::before { content: '✓'; color: var(--secondary); font-weight: 700; margin-top: .1rem; flex-shrink: 0; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); position: relative;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(1,21,46,.18); }
.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(1,21,46,.95) 0%, rgba(1,21,46,.4) 60%, transparent 100%);
  color: #fff; padding: 1.5rem 1rem .75rem;
  font-weight: 600; font-size: .92rem; text-align: center;
}

/* ── PACKAGES ── */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.package-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); text-align: center;
}
.package-card:hover { transform: translateY(-6px); border-bottom: 3px solid var(--secondary); }
.package-card img { width: 100%; height: 160px; object-fit: cover; }
.package-body { padding: 1.5rem 1rem; }
.package-body h3 { color: var(--primary); margin-bottom: .5rem; font-size: 1rem; }
.package-body p  { font-size: .85rem; color: var(--muted); }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(1,21,46,.96) 0%, rgba(1,21,46,.80) 100%),
              url('assets/cta-bg.jpg') center/cover no-repeat;
  padding: 6rem 0; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p  { opacity: .88; margin-bottom: 2rem; font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ── PROCESSUS ── */
.processus-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.processus-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.step-item h4 { color: var(--primary); margin-bottom: .25rem; }
.step-item p  { font-size: .9rem; color: var(--muted); }
.processus-img img { border-radius: 50%; width: 340px; height: 340px; object-fit: cover; border: 6px solid var(--secondary); margin: 0 auto; }

/* ── DESTINATIONS ── */
.destinations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.destination-card { text-align: center; transition: var(--transition); }
.destination-card:hover { transform: translateY(-6px); }
.destination-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--secondary); margin: 0 auto 1.25rem; }
.destination-card h3 { color: var(--primary); font-size: 1rem; margin-bottom: .5rem; }
.destination-card p { font-size: .85rem; color: var(--muted); }

/* ── TEMOIGNAGES ── */
.temoignages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.temoignage-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.temoignage-card::before { content: '"'; font-size: 4rem; color: var(--secondary); font-family: var(--font-heading); line-height: .8; opacity: .3; display: block; margin-bottom: .5rem; }
.temoignage-text { font-style: italic; color: #444; margin-bottom: 1.5rem; font-size: .93rem; }
.temoignage-author { display: flex; align-items: center; gap: .75rem; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.temoignage-author strong { display: block; color: var(--primary); font-size: .9rem; }
.temoignage-author span   { font-size: .8rem; color: var(--muted); }
.stars { color: var(--secondary); font-size: .85rem; margin-bottom: .5rem; }

/* ── RDV SECTION ── */
#rendez-vous {
  background: linear-gradient(135deg, rgba(1,21,46,.96) 0%, rgba(1,21,46,.80) 100%),
              url('assets/rdv-bg.jpg') center/cover no-repeat;
  padding: 6rem 0;
}
.rdv-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.rdv-info h2 { color: #fff; margin-bottom: 1rem; }
.rdv-info p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.rdv-features { display: flex; flex-direction: column; gap: 1rem; }
.rdv-feature { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.08); border-radius: 10px; padding: .9rem 1.25rem; }
.rdv-feature .ico { font-size: 1.3rem; }
.rdv-feature span { color: rgba(255,255,255,.9); font-size: .9rem; }
.rdv-form { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.rdv-form h3 { color: var(--primary); margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--dark); margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .78rem 1rem; border-radius: 8px;
  border: 1.5px solid #E2E8F0; font-family: var(--font-main);
  font-size: .93rem; color: var(--dark); background: #FAFAFA; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(1,21,46,.08);
}
.form-group textarea { min-height: 100px; resize: vertical; }

/* ── CONTACT ── */
#contact-section {
  background: linear-gradient(135deg, rgba(1,21,46,.96) 0%, rgba(1,21,46,.80) 100%),
              url('assets/contact-bg.jpg') center/cover no-repeat;
  padding: 5rem 0; text-align: center; color: #fff;
}
#contact-section h2 { color: #fff; margin-bottom: 1rem; }
#contact-section p  { opacity: .85; margin-bottom: 3rem; max-width: 650px; margin-left: auto; margin-right: auto; font-size: 1rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-card { background: var(--secondary); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; color: #fff; }
.contact-card .ico { font-size: 2rem; margin-bottom: 1rem; display: block; }
.contact-card h4 { color: #fff; margin-bottom: .75rem; font-family: var(--font-main); font-size: 1rem; font-weight: 700; }
.contact-card p, .contact-card a { color: rgba(255,255,255,.9); font-size: .92rem; display: block; line-height: 1.8; }

/* ── FOOTER ── */
#site-footer { background: linear-gradient(135deg, #01152E 0%, #01152E 92%, #1B3A6B 100%); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 65px; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); }
.footer-col h4 { color: #fff; font-family: var(--font-main); font-weight: 600; margin-bottom: 1.25rem; font-size: .9rem; letter-spacing: .05em; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { font-size: .87rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; font-size: .83rem; }
.footer-bottom span { color: var(--secondary); }

/* ── SECTIONS communes ── */
section { padding: 5rem 0; }
.bg-light  { background: var(--light); }
.bg-pearl  { background: var(--pearl); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner, .about-wrapper, .processus-wrapper, .rdv-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-img-wrap, .processus-img { display: none; }
  .services-grid, .packages-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.5rem 2rem; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 1rem; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid, .contact-cards, .destinations-grid, .temoignages-grid { grid-template-columns: 1fr; }
  .services-grid, .packages-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; }
}
